Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FlexYourBrain/Basic3d_TreasureScene
Stylized 3D scene for the Defold game engine
https://github.com/FlexYourBrain/Basic3d_TreasureScene
Last synced: 4 months ago
JSON representation
Stylized 3D scene for the Defold game engine
- Host: GitHub
- URL: https://github.com/FlexYourBrain/Basic3d_TreasureScene
- Owner: FlexYourBrain
- License: mit
- Created: 2023-07-01T23:28:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T14:07:03.000Z (4 months ago)
- Last Synced: 2024-09-17T16:39:46.264Z (4 months ago)
- Language: Lua
- Size: 14.2 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-defold - Treasure 3D
README
# Treasure 3d scene
This project showcases some of defolds rendering features for a 3d scene.
["Play The Scene Demo"](https://flexyourbrain.itch.io/treasure-scene)
**Key Controls** :- Left Mouse | open/close chest
- D or right arrow | turntable right
- A or left arrow | turntable left**Features** :
- Particles in 3d space
- Sprite animation as decal in 3d space
- Animated glTF model
- Single atlas texture for all models in scene (2k resolution)
- Baked lighting in texture
- Alpha transparency used on 3d model
- Single blend pass for (models,sprites,particles etc.) transparency (see render script)The project contains a bootstrap ["main.collection"](defold://open?path=/main/main.collection) that includes game objects, camera component and script that sets a background color, sets the camera to active slot in render script and takes input for mouse and keyboard to make the camera turntable and treasure chest open and close.
Tip: when you first open the main collection select "scene" game object in the outline then press the f key to focus the scene view to that object.
Check out [the documentation pages](https://defold.com/learn) for examples, tutorials, manuals and API docs.
If you run into trouble, check out the Defold [forum](https://forum.defold.com)
Art Credit : Agustin R.