How do I make a a selected sprite move with the enemy

0 favourites
  • 2 posts
From the Asset Store
A set of retro 16-Bit Neon UI elements to make your menus pop!
  • I am trying to figure out how to have a selection graphic constantly move with the last clicked object, but then switch to the object selected next? My trouble is in that if I want the selected graphic to move with a clicked object, it is set to constantly move with that object, and that is what makes it unable to move to another object if you click another object. Here is my .capx where it's suppose to move with enemy graphics, how should I adjust this? Also, I'm going to want the player to be able to click anywhere on the screen that isn't an object or its collision box and remove the selected graphic all together as it would in a game like Dragonage Origns or World of Warcraft.

    http://www.filedropper.com/shipgameearlydraft

    These are the events related to what I'm trying to do

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try giving the targeting reticule the pin behavior and pinning it the the clicked enemy. If you pin it instead of setting it to follow a specific enemy, it should follow more precisely.

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