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
Audio Xtra
cXtraStringGrid
JTMR Yo Style Writer
simPPTEdit 1.0 Xtra
QuickTime Notes
Set PlayBackMode Property of a Animated Gif Sprite
DM ChangeRes
XCursor xtra
Stop all the sounds
Wait for cuePoint behavior
 

 

 

Behavior Blur Range/Pendulum-Alphamania

Added on 6/10/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

This item has not yet been rated

Author: MediaLab (website)

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

property sNum
property mode -- range or pendulum
property numFrames
property startBlur, endBlur
property blurResolution

on getBehaviorDescription me
  return "Allows you to set the sprite to have a blur effect animation."
end

on getPropertyDescriptionList me
  set list = [:]
  addProp list, #mode, [#comment: "Mode:", #format: #symbol, #range: [#range, #pendulum], #default: #range]
  addProp list, #numFrames, [#comment: "Number of Frames:", #format: #integer, #default: 15]
  addProp list, #startBlur, [#comment: "Start Blur:", #format: #integer, #default: 1, #range: [#max: 10, #min:0]]
  addProp list, #endBlur, [#comment: "End Blur:", #format: #integer, #default: 1, #range: [#max: 10, #min:0]]
  addProp list, #blurResolution, [#comment: "Blur Resolution:", #format: #integer, #default: 1, #range: [#max: 5, #min:1]]
  return list
end

on beginSprite me
  set sNum = the spriteNum of me
  blur(sprite sNum, [#animMode: mode, #numFrames: numFrames, #startBlur: startBlur, #endBlur: endBlur, #blurResolution: blurResolution])
end

 


Contact

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

Send e-mail