WixeyWinsock's Forum Posts

  • Hi,

    I'm working on a simple shooting game where enemies spawn randomly from off screen spawn points. Enemies spawning from the left and centre of the screen look normal but anything spawning from the right appears upside-down, like in the screen shot:

    All the sprites were loaded facing the right. Is there a way to fix this?

  • This worked, thank you so much! :)

  • So I mean add a condition, which appear on the left (press C), to the on collision event. The condition should be critter opacity=100. This means when the bullet collides that the critter object opacity must be 100 for it to do the actions i.e. it is not fading. So you can only hit it one time with that condition.

    Sorry for misunderstanding, I'm still new to this and often get the terms mixed up. I've tried adding another condition but can't find the "set opacity" option. The closest I can find is "compare opacity".

  • Here it is. I tried disabling the Fade effect as well but the issue's still there.

  • Hi plinkie, I've added the opacity condition but I'm still able to gain points from repeatedly shooting an enemy before it disappears.

  • Hi,

    I'm making a simple shooting game and have set things so that one point is added to the score every time a bullet makes contact with an enemy. I've found if I continue to shoot at the enemy while it's playing its "vanishing" animation (even though this lasts for less than a second), points are still added to the score. Is there a way to stop this from happening? Link to the (incomplete) game is below:

    drive.google.com/file/d/1IBHbS2RfYkxOwHhVKtCRosKlgvEoNzs6/view

  • Hi plinkie,

    Many thanks, unchecking Global fixed it. :)

    Is there a way to mark questions as "answered" on these forums?

  • Hi,

    I'm making a simple shooting game and have run into an issue where the Game Over text only appears on the first playthrough. Any subsequent playthroughs still works normally but the text doesn't appear after the player has died. The game has three different "ending" screens depending on the final score, and I think I must have missed an event/action in the ending screens' event sheets. The C3P file link's below, though the game's not complete:

    https://drive.google.com/file/d/1IBHbS2RfYkxOwHhVKtCRosKlgvEoNzs6/view?usp=sharing

    Tagged:

  • Many thanks BadMario and Fengist, the audio problem's fixed now. :)

    I've now discovered another issue and don't know if I need to start a new topic or not but will post it here anyway.

    On getting a Game Over for the first time the Game Over text displays normally, but on subsequent playthroughs it never appears again until I restart the project preview and I can't work out how to fix this.

  • Hi Fengist,

    I'm using tags, but the audio effect still plays. I'm wondering if I need to include an event connected to clicking the Left mouse button as that's what triggers the sound but I'm not sure how to do this.

  • Hi,

    I'm making a simple shooting game and want to know how to stop a sound effect from playing after the player gets a Game Over. I've tried using the "Stop Audio" action but the "shooting" sound effect still plays when I click the mouse even after the Game Over text has displayed.

  • Hi, thanks for the explanation. Link to the file is here: drive.google.com/file/d/1kyr1NrxY7vLx4V7y2NyI85U4561uG7Qw/view

    For some reason the "pushDistance" global number now seems to be preventing the enemies from killing the player. It wasn't like this earlier so I must have messed something up somewhere, but for now I just want to work out why sprites spawning on the right hand side of the screen are flipped.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, this is going to sound like a dumb question, but what type of file do I upload, and how do I do this?

  • Many thanks brunopalermo, disabling the bullet behaviour worked.

    I've tried resetting the "set angle" setting as I was using bullet behaviour, but it only seems to fix enemies spawning on the right and middle of the screen. Anything coming from the left is still displaying upside down.

  • Thanks again brunopalermo, that was exactly what I wanted. :)

    Just to small questions: is there a way to make the enemies stop moving towards the player sprite once they start the "dying" animation?

    All my enemy sprites face the right, but sometimes they spawn upside-down and I can't work out how to stop this happening.