PDA

View Full Version : top down plane games



corbanb
January 25th, 2009, 04:55 PM
hey guys! I'm trying to build a simplified version of
http://www.miniclip.com/games/skies-of-war/en/. Mostly looking to
replicated the movement. But I have no ideas on where to start. I'm
having alot of trouble setting the angles correctly to give the
background a constant speed but allowing it to change angles. I
understand its going to be based on the planes current angle. But
that's where I get confused on getting the speeds to not over lap and
making it seem like it moving faster. Ok I'm rambling now. but I was
hoping someone might be able to help me understand this better and
give me some examples I could use to get moving. Any help would be
great! thanks!

pradvan
January 26th, 2009, 10:15 AM
That's a really nice game. I like the controls, pretty original i guess. And you are right, it is nice and smooth.

You can use the enemy ai script below to simulate that sort of movement:
http://www.freeactionscript.com/2008/10/game-enemy-ai-follow-player/
I this example think of the enemy as the plane, and the player as the mouse.

And yes, this is a shameless plug but i believe it answers exactly what you asked ;)

corbanb
January 26th, 2009, 10:33 AM
@pradvan thanks SO much! this is a great start to what I am looking to do! I'm sure its going to take a bit more work to get it to where I need it but its a start! Thanks! I'm going to jump on this asap. I'm sure I will have a couple of question! Thanks again!

pradvan
January 26th, 2009, 11:15 AM
:?)