Sprite conditional movement

0 favourites
  • 3 posts
From the Asset Store
2d mushroom sprite 2d game character enmy sprite game art
  • Hi,

    I am strugling with sprite movement.

    In the game I am doing will have images you should corespond to the right spot.

    The first thing I am trying to set is the movement of the sprite and colision detection.

    The problem is that I will have several images and I would like the sprite to follow the mouse only when it is left clicked. It should stop following the mouse if left clicked (if clicked in a target it will be destroyed and the target replaced with another version containing that image. if clicked outside the target the sprite should go to the original position).

    I have read this:

    construct.net/en

    And it seems this can be done with Conditional tracking, however, unfortunatelly the tutorial does not explain how to do this.

    I would appreciate your help with since. I am just starting to use construct...

    This is my project, hope it helps to understand what I am trying to do:

    dl.dropbox.com/u/35133211/testes.capx

    Thanks

    Fil

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • maybe the RPG-Inventory Tutorial could be helpful hence it covers DragnDrop as well

  • Hi Weishaupt, thanks for directing me to that tutorial.

    Haven't read it all yet, but looking at the demo it seems to do exactly what I wanted. Just downloaded de capx, so i'll try to figure out from there how that's done.

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