Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Fuel
Cross-platform scripting differences: Sorted Lists
Macromedia Director Game Development: From Concept to Creation
Simple Distance Blend
Dialogs - Tell Me Something
Open Recordset
DM ChangeRes
Diffusion Effect - Imaging Lingo
Returns Rect of visible PDF doc within an Impressario sprite
NJC - Space Invaders
MediaMacros Xtras Mall
 

 

 

Behavior Scale-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

-- Drag to any alphamania sprite to make it scale to the size of the sprite box.

property pInterp

on getPropertyDescriptionList
  if not alphamaniacCheck(the currentSpriteNum) then exit  
  set pList=[:]
  addProp pList,#pInterp,[format:#symbol,comment:"Interpolation:", Default:#On, range:[#Off,#On,#Paused]]  
  return pList
end

on beginSprite me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
  set pInterp=interpolation(pInterp)  
  scale(sprite s,[interpolation:pInterp])
end

on getBehaviorDescription me
  set msg= "Make your Alphamania member scale to the size of it"s sprite box."
  put return & return after msg
  put "Parameters:" & return & "-----------" & return  after msg
  put "*  Interpolation : On,Off,or While Paused" after msg
  put return & "-----------" & return & return  & ">>>" && amTip()  after msg
  return msg
end  

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail