Hello everybody,
I am working on a platformer without jumping… however. I want to go to different floors using stairs like in a house. How would you manage this.
At the moment I got a StairContainer with an ArrayList and checking if the up/down button is pressed. A stair is more or less a rectangle. So I check an intersection. This is semi-cool, because I need to position the rectangle very precisely. Going up is just y -= 0.2f * delta; plus x += 0.2f * delta;
I dont really like this method ,because it has lot of lacks, and might look very strange.
I would appreciate any help. Thanks in advance.
cheers, Kronos