Thanks I got it!
So I made a object spawn every random seconds. Then I made a global varible and every time the object gets created it adds on to the varible. Can I stop spawning the object after the varible hits a certain number say 5?
ok this might sound a bit nooby but how do u set a dice varible?
Where do u find random or floor?
Develop games in your browser. Powerful, performant & highly capable.
Thanks!
You could also to it at specific intervals but randomly cancel some out. Roll a random number from 1-10 every few second. If the number is less than 1 than spawn enemies :p
You could also to it at specific intervals but randomly cancel some out.
Roll a random number from 1-10 every few second.
If the number is less than 1 than spawn enemies :p
How do u roll a random number suorry for double post
Yep, for the amount of seconds just use floor(random(x,y)) in the dialog box, with X being the minimum amount and Y being the maximum.
how do u get floor?
I am a young dev working on a game with a friend, thus I cant afford to pay anybody to make music for me. Is there any tool tht is good for good music for games?
is it possible to make it random rather than a set time. Like is it possible to change it every X seconds every time it spawns
So far this community has been awesome! I am new to construct 2 and so far I love it. I have a question, I want enemy ships to spawn at specific locations on the screen how can I do this? also after awhile gradually increase their speed
How do I make a spalsh screen for my game?
Thanks for the explanation!
Member since 31 Jul, 2012