Original Post
I have a side scroller 2D game (much like super mario world on the SNES). I need a reliable way to detect collision with the ground and wall. My level is made up of 32x32 tiles. Some tiles represent the "air", and some represent different angles and shapes of the surface. However, all surfaces and walls are orthogonal, none are at 45 degrees or anything weird like that. They're either horizontal or vertical. Nothing else. My sprites, however, may be *any* size. I want a method that is clean to code and is very fast. I would like to know how the collision was done in Super Mario World. It seems rather nice. Thanks for any replies!