• Register

The Old World is a top-down 2D Sandbox RPG focused on a dynamic game-play as well as creating a rare interaction with the environment and AI inside the game. The World is randomly generated, allowing for a fresh new start of an adventure every time you choose to create a new character. With an ever-changing World where history is made every second of game-time. You're apart of creating that history, every choice you make will have an impact on the world, Whether it is a good or bad impact is your choice to make. Villages may arise from only a handful of people and may in time either grow and bloom into a larger settlement or crumble and fall. You have all the choices in the world and more, nothing is nothing pre-determined. Everything is yours to change if you so wish. The World is yours for the taking. No Limits, Pure Sandbox.

Post news RSS The Old World: Building a House & New Map System Inc.

Short video showing off one of the ways you can build a house, Time Dilation Field, Random Teleportation and also explain the new map system in detail.

Posted by on

Introduction

Heyo everyone! Not to be alarmed, we are not dead, heck, we're far from it!
We're all currently working hard on developing a wonderful Alpha version of the game.

I've also brought a small treat in form of a short video update!

Building a House Video

Here is a short video where I take you through 3 simple steps for creating a basic house & also talk a little bit about the map system and two small funny and enjoyable spells. Enjoy!


New Map System Explained

As I briefly brushed over in the video above, I am not completely happy with the current Map System inside the game.

To quickly explain it, imagine the current map system to be a sheet of paper, now the paper can either be indented or raised up, but there is no way of breaking through that paper. So essentially there is no way in TOW to dig tunnels and caves etc.

But fear not! I have a pretty neat design for the new map system that is already being implemented which will allow for all of these wonderful features.

For the nerdy

Essentially the Map Data in the new map system will be stored in a 2D Array std::list, which'll allow for quick insertion and removal of cells.
Side-Note: I put block inside quotation marks because it can whichever geometrical type possible, but just for sake of explanation I'll use the term block.

How this data will be structured is as follows:
Every "block" will have 2 values, a Height value and a TileID value.
Air "blocks" will not exist which saves memory.
Every "block" with a TileID value of 0 or above is a valid Tile.
Every "block" with a TileID value of -1 is used for Generation.

The (-1) Value "block" is used for generating a new valid "block". Upon this generation, if there is nothing below it will generate a new (-1) "block" under itself, However if there is already a "block" below, it will not.

By designing the map system in such a way that I've explained, you save A LOT of memory which would have otherwise been completely wasted if everything was pre-generated because most areas underground for example, will for the most part probably never be explored, therefore using memory which could be used for something else, or simply not be wasted.

Rough Calculations:
Rough worst-case scenario of memory usage:
3-4MB/Layer if all possible blocks in a layer is generated.
(((1024/3)^2)*8Tiles*4Bytes)/1024 ~= 3633KB
Rough Dig hole straight down for 500 layers:
(8Tiles*4Bytes*500Layers)/1024 ~= 15KB

Conclusion

Hope you lot enjoyed the video and my explanation of the map system!
I'm going to try to update more frequently with content in the upcoming weeks.

Cheers for all of the support so far!
Laters.

Comments
Roh
Roh

That character kind of reminds me of Stewie from family guy. It's a very good video showcasing some fairly exciting features but for some reason the thing that struck me most profoundly was... that this guy looks like Stewie from the family guy.

Reply Good karma Bad karma+2 votes
247defed
247defed

Nice to see that your still working, and can't wait to see those new spells in action.

Reply Good karma Bad karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Profile
Icon
The Old World
Platforms
Windows, Mac, Linux
Developer
Virtual Static
Engine
Custom
Contact
Send Message
Release date
Game watch
Follow
News
Tags
Trailer
Browse
News
New
Post news
Share
Related Games
The Old World
The Old World Role Playing
Related Groups
Virtual Static
Virtual Static Developer