Commit Graph

23 Commits

Author SHA1 Message Date
ShatteredReality b4c73f4888
Fix README links to asset library (#1078)
This updates all links to point to the 4.2 demos instead of the 3.5 ones.

Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
2024-06-24 19:29:58 +02:00
Hugo Locurcio 9a0c857131
Fix incorrect `class_name` declarations being swapped with `extends`
This was caused by an automatic text replacement issue.
2024-06-03 20:13:55 +02:00
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
Hugo Locurcio 31d1c0c112
Remove old and unused project settings, update various demos for 4.2 (#1024)
- 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.
2024-03-26 18:01:58 +01:00
Hugo Locurcio 2a962929f3
Update demo files for Godot 4.2.1 (#1013)
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).
2024-02-01 17:30:08 +01:00
MotH 0a84347d11 Sorted tags 2023-06-28 21:27:10 +02:00
Hugo Locurcio 18c76b6dae
Add tags to all demo projects
This makes sorting them in the project manager easier, as you can
click tags in the project manager to filter to a specific tag.
2023-06-26 18:03:50 +02:00
Fabio Alessandrelli 0e83ebc6af
[WebSocket] Fix chat demo to updated TLS function. (#918) 2023-05-05 17:10:46 +02:00
Hugo Locurcio 63d1cd9a60
Use 128×128 WebP icons for all demos (#885) 2023-03-29 18:59:57 +02:00
Danil Alexeev 285139fc4e
Fix GDScript code style regarding colon (demos) 2023-03-06 08:44:13 +03:00
Hugo Locurcio 1d5184e235
Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
Fabio Alessandrelli dd2ba9a5ba [Net] Update & refactor WebSocket Chat demo.
Uses new unified StreamPeer, dropped the multiplayer part (in favor of
the dedicated WebSocket demo), add reference WebSocketClient and
WebSocketServer signal-based implementations that can be used as drop-in
nodes in any project. Might be worth maintaning it as a separate addon.
2022-09-29 19:16:41 +02: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 b7e0a470c7
Update demos to Godot 3.4 2021-11-05 11:48:47 -05:00
Aaron Franke 7d64830cfe
Ensure most demos have descriptions and screenshots 2021-08-16 21:13:06 -05:00
Aaron Franke 814909538f
Update projects to Godot 3.3 2021-04-21 19:17:12 -04:00
Aaron Franke 2ee9b47f6c
Use ETC instead of ETC2 for all GLES2 demos 2021-03-29 18:30:14 -04:00
Aaron Franke d989bf6209
Use fewer ternary operators and decrease volume of Platformer 2D 2021-03-28 22:03:03 -04:00
Aaron Franke 4913cd868a
Misc fixes and tweaks 2021-03-03 02:59:17 -05:00
Aaron Franke 50fb2071a0 Improve icon.png for projects using default icon 2020-08-15 17:25:12 -05:00
Aaron Franke aea4010bc8
Convert most demos to GLES 2
Also fix Viewport error in 3D scaling demo, add an icon to Multiplayer Bomber, and rename BPM sync files.
2020-03-04 20:59:12 -05:00
Aaron Franke b310877037
Update other networking demos, with style fixes 2020-02-20 15:13:21 -05:00
Fabio Alessandrelli e9f02ff05f Add Websocket chat demo 2019-07-28 14:20:57 +02:00