Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Problem in game |
From: | Savio Ponte |
Date: | Fri, 20 Oct 2000 14:35:14 +0100 |
Hi, David
Your solution would be great if the movement of the obstacles were defined
by these loops incrementing _x and _y, but they are predefined tweenings
(about 5 in each MC) sorted by a random action.
I don't have other idea about how create random movements in other way. I
know it is possible to use duplicate MC and set the angles of the movements
as variables and increase _x and _y, but I don't know exactly how to do
this. My idea is speed up the timeline of this MC, if possible.
Thanks
Savio Ponte
> 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:
>
> file://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
Replies
Re: FLASH: Problem in game, David Wallach
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]