This app is about getting rid of invasive species, and I am wondering if anyone could help me add a loop to my code. I need it for the AP exam. Here is my code:
No, your app is a game about clicking on images of bugs and making the image disappear.
It is a game similar to Mole Mash and Mole Mash V2 with Sprite Layering
These examples "add a loop" by using a clock. Try using a clock Asa.
Yeah you're right its about clicking on images of bugs. My teacher said we have to use a loop other than a Clock, any ideas? Thank you for the help
What do you need a loop for ?
You have a lot of duplicated code for the different types of insects.
If you set up tables of insect types with their image files, scoring effects, and associated Sprite components, you could do primordial table lookups using loops, index by index.
That would let you consolidate those drag events into a single generic drag event.
Nevermind I got a loop
this is a sharing community
therefore please provide your solution for others, which might have the same question n future
thank you
Taifun
Oh yes, sorry I will do that now, I am new user on this app