I am currently trying to make rectangles spawn randomly around in an area where you can still be able to see it (Within the boundaries of the window). The rectangles will spawn one at a time. One will first spawn, and then when the player touches the rectangle, it will disappear and another rectangle will appear somewhere else. (This is kind of like the snake game when the snake eats the apple) The rectangle also will change to a different color each time.
I am new to pygame, so if you could explain the steps to me as well, I’d be very grateful.
Thank you for taking the time to answer this question if you do!
CorruptedNightFall0 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
0