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