Forum
CS2D General how to make a different floor and stairs ?how to make a different floor and stairs ?
6 replies 1
I just checked from which side the player entered a tile ( move). Then sending him back ( setpos | Track last position inside a variable). Optionally you can simulate the height difference by using image.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Also with lua it's pain in the ass and just ugly.
Pseudon has written
Since is 2D itspretty much impossible even with lua, isn't it?
Well. DC could make a layering system (which is pretty much efford since the game was actually not designed for it)
Just an array of maps. that will be rendered on each other. Stepping on a tile could move the player towards the next map in the layer list. 'View-Depth' can be done by adding shading with images.
There're even more methods doing this with lua, but I can ensure you that it will be much work and always looks ugly.
edited 1×, last 12.12.14 09:10:13 pm
1