Bubbles (duplicateSprite)

 

The purpose is to show bubbles rising up randomly.
It's only ActionScript. You couldn't test in SwishMax only in dans FlashPlayer and in a browser ( Export / SWF+HTML )
I suppose you know well how to create objects, thus I wont insist on.

⇒ animation ⇐

Download background image. 

Creating Objects

1 - Set up movie size 640x433 and background color #000072.
Frame Rate 50 fps or whatever.

2 - Insert image..

3 - Insert an empty sprite. Name it bulle0.(important) Target toggled

Scripts

In Outline, select scene, get in Expert Mode. Enter the following script :

In Outline, select sprite bulle0. Enter the following script :

Voilà, it's over.
Test and modify parameters carefully.

Note : Don't put any preloader 'cause behaviour 'll change.

 


Page chargée en 0.013 sec.

Dernière Modification : Lun 13 Janvier 2025 14:22
Copyright © 1999-2025 Jean-Paul Molina Tous droits réservés.

 

to Google