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
Asteroids Game
Media Make & Go
AX Icons
Complete Idiots Guide to Macromedia Flash 5
Making a simple game
Hold on a frame till sound finishes playing
ADisplay
FreePPP Control
Window Xtra
Vector Shape - Rounded Rectangle
 

 

 

Behavior Face Mouse-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 pOffset

on getPropertyDescriptionList
  if not alphamaniacCheck(the currentSpriteNum) then exit
  
  set pList=[:]
  addProp pList,#pOffset,[format:#integer,comment:"Offset Angle:", Default:0,range:[min:0,max:360]]
  return pList
end

on beginSprite me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
    rotate(sprite s,[animMode:#RelativeToPoint,relativeTo:point(the mouseH,the mouseV)])
end

on exitFrame me
  set s=the spriteNum of me
  if not alphaManiac(s) then exit
  
  rotate(sprite s,[animMode:#RelativeToPoint,relativeTo:point(the mouseH,the mouseV)])
end

 


Contact

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

Send e-mail