ActiveDen

Randomized Shark Silhouettes

Just when you thought it was safe to dive into those murky ocean waters…

This is a drag-and-drop-able silhouette movie clip of graceful-but-deadly, all-vector sharks. Placement, size, speed, distance, and tilt are all customizable via ActionScript and are totally random and unscripted for a very unique and organic feel. Includes a nice animated water background and a rollover bubble effect to boot!

Features
  • AS2 , Flash 8 and above
  • Drag ‘n’ drop
  • Multiple settings controlled via ActionScript
  • Totally random, organic actions
  • All vector sharks
  • Includes mouse rollover bubbles
  • Includes optional water background
  • Only 6kb without the included background

Settings:

  • sharkNum: Number of sharks.
  • sharkSpeed: High number = faster swimming.
  • sharkDelay: Max millisecond delay before a shark respawns once it has swam off screen.
  • sharkCloseColor: The color of the closest shark. Typically, you would make this close to black with a hint of main color.
  • sharkFarColor: The color of the farthest shark. Typically this would match the background color to simulate murky water.
  • startEmpty: Whether to start off empty and sharks swim in, or have sharks already on screen swimming when the movie loads.
  • bigShark: Higher numbers = bigger maximum shark size.
  • lilShark: Lower numbers = smallest minimum shark size.
  • stageWidth: Use Stage.width or hard code a width in pixels
  • stageHeight: Use Stage.height or hard code a height in pixels
  • sharkLevel: Default start load level. (optional)

The sharks are all vector and will scale nicely to whatever size you like. This file contains a nice animated water background that you can use if you like, but it is not required for the shark functionality.

You must sign in or sign up to purchase this item.

$4Regular Licence

$4

Regular Licence a website (commercial, personal, client), free game, e-card, or presentation - Details

83 Purchases 17 Comments

Buyer Rating
12345 ( 12 ratings )
jonathanarnold

jonathanarnold

  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • United States
  • Referred between 10 and 49 users
View Portfolio
Created 20 November 09
ActionScript Version AS2
Documentation Well Documented
Opens With Flash 8 (8+)
Published Size 25kb
Resolution Resizable
by
by
by
by
by