Commit Graph

7 Commits

Author SHA1 Message Date
James Tucker e03d6abbc8
Update finite state machine demo for 4.0.rc4 (#850)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-02-24 18:32:34 +01:00
Hugo Locurcio 1d5184e235
Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
Aaron Franke bbe50fc9da
Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -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 faae60ac2f Port 2D demos to Godot 3.1
Opened them, saved all scenes, ran the project. Did necessary fixes here and there,
fixed some warnings (but some remain in bigger demos).

Did not port JRPG demo yet (#306) nor the two platformer demos.
2019-02-26 14:22:02 +01:00
Nathan Lovato 1ef5373c4f Rewrite FSM demo to respect the single responsibility principle
Now there's a base state_machine script, the StateMachine is separate from the physics body.
I reworked the code to follow the GDscript guidelines in the official manual.
2018-06-22 15:16:20 +09:00
Nathan 5b744fa1e6 Add HFSM + pushdown automaton demo 2018-06-10 16:45:02 +09:00