ConradMAZE's Forum Posts

  • 11 posts
  • I have uninstalled and reinstalled Construct 2 and Clay.io but still no difference-.-

  • This is what appears when I press 'Submit' to send the score to the clay.io leaderboard;

    Javascript error!

    ‘console’ is undefined, line 575 (col undefined)

    This is either a bug in Construct 2 or a problem in a third party plugin or behaviour – please report it to the developer!

    The plugin is installed and all code is correct, it used to work but now just suddenly stopped, I play the game in both Chrome and Internet Explorer and Chrome just comes up with a message saying that it's not connected to the internet so won't send the data.

    Someone please help!

  • Not exactly, I want it so that when the player kills 10 enemies, on the tenth spawn a power up and reset it so that the game can recount to 10 again to making another power up. Like the user ikke2902 explained in an earlier post, but it doesn't seem to be working properly.

  • RamPackWobble;

    I will look at what you've sent, just need to redownload to an updated version of construct-_-

    Edit: Will not update it ._.

  • ikke2902;

    I did what you said to the exact same but the PowerUps don't seem to spawn,

    I looked at it during debug and it seems that one has spawned and is moving off screen very very fast but I'm not sure. I used the On Destroyed for the enemy being detected as destroyed but I'm not sure if it might be the global variable messing up.

  • I have my powerups working but I have my powerups set so that:

    (Global Variable - EnemyDeath) = 10 ---> Create object PowerUp on layer "Background"

    Set Bullet Speed to random(10-80)

    Add 1 to Enemy Death {to stop them spawning repeatedly}

    But how can I make this so it's every 10 enemy deaths spawn a PowerUp without spamming them and needing to add another just to to them spamming? I'm sure there is a more efficient way.

    Basically, just make so for every 10 enemy deaths, spawn a single powerup.

    Thanks for your help so far btw!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't understand what you mean, I want to be able to change the time from 0.7 down by 0.1 every time I collide with a PowerUp making the bullet spawn rate from the Players character spawn bullets faster but I don't see how I would able to use a Global Variable to change time of delay for bullet spawning.

  • Space is down, every 0.7 seconds, spawn bullet blah blah blah.

    How do I make it that when the Player collides with the power up, the time changes to 0.6 and stays like that until the game is restarted or another power up is collected and brought down another o.1? Been annoying for ages now and I need to sort it.

  • I created a scroll shooter and have been trying to edit in Power Ups, I am using a Global Variable (EnemyDeath) which counts amount of times an enemy has been killed in a single game time to increase difficulty, I want to use this variable to count when there are a certain amount of enemy deaths, send out a power up going horizontally. I already have this code so far.

    EnemyDeath = 5 Create Object (Sprite) on layer “Game” at (random(LayoutWidth) , random(LayoutHeight))

    Set Bullet speed to random(10, 80)

    Set opacity to Self.Bullet.Speed

    but when I play the game, the game spawns millions of power ups when I only want the one.

    Is there a way I can use this to create a single moving power up or is there any other method?

  • Yes! That works thanks

  • I have made a scroll shooter and decided to make the player bullet spawn by pressing space. But how do I make it so there's a very short delay to prevent the player from just spamming space spawning loads of bullets?

  • 11 posts