181
General / c++ Looking for idea how to make a map/multy layer difficult
« on: July 14, 2013, 03:21:24 pm »
Hello. (c++ sfml)
Why em i making this post?
Well the reason is, i wanna talk to my fellow "everyone" about and how to do the following thing:
2D tile based map that needs a few things:
Need to generate it at random
It needs to hold a info what type each tile is (because of gathering, mining, digging)
Should be able to stream it (during runtime save peaces of map that are far from user and open the ones hes gonna cross up to (if nothing to load, generate)
A height (aiming about to 0(bottom) to 3-10(top) height of land from bottom to far top)
Able to manipulate the terrain ( Because of digging, mining...)
If you are willing, think about it and gimme a helping hand if you had experience in doing this.
I am gonna probably make a tutorial with what i end up.
What i am gonna do first.
Think off what the base for a map needs to be in code
How i am gonna save it (format)
Then
Get to display/draw it in code
Get to generate most simple of map
Then
Manipulating the terrain
Streaming during runtime
Then
Improve!
Why em i making this post?
Well the reason is, i wanna talk to my fellow "everyone" about and how to do the following thing:
2D tile based map that needs a few things:
Need to generate it at random
It needs to hold a info what type each tile is (because of gathering, mining, digging)
Should be able to stream it (during runtime save peaces of map that are far from user and open the ones hes gonna cross up to (if nothing to load, generate)
A height (aiming about to 0(bottom) to 3-10(top) height of land from bottom to far top)
Able to manipulate the terrain ( Because of digging, mining...)
If you are willing, think about it and gimme a helping hand if you had experience in doing this.
I am gonna probably make a tutorial with what i end up.
What i am gonna do first.
Think off what the base for a map needs to be in code
How i am gonna save it (format)
Then
Get to display/draw it in code
Get to generate most simple of map
Then
Manipulating the terrain
Streaming during runtime
Then
Improve!