Enemy Spawn?

0 favourites
  • 2 posts
From the Asset Store
Pixel Enemies for SHMUP consists of 45 enemy ship sprites to be used in your game.
  • Hey guys,

         Very noobish question I guess but I cant seem to get my enemy to spawn right! I just want it to spawn at a random time or whatever, say 1-5 seconds. I was looking on tutorials and the forum but I just cant get it lol plus its like 12:00 am and my brain really would like some sleep!

    annnnnnyyyyyway, heres the capx file

    dropbox.com/s/a6rvdpgj58g9yzl/spaceshooter.capx

    I know you Construct veterans should be able to help me out as im sure its a simple enough solution!

               Cheers,

                     Micheal

              <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • every random seconds needs to be random(1,5) instead of a dash (random1-5) makes them spawn like crazy. also the spawn event random((12,1024, 1200) that Y coordinate is spawning them off the bottom of the screen - change to 0 if you want them up at the top.

    for easier debugging you can try setting your background to invisible and your squares to visible, it helps a lot when setting up your event systems.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)