Commit Graph

1516 Commits

Author SHA1 Message Date
Hugo Locurcio
245cbfc66a Revert engine version to 4.5 for demos with upgraded TileMapLayer
The demos still work on 4.5.1.stable, so there's no need to increase
the project version.
2025-11-06 20:02:28 +01:00
staruwos
a90d9d8c9a Update TileMap nodes to TileMapLayer in various demos (#1276) 2025-11-06 20:00:30 +01:00
Hugo Locurcio
51fadd795c Link C# version in Squash the Creeps demo README (#1274)
- Also add a link the other way around (from the C# version
  to the GDScript version) to match Dodge the Creeps.
- Use GitHub admonition syntax.
2025-11-06 17:31:21 +01:00
Aaron Franke
6a0325b0b8 Fix URLs and remove --base from Lychee CI workflow 2025-11-03 22:34:09 -08:00
Marcus Ilgner
41171d85d4 Update isometric dungeon to 4.3+ TileMapLayer (#1268)
After opening the isometric dungeon demo, there was a warning about TileMap
having been deprecated so I updated it to use the new TileMapLayer instead.
2025-11-03 18:43:32 +01:00
Hugo Locurcio
6adcbc912e Fix animations not looping and player materials in 3D Platformer demo (#1266)
- Use Forward+ renderer as intended
  (the project was accidentally changed to Mobile in a recent commit).
2025-10-20 21:27:25 -07:00
Aaron Franke
8a582321ae Skip Shadertoy in Lychee URL checks (#1267) 2025-10-20 16:02:04 -07:00
Aaron Franke
520b4a7870 Improve style in many demos (#1263) 2025-10-11 05:03:59 -07:00
Aaron Franke
0ae09b7e5a Overhaul silly material creator plugin demo (#1261) 2025-10-11 03:22:04 -07:00
A Thousand Ships
0343cedd48 General proofreading (#1262)
* 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
2025-10-11 01:39:59 -07:00
Vissa
a01005f397 Add Multiple Windows Demo (#1103) 2025-10-08 15:00:22 -07:00
Šarūnas Ramonas
7d73b8c4cb Refactor Material Creator Plugin Demo to use custom resource-based data (#1219) 2025-10-07 16:02:21 -07:00
Aaron Franke
217436bce6 Merge pull request #1168 from rburing/webxr_demo
Add WebXR demo
2025-10-07 14:36:03 -07:00
Aaron Franke
7c6cd796d7 Style and type safety fixes 2025-10-07 14:17:42 -07:00
Ricardo Buring
a2e97c0a25 Add WebXR demo
Based on https://docs.godotengine.org/en/stable/classes/class_webxrinterface.html
and https://www.snopekgames.com/tutorial/2023/how-make-vr-game-webxr-godot-4

Co-Authored-By: David Snopek <dsnopek@gmail.com>
2025-10-04 12:52:41 +02:00
Aaron Franke
14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 2025-10-03 16:22:39 -07:00
Aaron Franke
de00da353c Remove schedule from Check URLs action
This is going to create lots of noise, especially in forks... how about let's not spam this action every day.
2025-10-03 12:49:32 -07:00
Ruben Garcia
656595a6d2 Update README.md - Indicate demo obsolete for godot 4.3+ (#1204) 2025-10-02 19:38:25 -07:00
captain-redbeard
588c1cd257 Add Squash the Creeps 3D C# demo for Godot mono (#1001) 2025-10-02 19:35:12 -07:00
Bastiaan Olij
082cb16072 Add XR demo for binding modifier logic (#1137) 2025-10-02 18:35:37 -07:00
Aaron Franke
3088473167 Simplify list of branches in the README (#1255) 2025-10-02 15:08:21 -07:00
Mikael Hermansson
d7b6f86b0b Switch back to Jolt Physics in Voxel demo (#1257) 2025-10-02 14:35:34 -07:00
dependabot[bot]
7d5f9269ca Bump actions/checkout from 4 to 5 (#1256)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-02 13:18:15 -07:00
Aaron Franke
94d3d40d70 Make Voxel demo player responsive without using unrealistic gravity (#1253) 2025-10-02 11:00:01 -07:00
Shahriar Labib
84ac7b40a6 Add touch screen support for 3d/platformer (#1128)
Update touch_screen_ui.gd
2025-10-02 10:47:00 -07:00
Hugo Locurcio
af2b9b1f30 Add a 3D sky shaders demo (#809)
This uses https://github.com/Rytelier/godot-sky-and-volumetric-clouds
as a base, with several changes made:

- Spheres are now used to represent radiance map reflections of varying
  roughness and metallic values.
- A day/night cycle is now featured.
- Mipmaps are enabled on the weather texture as an optimization.
- The default radiance map settings are more conservative to account
  for the real-time sky shader.
  - This makes reflections lower quality, but it's not too noticeable
    in most real world scenes (especially if using GI techniques for reflections).
- Debanding is now applied in the project settings, rather than on the sky shader.
  This is significantly faster (over 0.1 ms saved on a RX 6900 XT in 3840×2160).
  It also has the benefit of working on materials, which can exhibit banding
  if not textured.
  - The sky shader has debanding commented out in case it's needed.
    This debanding also applies to the lower half of the sky as well in this case,
    as it was required to get rid of noticeable banding on the lower half.
- Cloud coverage and density uniform hints now allow values as low as 0.001.

Co-authored-by: Rytelier <45795134+Rytelier@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2025-10-02 10:44:01 -07:00
Hugo Locurcio
6424e02ebf Add fallbacks and mention non-working features when using Compatibility or the Web platform (#1132)
- Make 3D lights with shadows darker when using Compatibility to better
  match the appearance of Forward+/Mobile, due to the use of sRGB blending
  for those lights.
- Silence some warnings when running projects with the Compatibility
  rendering method, such as the one about 2D MSAA not being supported.
- Rebake lightmaps in Global Illumination to improve quality and reduce
  light leaking with improvements from 4.3.
  - Increase probe density for dynamic objects, and mark the moving box
    as a dynamic object for GI purposes.

This is done to improve the experience with the web-based demos,
which always run with the Compatibility rendering method.
2025-10-02 10:31:42 -07:00
Hugo Locurcio
a5bce2f144 Fix bright streaks in tunnel in Platformer 3D demo (#1254)
This adjusts reflection probes following the blend distance changes
in 4.4.
2025-10-02 10:15:15 -07:00
Hugo Locurcio
a0f59648f2 GitHub Actions: Check URLs using lychee (#1169)
This makes it possible to be aware of dead links and replace
them with other resources (such as archived versions) as
soon as possible.
2025-10-02 00:33:27 -07:00
Hugo Locurcio
57daa67c23 Fix look_at_from_position() usage in Squash the Creeps (3D) (#1165)
The mob's orientation was previously shifted according to the player's
height, which could lead to collision and movement issues that were
difficult to diagnose.
2025-10-02 00:14:08 -07:00
Bastiaan Olij
711822a319 Modify shader example to show using built-in includes (#1086) 2025-10-02 00:04:11 -07:00
Markus Sauermann
10eb2807b8 Add Split Screen Demo showing input handling (#1023)
* Add Split Screen Demo showing input handling

* Style fixes, layout improvements, update to Godot 4.5

---------

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2025-10-01 22:56:48 -07:00
Allyson Chan
0cff177d59 Updated Multiplayer Pong C# to Godot 4.2 (#1045) 2025-10-01 22:12:04 -07:00
Hugo Locurcio
05aeb11de9 Add a 3D visibility ranges (HLOD) demo (#860) 2025-10-01 21:47:36 -07:00
Yaxian
1d8fa9c44d Add player_state dictionary to manage player state names for FSM demo (#1143)
* Add player_state dictionary to manage player state names for FSM demo

* Use a constant typed Dictionary of StringNames and update to Godot 4.5

---------

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2025-10-01 21:33:27 -07:00
MJacred
69b317692e Fix content_scale_* updates: properties are in Window not (Sub-)Viewport (#1184)
While the demo seems to work, the editor won't allow the user to jump to the docs when using Ctrl+LMB
2025-10-01 21:09:48 -07:00
Hugo Locurcio
649360f17e Fix FPS-dependent movement in Navigation AStar demo (#1227)
Previously, the way in which the spaceship steered depended
on the rendered framerate.

This moves ship movement to the physics step to avoid this, and
enables physics interpolation for smooth motion.
2025-10-01 19:55:07 -07:00
Hugo Locurcio
a5f9289d13 Fix tickrate-dependent physics in Voxel demo (#1224)
Fix mouse sensitivity being dependent on window size by using `InputEventMouseMotion.screen_relative`.
2025-10-01 19:44:48 -07:00
Hugo Locurcio
5f4a9e409f Use InputEventMouseMotion.screen_relative where relevant in all demos (#1232)
This provides mouse sensitivity that is independent of the viewport
size, without needing to query for project settings.

This also inverts the mouse motion direction in the 3D navigation demo
to better match expectations, and increases mouse sensitivity in the
Window Management demo to be closer to other demos.
2025-10-01 18:54:19 -07:00
bruvzg
bdc33d1568 Add basic accessibility features demo. (#1238) 2025-10-01 18:41:42 -07:00
Hugo Locurcio
dc4abff7d0 Use GodotPhysics3D in Voxel demo to work around performance issue (#1252)
This avoids stuttering during world generation due to mutating
compound shapes being slow in Jolt Physics.

This is especially noticeable in the Flat Grass world due to
the higher number of voxels being generated.
2025-10-01 16:01:17 -07:00
Hugo Locurcio
a64cebdf7a Fix physics joint warning in Truck Town when using tow truck (#1251)
Following the switch to Jolt Physics, 3 warnings were printed every
time you selected the tow truck in Truck Town, as custom joint bias is not supported.

This reverts 3 of the joints to use the default bias, which appears to
have no negative impact on behavior on either Jolt Physics or GodotPhysics3D.
2025-10-01 11:02:59 -07:00
Hugo Locurcio
efb56dcee4 Add a 3D ragdoll physics demo (#1234) 2025-09-30 13:05:04 -07:00
Hugo Locurcio
0540894062 Add a 3D soft body physics demo (#1228) 2025-09-30 11:16:47 -07:00
Aaron Franke
49718c4b16 Merge pull request #1223 from Calinou/add-3d-physics-interpolation-demo
Add 3D physics interpolation demo
2025-09-30 09:37:52 -07:00
lawnjelly
c70741bac0 Add 3D physics interpolation demo
Demonstrate first person shooter and third person shooter cameras.
2025-09-30 18:14:22 +02:00
Lukas Tenbrink
78c04bbd28 Migrate contributing guidelines to the contributing docs (#1246) 2025-09-30 08:43:17 -07:00
Hugo Locurcio
9fb7d5d211 Add a custom logging demo (#1242)
This demo showcases a custom logger implementation, which runs in parallel
to the built-in logging facilities (including file logging). The custom logger
displays all messages printed by the engine in an in-game console.
2025-09-26 23:11:38 +02:00
Hugo Locurcio
84eabb3cf7 Add .clang-format and use it to format shader files (#1249) 2025-09-22 16:15:54 +02:00
David Briscoe
aecf661c9c Fix and improve Role Playing Game: Gamepad, TileMapLayer, upgrade for 4.4.1 (#1248)
* Improve gamepad behaviour in rpg

Fix gamepad can't do dialogue.
Fix character often plays bump animation with gamepad when there's no
obstacles around.

Add gamepad A to ui_accept so gamepads can press buttons in dialogue and
combat.

Use get_vector so we get an automatic deadzone on our input.

Round our input direction so we don't pass Vector2i(0,0) to
request_move, get denied, and then do a bump animation.

* Use SpriteFrames instead of animating texture

Seems like Godot 4 doesn't allow toggling AnimationPlayer tracks by
making children editable so the texture is no longer being set and the
player is invisible. Regardless, this workflow is also not scalable to
multiple enemy types. Instead, use SpriteFrames to setup different
visuals for each slime.

Triggers animations from code alongside AnimationPlayer calls because
doing it in AnimationPlayer seemed unnecessarily complex.

* Give all slimes a common base class

Split player input handling from walker to allow both slimes to use the
same visual setup. In a real game, you'd want this kind of setup so
enemies are able to walk on the grid too.

Remove unused actor.gd -- looks like this was an early version of
walker.gd.

Setup opponent slime as type=Actor because otherwise you can't fight
them.

* Convert TileMap to TileMapLayer

Used "Extract TileMap layers as individual TileMapLayer nodes" in the
TileMap editor and removed the 0 layer argument from functions in
grid.gd

* Explain and rename facing direction node

When I first started looking into the character, I couldn't figure out
what this play button texture was for. After experimenting, it might be
an old version of the character visuals or a demo to show how to make
your character rotate.

* Fade to black between scenes

Fix blue screen when entering combat.

Our fade ColorRect was hidden so it never displayed. We removed the
exploration scene before fading so the fade started with an empty scene
with a blue skybox.

* Loop idle animation in combat

Add AnimationTree to combat character setup so we can tell when the
take_damage animation completes. This was harder than expected because
by default Godot modulates to black and sets scale to 0 unless you
specify otherwise with the RESET animation.

* Add a CanvasLayer above each clickable Control root

Fix mouse can't click buttons.

Seems like we're not able to click buttons in Godot 4 without a
CanvasLayer root. Adding that makes it work, but required some
restructuring to point at the correct node. In cases like combat+ui,
change it to emit a signal to use the "call down, signal up" pattern.

* Remove error comment that no longer occurs

Neither winning nor fleeing triggers this warning on Godot
v4.4.1.stable.official [49a5bc7b6].

* Rename parent -> grid

Make it clearer that the parent of the player and other pawns is
expected to be our Grid class.
2025-09-16 15:42:25 +02:00