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
createSpecList
myScreenSaver
TaskXtra
LiveCD
WinShaper
AppSafe Xtra for Authorware and Director
cXtraVideoCapture
Fake Drag Bar - Stage
Field Entry Dialog Box
Set CommonPlayer properties for Director 2004
 

 

 

Behavior Mosaic-Alphamania

Added on 6/10/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

Required Xtras:
Alphamania
Effector Set I for Alphamania

This item has not yet been rated

Author: MediaLab (website)

Requires Effector Set 1 Behavior Support Scripts

Property pXSize,pYSize

on getPropertyDescriptionList
   if not alphamaniacCheck(the currentSpriteNum) then exit
  
set pList=[:]
  addProp pList,#pXSize,[format:#integer,comment:"Box Height:",Default:3,range:[min:1,max:20]]
  addProp pList,#pYSize,[format:#integer,comment:"Box Width:",Default:3,range:[min:1,max:20]]
  return pList
end

on beginSprite me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
    mosaic(sprite s,[XRes:pXSize,YRes:pYSize])
end

on getBehaviorDescription me
  set msg= "Add a mosaic effect to your AlphaMania sprite."
  put return & return after msg
  put "Parameters:" & return & "-----------" & return  after msg
  put "*  Box Height: 1 to 20" & return after msg
  put "*  Box Width:  1 to 20" 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