Free Interpolate Grid movement Template (to replace 'move to')

jsorr2jsorr2 Member Posts: 279
edited December 2014 in Working with GS (Mac)

I whipped up an interpolate template for my project and decided to post it here as well because it was a bit annoying to figure out, even though it looks simple.

The template mimics the Move-to behaviour, except it will never become bugged. It also bypasses the interpolate annoyance where if you do 2 interpolates too quickly the actor teleports to the position.

So If you need to move an actor on a grid by holding down a key, this will interpolate an actor +32 pixels continuously and fluidly until you let go of the key.

http://www.mediafire.com/download/cxsexp3s47etc6a/Interpolate.zip

Green actor is interpolate template. Light blue actor is move-to. Dark blue is change attribute.

Comments

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    @jsorr2 -- interesting! Does this replace your slightly more complicated smooth grid movement solution from a couple of weeks ago?

    Thanks for sharing this with the community.

  • jsorr2jsorr2 Member Posts: 279

    @RThurman‌ yeah it does, the problem with that logic was it made the actor look like it was sliding, aswell as if the leading actor did a circle the main following actor would go diagonal.

  • BrackAttackBrackAttack Member Posts: 22

    Moving in the Y axis, I'm seeing it jump; it isn't smooth anymore. What am I doing wrong?

Sign In or Register to comment.