Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Linear and Property List AND String functions
RoboDemo Review
RGB to HSV, HSV to RGB
AutoSave
Director in Other Programs
Get Crazy
Tool Tips/Help popUp box ver 2.1
Multiple-timer facility
LineHiLiter
StreamStatus Indicator Bar
 

 

 

Behavior Color Cycle-Alphamania

Added on 6/10/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

This item has not yet been rated

Author: MediaLab (website)

These behaviors are for use with the Alphamania Xtra and its add-on effector sets. Requires Effector Set 1 Behavior Support Scripts.

Property pSpeed

on getPropertyDescriptionList
  if not alphamaniacCheck(the currentSpriteNum) then exit
  
  set pList=[:]
  addProp pList,#pSpeed,[format:#integer,comment:"Frame rate:",Default:30,range:[min:1,max:60]]
  return pList
end

on beginSprite me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
  hsb(sprite s,[animMode:#Infinite,numFrames:pSpeed])
end

on getBehaviorDescription me
  set msg= "Color Cycle the hue on any AlphaMania sprite!"
  put return & return after msg
  put "Parameters:" & return & "-----------" & return  after msg
  put "* Frame Rate:  Lower numbers animate faster"  after msg
  put return & "-----------" & return & return  & ">>>" && amTip()  after msg
  return msg
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail