How to animate player back to start position?

0 favourites
  • 5 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Greetings Forum Folks,

    New to Scirra forums and trying to figure out some stuff.

    I have a Player that is activated by touch. I hit an Enemy and the Player will dash to the Enemy to destroy it using the bullet behavior.

    Now the question: I would like to have the Player move and animate back to the starting point. How would you folks attempt this? I don't want it to snap back.

    I've experimented with a platform behavior to "slide" back to the origin point but wondering what the Scirra collective thinks.

    Thoughts?

    Tried to post storyboards, but having weird problems, hope they got through after I post:

    Storyboard 1:

    <img src="http://www.flickr/photos/95837745@N08/8741044135/" border="0" />

    Storyboard 2:

    <img src="http://www.flickr/photos/95837745@N08/8741044113/" border="0" />

    Storyboard 3:

    <img src="http://www.flickr/photos/95837745@N08/8742160622/" border="0" />

    Storyboard 4:

    <img src="http://www.flickr/photos/95837745@N08/8742160600/" border="0" />

    Storyboard 5:

    <img src="http://www.flickr/photos/95837745@N08/8742160580/" border="0" />

  • I see a bunch of red "x" markers for my images. I tried to insert image in the forum editor and this is the result... Anyone want to steer me in the right direction I'm all ears.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Using your existing bullet behavior have your player "set angle to position", that being your start position...

    on enemy destroyed>....player set angle to position x,y

    It's good practice to keep possibly conflicting behaviors to a minimum when possible...

  • Hi Pixel Pefick,

    Understood, I'll give that a try.

  • Pixel Perfick,

    Updating you - The bullet behavior works much better. Thanks a lot for the suggestion.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)