Enemy Spawn?

Get help using Construct 2

Post » Sun Jan 27, 2013 12:10 am

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
https://www.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
          
B
7
S
2
G
3
Posts: 15
Reputation: 2,319

Post » Sun Jan 27, 2013 2:48 am

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.
B
14
S
6
G
2
Posts: 136
Reputation: 3,210


Return to How do I....?

Who is online

Users browsing this forum: heliogame and 23 guests