Shariku's Forum Posts

  • 5 posts
  • Ah, didn't realise that Var_ImagePoint directly controlled the Image Points of a sprite. I understand now.

    That's perfect. Thank you.

  • Thanks Korbaach. That's kind of what i had, but how is the instance variable determining the spawn object's location? I'd like the spawned object to spawn along the x axis of the enemy but the instance at various distances. So far all instance variables seem to spawn the object at either each of the cardinal points or in the centre.

  • Is it possible to have an image point for an object that's dependent on instance variables? I'm trying to create an enemy that spawns an object (a bomb), but i want the object to spawn a relative distance away from the enemy (so the same type of enemy will teleport bombs around the player based on its colour).

    I've set the enemy object with its instance variable. In the event sheet I've set the enemy object to spawn the bomb object but i can't see what to set as the Imagepoint. I was hoping to do something like Imagepoint = enemy + enemy.spawnedObjectX but i can't seem to get anything working.

    I'm not sure if that's the way to go about it since there seems to be no way to take into account positioning. Can anyone help at all?

    Thanks in advance.

  • Hi mystazsea,

    Thanks for that. Had WASD controls set separately so i didn't even notice.

    I've sorted the image issue out separately, so all good there too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm currently playing around with a stealth platformer system and I've come up with an annoyance where the images for all the enemy sprites appear to be dependent on a single on screen enemy's actions rather than each specific enemy.

    I've currently got it set that if an enemy faces left, then its image and its line of sight should also face left and if it turns around, the image and its line of sight should be mirrored. The line of sight image works fine, but even though it follows the same function all enemy images only mirror based on a one enemy's actions and don't follow their own instance (meaning it looks like some enemies are walking backwards).

    Not sure what I've missed. Any advice would be appreciated (game attached).

  • 5 posts