CSE3902-Group-3 / CSE3902-TheLegendOfZelda-Remake

Remake of NES The Legend of Zelda game
3 stars 0 forks source link

Separate item show functions #250

Closed gdifiore closed 1 year ago

gdifiore commented 1 year ago

For link picking up an item there should be 2 distinct Show() or Use() or whatever named Item functions.

I want to be able to spawn the item above his head without triggering animations (e.g. bomb)

SimonL9889 commented 1 year ago

I think the Use() function we have right now serves the purpose you need. However it is true that heart, triforce and fairy have animations with the current Use() function, that will actually need new sprite to be created and I'll work on that. OneRupee also flashes but I think you don't need to show them over Link's head when picking them up?

gdifiore commented 1 year ago

All items are static when link holds them above his head IIRC

SimonL9889 commented 1 year ago

I went back to the walkthrough of the original game and found the following:

Therefore I believe the Use() function is enough for now. If you wanna check it yourself let me know and I can give you timestamps in the walkthough video on YouTube. I'll wait to see what you think before I close this issue.