Spots which go on successively

 

The goal is to show how to get a 3D moving effect over an elliptical path, using a script.
We 'll use DuplicateSprite.

⇒ animation ⇐

We gonna describe the different stages right away.

Creating Objects

1 - Set up movie size 640x480 (background color #000066).
Frame Rate : 50.
Be sure in Export, Mask off-stage objects is toggled.

2 - Create a circle : X=0 Y=0 W=1 H=1, anchor point : Center, white background and line.

3 - Convert to Sprite. Name it dot, Target toggled.

Script

In Outline, select Scene_1. Enter the following script :

You could adapt speed effect changing movie fps or/and changing the frame to modify transparency.
(Here, I took frame 5)

 


Si vous aimez le site

 

Select a language if you need :


Page chargée en 0.003 sec.

Dernière Modification : Mer 25 Janvier 2017 8:56
Copyright © 1999-2017 Jean-Paul Molina Tous droits réservés.

to Google