Discuss Scratch

Nootwalker
Scratcher
52 posts

How do I make Sparx pick up gems?

I am making a sequel to my Spyro the Dragon 2D game and I'm not sure how to make Sparx pick up gems. I have a Sparx sprite and I want him to keep looking for nearby gems to pick up and follow Spyro if he can't find any. I tried to do it myself but Sparx kept trying to get the gem even when it was hidden. Can anyone help me?
ItsAPlane429
Scratcher
3 posts

How do I make Sparx pick up gems?

Well, you could use the “Point towards this sprite” block with the “Move ___ Steps” block. Then, once all gems showing are gone, make a variable that interprets the number of gems, and if that variable “__=0”, then it could “point towards Spyro” and “repeat until (whatever you do when sparx is behind spyro”! If you need help, I'll remix and debug, and you can use the scripts! Just give me the link
ggenije
Scratcher
500+ posts

How do I make Sparx pick up gems?

This should help you

Forum help2 - Sparx pick up gems
Nootwalker
Scratcher
52 posts

How do I make Sparx pick up gems?

ggenije wrote:

This should help you

Forum help2 - Sparx pick up gems
Thank you! And thank you ItsAPlane429 for trying to help. I really appreciate it.
ggenije
Scratcher
500+ posts

How do I make Sparx pick up gems?

wrong topic

Last edited by ggenije (May 6, 2018 16:57:37)

Powered by DjangoBB