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

2025/5/9

Feedback on Game Request

EPayne EPayne

2025/5/9

#
I created my first Greenfoot game, which you can find at https://greenfoot.org/scenarios/35102. I'm wondering if I can get some suggestions for ways to improve it, or any bugs found. Thanks!
danpost danpost

2025/5/9

#
EPayne wrote...
I created my first Greenfoot game, which you can find at << Link Omitted >>. I'm wondering if I can get some suggestions for ways to improve it, or any bugs found.
The only issue I see is in the act method of the MyWorld class. You reset the timer back to 0 when it reaches 200, so, it will never get to 400, which the next if statement checks for.
EPayne EPayne

2025/5/15

#
Thanks danpost! That totally explains why the cows weren’t spawning — I had no idea the timer reset was messing with the later condition. I’ll go fix that now. Also, just wanted to say I haven’t been on Greenfoot for long, but I’ve already noticed how active and helpful you are. Your replies are quick, spot-on, and actually help people level up their code. Big respect — keep doing your thing!
You need to login to post a reply.