-
Notifications
You must be signed in to change notification settings - Fork 12
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
Issue-46: Map Display #58
Issue-46: Map Display #58
Conversation
…ased off of map array created
This should close the map display no ? Since the light display is for another PR iirc |
Overall looks good! I think once we have the player's position represented on the map then we will want the scroll container to center on the player. Also, the scrolling feels a bit jarring at the moment. Turtyo mentioned making the tiers of rooms not be halfway cut off which might help. I'm also wondering if we can make the scrolling smooth instead instantly snapping. |
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.
I don't know how it was added back, but I also notice that Card_DamageHealth.gd
has been added back, doesn't seem to come from here, probably a merge in a previous PR but I didn't see where for now, didn't really search
Would be good to delete it, but it's a bit tricky
The best is probably that i do the push, but i will need to modify the deck for that; if you are ok with that Ty
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.
Thank you for the changes
I resolved comments for those that are good, I left open those that are not addressed yet
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.
I think the code is clearer now, I'll pull later to see how it looks now
This is making me think, should we have a minimum map size to make it look consistent ? If we have the final boss with only 1 room, it could look strange on the map. You calculate the width and choose the max between the min width and the calculated width
Here's how a [1, 1] Map looks like. |
…ardScrollUI and MapUI with the new "cancel_action", Add typing
Yeah I think a minimum size would be good, as we can see small maps look a bit goofy |
…n this crazy ass math
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.
Also adding some more comments based on the warnings I get when running the scene in godot
I'm wondering, do we have a way to change the scroll speed ? with an export maybe ? i'm finding it a bit slow, but that might not be the case for everyone |
Looks like scroll speed is an option on the smooth scroll container |
yes I saw it was an option, but i'm wondering where we are supposed to change it |
The SmoothScrollContainer already has it as an export on the inspector itself! To your query about changing the speed, we can adjust the speed within code with Once we get the save system squared away we can have a setting saved on that save file for adjusting player scroll speed. Just a potential thought. |
Seems good to me 👍 |
Description
Button for Map Icon on main screen and display of map and rooms that has been generated in #30
Related issue(s)
Related to Issue #46
List of changes
A more detailed list of the changes.
Tests
Kind of stumped as to what to test here, some recommendations are welcome!
Additional notes
Vids of the map in different sizes:
map_display_1.mp4
map_display_2.mp4