Commit Graph

5 Commits

Author SHA1 Message Date
Aaron Franke bbe50fc9da
Convert demos to Godot 4 using regular expressions in a script 2022-03-26 16:09:10 -05:00
Aaron Franke b7e0a470c7
Update demos to Godot 3.4 2021-11-05 11:48:47 -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
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