Actionscript 3.0 platformer game
Posted
by
Jez
on Stack Overflow
See other posts from Stack Overflow
or by Jez
Published on 2014-06-02T00:11:40Z
Indexed on
2014/06/02
21:27 UTC
Read the original article
Hit count: 197
actionscript-3
|flash
I have an flash game with the following code (http://pastie.org/9248528)
When I run it, the player just falls and doesn't stop when he hits a platform. I tried debugging it and I had an error with moveCharacter's timer, but I don't know if that is the main problem.
I put the player inside the wall and debugged it using breakpoints and it didn't detect that the player was inside the wall, skipping moving it to outside of the wall.
If anyone has any ideas on what is wrong with my code then that would be great thanks!
© Stack Overflow or respective owner