yet another collision problem...

Advanced game related topics
ChebbyShabby
Enthusiast
Enthusiast
Posts: 121
Joined: Mon Jun 26, 2006 10:47 am

yet another collision problem...

Post by ChebbyShabby »

so far this code can load levels and move a sprite horizontally and make it jump vertically. however, everytime the player collides with the platform in any other side other than the top of it, the player moves right on top of every other sprite; i know this is due to continuously positioning the player on top of every platform, but can anyone provide a quick solution for this?

here's my code: http://www.MailFreeOnline.com/uploader/E7F55D5D.zip