-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fixed Script Errors for GUI Input Mapping Demo - 4.0-dev #708
Fixed Script Errors for GUI Input Mapping Demo - 4.0-dev #708
Conversation
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.
Most of this looks good.
window/size/width=640 | ||
window/size/height=480 |
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.
We should keep these lines, but they should be viewport_width
instead of width
and viewport_height
instead of height
.
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.
A question about this, should we always use 640x480 for viewport size? Because the defaults in 4.0 became bigger.
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.
The default in both 3 and 4 is 1024x600. Several of these demos have a smaller size because we just don't need a lot of space for such a simple demo. And no, we should definitely not always use 640x480. Just any demo that is already 640x480 in Godot 3 should still be that resolution in Godot 4.
Edited the project settings to match the new Godot 4 standard and fixed the script errors which were making it impossible to run this demo. Now everything works properly for the 4.0-dev version. Changed to Vulkan Mobile + Changed argument name Followed the suggestions of aaronfranke Changed viewport size
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.
Thanks!
Edited the project settings to match the new Godot 4 standard and fixed
the script errors which were making it impossible to run this demo.
Now everything works properly for the 4.0-dev version.
Another check that can be added for #697.
I really hope that I'm doing a good job helping to make all these demo's run properly on Godot 4,
if I'm doing anything wrong, please say so I can improve myself.