-
Jet Pack movement
I'm trying to duplicate a JetPac game I was writing in another game creation package and I'm wondering the best way to create a jet pack movement. I'm trying the Spaceship Movement at the moment which is going quite well.
http://www.madladdesigns.co.uk/mmf2/spaceshipmove.png
But I'm stuck on when the player lands on a platform, I want the player to stop going down but be able to move left and right and also take off again. I've tried putting a 'stop when player collides with obstacle' but the player can't take off again. Any help would be appreciated (or even a sample mfa?) :)
If you want to know what the game will look like, here's the "other game maker" wip version: JetPac - Zip - 2.60mb: Keys are up/left & right and space to fire laser. Collect the Fuel and hover over the rocket, the fuel will automatically be dropped. wen all fuel is collected, the ship will flash, just collide with the ship for next level.
-
Re: Jet Pack movement
Just thinking quickly -- I think you will need to give the player multiple movements and switch to another movement when the player lands and switch back to jet pack when you want the player to take off.
-
Re: Jet Pack movement
I get you, but how do I let the player take off again?
-
Re: Jet Pack movement
I think I have it, here's the mfa for those who want a look: JetPac.mfa
-
Re: Jet Pack movement
Check the vector movements tutorials for the clickteam movement controller object, theres one called "lander", if i remember correctly it's what you're wanting.
-
Re: Jet Pack movement
Just a note:
Because of the way you have animated the flame, it is possible for the player to kind of lodge himself in the ground if he lands when the animation is smallest.
-
Re: Jet Pack movement
Thanks guys :)
@Nick: I know, i'm trying to find a way to have some sort of collision area around the player that doesn't include the flame, is there a way to do that?
-
Re: Jet Pack movement
Hi,
Here is away to hopefully help you with your problem.
I downloaded the Jetpack.mfa file but your background
did not let me see it. Because that graphic was not included
in with your file. Anyway here is your jetpack guy
with a different backdrop. I will tell you this when you run
it just let the guy drop. You will see what happens. I know
you can change the gravity. Let me know if this works.
Thanks,
Paul
P.S When you look at it, hopefully you will think that
this idea can make your game a little more interesting.
Here is the link... http://www.mediafire.com/?1ntknqtm2nk
-
Re: Jet Pack movement
Paul, the link is to a platform game.
-
Re: Jet Pack movement
For the flame problem, you could make it a separate object that stays with the original jetpack object. That way, you could turn off the flame when you hit the ground.