A real time, randomly generated, ActionScript animation of water bubbles.
The bubbles are vector graphics, so you can resize them.
[AS3 – swf: Flash player 9 – fla: Flash CS3 ]
- Easy to change parameters (see below)
- Drag and drop… easy to integrate in your own project, or to use as it is! ...all code inside an external class and a library movieclip
- Easy to change bubbles graphic, backgrounds… powerful customization through the parameters!
- Clean code and well documented (demo included)
- Improved graphic and animated bubbles
- Bubbles are created from a generator movieclip, that you can duplicate and move
- INTERACTIVE ! (try pop some bubbles… )
- 3 different movement modes (classic, spread and inline)
- Integration of different blend modes
- Horizontal flow (wind) effect
- Easy runtime changes to the bubbles
var MOVEMENT_MODE = 0; var INTERACTIVE = true; var MAX_BUBBLES = 20; var SPREAD = -1; var MAX_DISTANCE_FROM_GENERATOR = -1; var INTERVAL_CREATION_SEC = 0.4; var BLEND_MODE = "normal"; var SPEED_MAX = 7; var HORIZONTAL_FLOW = 0; var SCALE_MIN = 0.3; var SCALE_MAX = 1.3; var OSCILLATION_MAX_SPEED = 30; var OSCILLATION_AMOUNT = 1.5; var ALPHA_MIN = 0.2; var ALPHA_MAX = 1.0; var FADE_TOP_MARGIN = 50; var FADE_BOTTOM_MARGIN = 50; var FOCUS_EFFECT = true;
Please rate this file if you liked it or found it useful!
Before giving a bad valutation please contact me.. if you have problems with this software we can sort them out.
For an AS2 version of this animation please check WATER BUBBLES V1