Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : doing a game


marcelozep
4/8/2004 9:06:57 PM
Hello people, im doing a ski game , here it is
www.plan-play.com.br/marcelo/files/ski/
I need to do the follow thing:
Little flags in pairs have to appear in the stage for the dog to pass through,
and some holes and plants.
But, the holes cant appear inside the path made it by the flags. The path made
it by the flags its clear, so the dog must go through the flags to not hits the
holes and plants.
All must be random, random places for the holes and plants and flags.
and this go on and on. Like the dog runing in the ice mountain
How do I start?????
jesus i know its complicated

marcelozep

ShadowKnyte
4/13/2004 5:26:53 AM
Lookup in the actionscript help file the following...

[b]Generate Random Number[/b] - use to determine what comes next ie a flag,
hole, obstacle... etc...

[b]Duplicate Movieclip[/b] - use to create a new movieclip instance of the
object determined by the random number

[b]Remove Movieclip[/b] - to remove a movieclip once it leaves the stage (to
make performance unaffected over the duration of your game)
AddThis Social Bookmark Button