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.


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)


Page chargée en 0.001 sec.

Dernière Modification : Jeu 7 Septembre 2023 10:26
Copyright © 1999-2023 Jean-Paul Molina Tous droits réservés.


to Google