-
Notifications
You must be signed in to change notification settings - Fork 53
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
Intake/Scoring Collisions #1035
Conversation
Co-authored-by: Hunter Barclay <HunterBarclay@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work, this is coming along well! Just a couple things I noticed:
- When you move a scoring zone then click 'accept', the rendered zones position does not update until you close the 'scoring zones' panel. This isn't a big issue, but can make it seem like moving the zone didn't work. Also, do you think you could make the rendered scoring zone disappear right away when you delete a zone?
- The persistent point option doesn't quite work for me. What happens is the points stay counted even after the gamepiece exits the zone, but when any new gamepiece is picked up, points are then subtracted. With persistent points toggled off, everything works as expected.
- I'm pretty sure this is a mistake from my PR, but the button to select a zone parent node says "select pickup node" because it was copied from the intake panel.
How hard would it be to add a toggle in settings to not show the score UI? It might be nice to have it out of the way for screenshots and such. This could definitely wait until after the MVP though.
Another things that would be nice is adding the scoring zone colors to the zone config gizmo, but again, this can wait.
Overall great work, I'm really impressed!
@a-crowell Can you update this branch to the new Input schemes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work!!! This is very impressive 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry.......just one quick build error to fix :(((
src/ui/panels/configuring/scoring/ZoneConfigPanel.tsx:116:21 - error TS6133: 'setDestroy' is declared but its value is never read.
116 const [destroy, setDestroy] = useState<boolean>(SelectedZone.zone.destroyGamepiece)
Also run npm run build
and npm run format
after you fix this to make sure there are no more sneaky errors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On lines 164-166 can you make it so that when a zone is deleted then the zone itself is also actually deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Zones are all deleted and repopulated after updating field preferences, so unless you are seeing a bug with it staying on the field that I am not seeing, this does delete the zone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
immaculate
Description
Using collision detection for intaking and scoring.
Objectives
Note
Watch For
JIRA Issue