JimmyS's Forum Posts

  • 5 posts
  • Coming back to my original issue, I can't get the enemy to attach to a specific imagepoint on the player. I am using set position on every tick to the imagepoint X, Y co-ordinates, but this doesn't seem to work. Any suggestions?

  • Thanks! Need to use the same key for toggling the pin behaviour so have added an if/else to set a boolean,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK, leaving aside the image point, I'm still finding that the enemy won't pin to the player. I'm disabling the enemy bullet behavior before pinning to the player, but the enemy sprite won't stop moving. So I think there is something wrong with my event/function call.

  • After pinning the enemy to the player I'm trying to position the enemy sprite on the HOSTAGE image point which is the name of an image point on the player default animation (only has one frame).

  • In my top down game I am trying get enemies to be pinned to the player at a specific image point, when an enemy is overlapping the player boundary box and a key is pressed. Using an instance variable, pressing the same key will unpin the enemy from the player.

    Not sure what I am doing wrong. Example in the capx below:

    [attachment=0:ufrh3rmr][/attachment:ufrh3rmr]

  • 5 posts