Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Problem in game |
From: | David Wallach |
Date: | Fri, 20 Oct 2000 14:12:49 +0100 |
Savio,
you could control the movement of the clips with a controler clip that moves
them by a preset number of pixels every time it loops. If you make the
preset a variable, say vX or vY, you could dynamicly change the rate of
movement by changing the value of vx/vy. ie:
//for a button action
on (release){
speedControl.vY = speedControl.vX + 2;
speedControl.vY = speedControl.vX + 2;
}
or on a particular key action, or whatever...
does this help at all?
let me know if I can help more.
dave
I'm developing a game in Flash 5.
The player controls a little boat in a river. Some obstacles are crossing
this river in vertical and diagonal routes, from top to bottom. Each of
these obstacles is a movie clip with 5 "pre-traced" routes in 5 diferent
labels. In the first frame I'm using a random function to send this MC to
any route.
What I want to do is: give to the player a control to speed up the
obstacles. Is there any way, for example, to make this movie clip move in
steps of 2 frames instead of 1?
Any other great idea?
TIA,
Savio Ponte
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: Problem in game, David Wallach
Re: FLASH: Problem in game, Savio Ponte
Replies
FLASH: Problem in game, Savio Ponte
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]