* General proofreading for grammar and spelling
* General formatting
* Addition of appropriate literals where appropriate, i.e. `&"foo"` for `StringName` cases and `^"foo/bar"` for `NodePath` cases
This leads to code that is easier to understand and runs
faster thanks to GDScript's typed instructions.
The untyped declaration warning is now enabled on all projects
where type hints were added. All projects currently run without
any untyped declration warnings.
Dodge the Creeps and Squash the Creeps demos intentionally don't
use type hints to match the documentation, where type hints haven't
been adopted yet (given its beginner focus).
* Use match case instead of if else
This is my first pull request.
* Apply suggestions from code review
---------
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This is a silly "fix", but it prevents an empty `[]` from being printed every time
this demo is run without a MIDI device plugged into the computer.
The MIDI devices list is printed if one is plugged into the computer, which I have tested.
- Move all demo projects that don't require Forward+/Mobile-only features
to the Compatibility rendering method. This improves performance significantly
on low-end devices and ensures visuals are identical to a web export
of the demo.
- Set deadzone on all inputs to 0.2 for better gamepad usability.
- Remove reliance on `default_env.tres` to use built-in Environment
resources in the main scene instead (which follows the preview environment
workflow).
- Remove notices pointing to GDNative or VisualScript, since both were
removed in 4.0.
- Various bug fixes and usability tweaks to 10+ demos.
All demos were opened with Godot 4.2.1, with the mesh format
upgraded for 3D demos.
The 3D antialiasing demo now uses Extra Cull Margin on the last
object to prevent it from disappearing too early when the camera
rotates (due to its use of shader-based animation).
- Draw fake reflections for spectrum bars.
- Increase the bars' height to better make use of the window space.
- Use Compatibility rendering method for greater performance
and compatibility.
- Update screenshot and icon.
- Remove a stray `.import` file.
Fixes some of the icons mentioned in #722.
Not sure if they are good enough or not, I'm not an artist in any way.
Changed Icons:
- 2D physics;
- 3D physics;
- Audio device changer;
- Audio mic record;
- GUI Control gallery;
- GUI Pseudo-localization.
Update
small edit
Adding settings for mix_rate, stereo and format for Mic Record Demo
Adding settings for mix_rate, stereo and format for Mic Record Demo
small edit
Adding settings for mix_rate, stereo and format for Mic Record Demo
small edit
Adding settings for mix_rate, stereo and format for Mic Record Demo
small edit
Adding settings for mix_rate, stereo and format for Mic Record Demo
small edit
Adding settings for mix_rate, stereo and format for Mic Record Demo
small edit
Adding settings for mix_rate, stereo and format for Mic Record Demo
Fixing project settings
Small fixes
Vulkan to Vulkan Mobile,
Changed window size.
This is required to benefit from crisp display on hiDPI monitors.
This also fixes issues related to fullscreen and input handling
when using an hiDPI display on Windows.