Shrinking actors and AI

Tacophobia

  • Posts: 8
Is there a way for me to shrink down the actors of my game without redoing all the animations?
Another thing, is it possible to have an enemy "chase" the player through the level?
Thank you in advance,
Taco

Abigayl

  • Posts: 807
In the actor behavior, in the palette, select Actors -> Tweening. There is a scale tween that you can use to shrink (use under 100%) the actors. For the chasing, you can use the arctan2 coding. You can see a demo of it in my fourth tutorial: http://www.kongregate.com/games/Abigayl/stencyl-tutorial-4-mouse-based-shooting

(Just change the x of mouse and y of mouse to the x/y of the actor, will likely need to use game number attributes to do that).
If you need help, please check my tutorials either here or Kongregate (http://www.kongregate.com/accounts/Abigayl) or come over to my stream: http://www.livestream.com/poweredbyflowers

Tacophobia

  • Posts: 8
Thank you so much! It worked perfectly!