Im a new user in construct 2 and I have to do a game
I generate a variable which contains a random number of apples and i have to create that number of apples.
I tried this but it generate many apples.
Condition : System repeat > randomNumber
Action : System > Create object > apple on layer 0 at (variableX , 100)
Action : System > add 100 to variableX
Could you help me to find a solution?