PDA

View Full Version : Platform game tutorial



mitchopage
June 19th, 2006, 02:27 AM
Hi, i have been following the platform game tutorial here (http://www.kirupa.com/developer/mx2004/platform_game.htm) to make a simple platform game (which i have attached the swf)

the game still needs alot of work, but there are some problems i was wondering if anyone has solved. the game basically uses hit detection with the ground (ground_mc).

the ground is one long mc, and i wanted to put in moving platforms. i have put a horizontal and vertical moving platform in the mc. these dont work though. the character doesnt move with either.

has anyone solved this problem? let me know if you need any more info from me?

thanks

Lewwy
June 19th, 2006, 05:46 AM
Nice game.. I want to take this tutorial now, couldnt get past the horizontal moving platform though :(

mitchopage
June 19th, 2006, 08:42 AM
yes thats the problem, u have to walk with the moving platform right now

the game works by moving everything in the movie based on the left / right movements of the character. so somehow it needs to detect when the character is on the moving platform and move the background and character with the movements of the platform. i dont know how to do this but.