Research path finding and that game has some serious math functions in it.

A simple game is this one

http://andojung.com/game/copter/copter.swf

To make this just have on variable for speed

speed =10

an on mouse movement for control
this._y += speed.
a code for when the mouse is up and down use a true false statment and
hitest for the block easy by comparison.

a way to move the background
just make 4 movie clips then set a bg speed to move the background

make some blocks

then a random function which uses an array with a bunch or y coordinates to
call to place random block to avoid. In my opinion one of the purest flash
games i have seen.

You could make the motorbike game but you would have to understand

gravity code using math functions.

how to use puppeting  a way of coding in flash which can make a rag doll.

If this is your first game your being a bit ambitious.

I have made five games in flash now and am working on my sixth a scrolling
spaceshooter (depths are evil).

That game would not use hitest. It would have a math code similar to the
orball game i worked on. It would need some kind of path to tell it where to
go depending on a hit. The bikes wheels are where this information is used
by using Math.pi. Pie circle math crap. Most people would struggle to make
this game.

Research Ape (a flash physics engine) might help but you would not need all
the code

btw Apps are easy to create.
Games are evil in comparison.

some great links

www.gotoandplay.it
http://www.kirupa.com/
www.flashkit.com
http://proto.layer51.com/
goodbook
*Physics for Game Developers* (O'Reilly, 2002, ISBN 0-596-00006-5)

some shameless self promotion.

Good luck

www.garethgwyther.co.uk
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to