Hi,
I was wondering on how to create a 2.5D side-scroller like Castle Crashers or the Double Dragon series. I already got a good book on general 2d side-scrolling action using XNA. Now my naive approach would be to allow the character to go up and then scale him down a bit to give the impression that he is moving closer to the background. This would save me from having a real 3d coordinate system since I can still store the characters position in a vector2.
the only problem I don't know how to solve, is the collision detection. This implementation where the character can only move from left to right uses a ledge system. Basically you draw ground collision as seen on the image. Now this works great, but it would not allow for my approach where the characters Y-position is changed when moving closer to the background.
I couldn't find any information about this stuff on the internet nor could I find books that cover this topic. So can someone please point me in the right direction?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement