Definitely not a bad start at all. Congrats.
I have made a few of these platform games before. How are you doing with getting the hitTests to work with enterFrame scripts?
What are you using to test whether to enable the jump movement or not? Is it an invisible zone just above the platform?
I'd be interested to know how you did that.
A work around for the hitTests for me, was the use of setInterval();
I made all my hitTest commands into functions and then used the setInterval to run them rapidly. It works better than enterFrame scripts, because otherwise, if a play is moving too quickly, he/she will fall straight through a platform!
Remember to use the UpdateAfterEvent() command at the end of the hitTest() functions, so you can take advantage of multiple hitTests per frame.
It works a treat.
Good luck with it.
__________________
Cheers,
Simon.
|