Cloning Carrots
- Claire Kim
- 7 days ago
- 1 min read
Our next step is to make the carrots! Now, I already have a PNG for the carrot, but we need multiple. It would be too laggy to have an infinite amount of carrots going down the screen, so we need to delete the clones once they are off the screen. The carrots will go down the screen randomly into either the left, middle, or right lane. This goes for both bunnies. Now that we have coded the carrots to go down the screen at random, we need a randomized math question to pop up once the bunny hits the carrot. But for now, the bunnies can move to where the carrot is!




Comments