Forum
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.
TimeQuesT's method.
Pseudon has writtenSince 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 08:10:13 pm
TimeQuesT: here is one of the problems I was thinking, what if there are 2 players, one above the other one, who will get shot and why? And what if a floor 1 player attacks a floor 2 player, would mostly look horrible... Old teleporting way is the best...
1

Offline
