Hi, this is my first time posting but I have had experience with Greenfoot... Until now xD
Okay, I have no code, to show, for this but I hope I can describe it well enough. In my program, there is a bee, that you control, that goes around collecting green orbs and at the very end, there will be a gold orb that appears. The player collects the gold orb to end the game. My question is, can I make a point system so that the gold orb appears under certain conditions. Like if the player collects enough orbs? If I were to put it in basic Pseudocode;
orbsCollected = 0
when Bee detects Orb:
remove Orb
orbsCollected= orbsCollected +1
when orbsCollected = 5:
Add goldOrb
Sorry for simplicity but hopefully you understand me. The stuff I can't do is in bold. I can remove the orb but I can't find a way of making the point system and adding the golden orb. Thank you!
