Skip to content

Commit

Permalink
Add examples using the 3D Physics Engine (#740)
Browse files Browse the repository at this point in the history
- [3D platformer] Show how to use the 3D physics behavior and 3rd person camera
- [3D first person] Use the 3D physics behavior
- [3D shooting gallery] Use the 3D physics behavior
  • Loading branch information
D8H authored Dec 20, 2024
1 parent 763a044 commit 24bb1d2
Show file tree
Hide file tree
Showing 54 changed files with 80,472 additions and 25,500 deletions.
50,954 changes: 25,455 additions & 25,499 deletions examples/3d-first-person/3d-first-person.json

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55,010 changes: 55,010 additions & 0 deletions examples/3d-platformer/3d-platformer.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/3d-platformer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A 3D platformer (Mario-like) game. Jump around and collect as many coins as you can!
1 change: 1 addition & 0 deletions examples/3d-platformer/TAGS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
game, advanced
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added examples/3d-platformer/assets/Barrel.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/3d-platformer/assets/Bridge Small.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Bunny.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Cloud 2.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Coin.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Crab.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Cube Crate.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Fence Middle.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Gem Pink.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Grass 3.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Grass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/3d-platformer/assets/Moving Platform.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Particle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/3d-platformer/assets/Pipe 90.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Pipe End.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Pipe Straight.glb
Binary file not shown.
Binary file added examples/3d-platformer/assets/Planet 8.glb
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/3d-platformer/assets/Shadow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added examples/3d-platformer/assets/SmoothParticle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/3d-platformer/assets/Soil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/3d-platformer/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion scripts/generate-database.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,11 @@ const extractExamples = async (
),
license: fileWithMetadata.license,
projectFileUrl: getResourceUrl(fileWithMetadata.path),
gdevelopVersion: '', //TODO: set to the GDevelop version used to author the example?
gdevelopVersion: usedExtensions
.map((exampleUsedExtension) => exampleUsedExtension.name)
.includes('Physics3D')
? '5.5.200'
: '', //TODO: set to the GDevelop version used to author the example?
};

return example;
Expand Down

0 comments on commit 24bb1d2

Please sign in to comment.