This site requires JavaScript, please enable it in your browser!
Greenfoot back
Orko
Orko wrote ...

2016/5/18

how do I keep adding the same object every 120 pixels downwards

Orko Orko

2016/5/18

#
Hi, I need help adding the same object 120 pixels downwards each. Here is exactly what it says me to do - addObject(new Line(),300,0); addObject(new Line(),300,120); and then at 120 pixel gaps throughout the world
SPower SPower

2016/5/19

#
You could use a for-loop for that, instead of writing it all out in separate lines. And please, use the code tags next time instead of bold tags.
You need to login to post a reply.