tText = "[Sprite] 3D stars behaviour." & RETURN & RETURN
tText = tText & "Drop this behaviour on a group of sprites to have them act like a 3D star field." & RETURN
tText = tText & "Switching off clipping to stage will result in much less visible stars overall, but will allow stars to be scrolled off the screen and back on again." & RETURN & RETURN
tText = tText & "Properties -" & RETURN
tText = tText & "pSpeed" & TAB & TAB & TAB & "= Speed of star zooming out of the screen (1: slow, 100: fast)." & RETURN
tText = tText & "pStarSize" & TAB & TAB & TAB & "= Relative star size (1: smallest, 10: largest)." & RETURN
tText = tText & "pRandomiseStarSize" & TAB & "= Whether star size is randomised between 1 and value set for pStarSize" & RETURN
tText = tText & "pMouseMove" & TAB & TAB & "= Whether to use mouse position to steer star direction." & RETURN
tText = tText & "pMouseSpeed" & TAB & TAB & "= How much the mouse steers the star (1: Barely, 100: lots)." & RETURN
tText = tText & "pClipToStage" & TAB & TAB & "= Whether to clip the star when it is outside the stage." & RETURN & RETURN
tText = tText & "Internal handlers -" & RETURN
tText = tText & "mReset()" & TAB & TAB & TAB & "= Resets the star to far away and randomises position and size (according to properties set).." & RETURN
tText = tText & "mMove( tDX, tDY )" & TAB & TAB & "= Moves the star left/right and up/down according to the passed parameters." & RETURN & RETURN
tText = tText & "Written by Barry Swan (gerbil@theburrow.co.uk)."
return tText
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA