Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hey I'm trying to create a Random Fly Pattern.
<img src="http://img43.imageshack.us/img43/611/flyerror.png" border="0" />
It is Not working.
However If I change the Random(8) to a Number. Then it works.. But is ofc not random...
What about round(random(1-8))?
Think something's a little off that. Should I use round or float? Hmm...
Also, do you need the "elses"?
Develop games in your browser. Powerful, performant & highly capable.
Sadly not working.. I probably dont need the elses :) But not working with or without
Generate a random float from 0 to x, not including x. E.g. random(4) can generate 0, 2.5, 3.29293, but not 4. Use floor(random(4)) to generate just the whole numbers 0, 1, 2, 3.