Ok, I didn't do much today, but I learned a lot. Because I finished the video, I was able to start and not stop working on Greenfoot. I got to about the middle of chapter 3. I also learned the command:
( greenfoot.getRandomNumber(100) < 10 )
I used that to make the crab go in random directions rather than a straight line. Before I continued I added a whole lot of crabs (Michael taught me if I hold down shift I can clone the crab) and then I had a teeny army of crabs going in random squiggly lines bouncing off the edge of the world.

There were a lot more crabs, but I forgot to take a screenshot and my mac doesn't have the crab scenario.
No comments:
Post a Comment