Commit Graph

18 Commits

Author SHA1 Message Date
Hugo Locurcio bac1e69164
Use static typing in all demos (#1063)
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).
2024-06-01 12:12:18 +02:00
James Tucker 73d96b7306
misc/window_management: Fix screen size and label order (#848) 2023-02-24 17:47:21 +01:00
Hugo Locurcio 1d5184e235
Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
Voylin f3f0ac4827 Fix for Window Management script + UI for 4.0-dev
UI Fix + fixing script to display correct information

Adding padding to the UI
2022-05-10 06:30:15 +09:00
Voylin cd32f64f80 Window Management Update 4.0
Updated to 4.0 everything should work.
2022-05-05 06:39:00 +09:00
Aaron Franke bbe50fc9da
Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -05:00
Aaron Franke 814909538f
Update projects to Godot 3.3 2021-04-21 19:17:12 -04:00
Aaron Franke f07c7091fc
Improve window management demo 2020-02-02 04:53:12 -05:00
Hugo Locurcio a45b84a5ad
Handle multiple resolutions in most demos
This makes demos render correctly on hiDPI displays,
while also demonstrating how to handle multiple resolutions.

The 3D in 2D demo now uses "3D No-Effects" for the 3D viewport,
which is faster to render. Thanks to this, 4× MSAA is now enabled
for a better result.

The background loading demo now uses mipmaps for better-looking images.

The material testers demo now samples mouse input in a
resolution-independent manner when panning.

Default clear colors were also changed in some projects for visual
consistency with the project's theme.
2020-01-28 19:08:03 +01:00
Rémi Verschelde cfcc0f3964 Port misc and plugin demos to Godot 3.1 2019-02-26 15:13:08 +01:00
Rémi Verschelde 77f7afaba4 Fix window management demo for 3.0+ 2018-12-14 23:59:16 +01:00
Paul Von Zimmerman 893348428e Fix observer yaw and pitch 2018-01-13 19:28:19 +01:00
Rémi Verschelde f8ca6d0a4d Sync all demos with current master format 2017-10-30 12:38:39 +01:00
santouits 9038725eb8 fixed anchors and renamed move function 2017-10-26 10:35:11 +03:00
Rémi Verschelde e345d480cd WM demo: Add missing CubeMesh (prev. TestInstance) 2017-07-15 13:25:23 +02:00
Rémi Verschelde 8919981a59 Port remaining misc demos to 3.0
android_iap, threads, tween, window_management
2017-06-30 22:29:13 +02:00
Juan Linietsky 6ef185c192 begun porting demos, platformer is working (mostly) 2017-06-23 07:44:27 -03:00
Mario Schlack ee75abef10 Added Input.set_mouse_mode(...) test cases. 2017-01-21 14:38:04 +01:00