Recent posts by Coopasetic on Kongregate

Flag Post

Topic: Game Programming / Looking for Feedback and Help with AS2 Collision

I’m relatively new to programming in AS2 and I’m looking for some help with platforming collision.

Here’s the game I’m working on:

Since I’m using AS2 my collision code looks like this:

while (_root.platform0.hitTest(_x, _y, true))
	jumping = false;

Is there a way that I can check the left side of the buildings seperately from the top to make better platforming?

Also if you have any other thoughts or feedback on the game so far, I’d love to hear them! Thanks for the help, I really appreciate it!