Str x convert x to string.
Floor random construct 2.
This section outlines the expressions in the built in system object in construct 2.
Random function check out my google helpout on construct 2 basics.
Don t forget you can use to build strings e g.
This section does not list the operators or syntax that can be used in expressions just the expressions specific to the system object.
Our interger will become 10.
Int x convert x to integer.
It s worth remembering construct 2 always uses degrees never radians.
So if random 10 generates 9 0094645182 and we use ceil to round up.
Float x convert x to float.
This short tutorial demonstrates one way to use an array to generate a set of random numbers without duplicates.
Generating unique random numbers is an essential technique for every game maker to know.
Many are common mathematical operators and they can be listed with descriptions in the expressions panel but they are included here for completeness.