WixeyWinsock's Forum Posts

  • If a sprite (for example) turns blue after being hit by a bullet, how would I get other sprites of the same type to also turn blue on contact with the sprite that first turned blue? I've tried setting instance variables but haven't had any success.

  • Thank again, plinkie.

    I should have been more specific in the previous post - I meant to ask how to make the critter sprites face either left or right, depending on which direction they're moving in.

  • Many thanks, plinkie.

    Could I just ask how to get the critter sprites to always face the right way up when moving 360 degrees? The sprites face right by default but occasionally they flip upside down when they change direction.

  • Hi plinkie,

    I must be doing something wrong with the timer setting, I've tried this but the critters won't move after overlapping the sprite:

  • Thanks plinkie,

    It's working much better now. The only issue is that when the critters overlap the invisible sprite and the bullet behaviour is disabled, it stays disabled (the critters were on a timer so that they moved randomly every 5 - 8 seconds); how do I get them to move again?

  • Hi,

    I'm trying to make a setup where the main character "calls" a small group of sprites towards it when touched. I'm sure this isn't the most efficient way, but so far I have:

    The idea was that any sprite caught in the bubble's radius would move towards the main character, then stop moving. However sometimes the sprites seem to randomly move away from the main character instead - is there a more reliable way to get the sprites to move towards the main character when the bubble is overlapping them?

    Tagged:

  • Could you be a bit more specific please? I already have the timer behaviour set to the sprite and have a similar setup with a different object, but it's still not working. I expect I'm missing a few steps somewhere:

  • Hi,

    I currently have three sprites that I want to move in a random direction every 5-8 seconds, but I can only get them to move at the same time. I've tried using "For Each", but this causes only the first sprite to move and not the other two. How do I fix this?

  • Thanks plinkie, can't believe I forgot to include that.

  • The idea was for the enemy speed to increase every time an enemy was destroyed, which is what happens when it gets touched. Isn't there a way to trigger this using touch control?

  • Hi plinkie,

    I thought the variable was linked to the speed at which the enemy sprite was moving. I had an almost identical setup with another project and that worked. I must be missing something really obvious here...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I started a test project earlier today and can't get the enemy speed Global Variable to increase. It's supposed to increase every time an enemy is defeated, but I'm not seeing any changes. I've got this to work on an earlier project so am not sure what's happened.

    drive.google.com/open

    Tagged:

  • Thanks blackhornet. No wonder it didn't work before.

  • Hi plinkie,

    Thanks for pointing out the objects outside the layout. I've fixed this, but still can't get the main character to move once the layout has reset. It looks like the "wait 3 seconds" event never triggers after a reset so the rest of the events don't trigger either, but I can't work out how to change this.

  • Hi,

    I've added an action so that the current layout and all associated global variables reset when the space bar is pressed, but it doesn't work properly. The score variable keeps resetting to 3 instead of 0, the main character sprite doesn't move and enemies no longer spawn.