Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: TreasureCount can be over the limit #3

Open
OneCricketeer opened this issue Jan 27, 2022 · 0 comments
Open

bug: TreasureCount can be over the limit #3

OneCricketeer opened this issue Jan 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@OneCricketeer
Copy link
Owner

OneCricketeer commented Jan 27, 2022

Observed: Going over the treasure limit is possible (can collect more treasure after ladder is extended)

Since the ladder still works as expected, this is minor issue...

Questions:

  • Can guards pickup more than one treasure?
    • The hasTreasure is a boolean, so "no", but is this checked when they collide with another treasure?
  • When they die (brick or armor), do they properly release their treasure(s)?
    • The treasure block appears where they die, but when they respawn, do they still have a treasure?
  • During collision detection, when looping over treasure blocks, are we not breaking the loop? I.e if there are multiple treasures on the same coordinate, all should be collected, and not over-counted.
@OneCricketeer OneCricketeer added the bug Something isn't working label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant