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.

 


Si vous aimez le site

 

Select a language if you need :


Page chargée en 0.004 sec.

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

to Google