Introduction
Dragon Fox Game Engine Docs
A toy engine for learning and fun! Written in Rust.
Component based architecture.
Features
- Rust powered
- Wgpu Rendering
- Scenes
Planned Features
- Scene Heirarchy Editor
- Lua Scripting
- PBR Rendering
- WESL Shaders
- ECS
File Formats
Known file formats for the game engine.
df_scene Scene Format
The scene format, based somewhat on Godot’s tscn.
The scene file represents a single scene for the game engine
Header
Header contains the format version and the id of the scene.
<df_scene version=1 id="18b756b3-7517-4d52-8fdc-24aa0f6b6d20">
Full Example
<df_scene version=1 id="18b756b3-7517-4d52-8fdc-24aa0f6b6d20">
<name="TopLevel" id=1000>
(Transform,"13d38dd2-9891-4d80-a261-a9b8d2adafe5")={"position":(1,2,3),"rotation":(0,0,0,1),"scale":(1,1,1)}
<name="SubNode" id=1001 parent="TopLevel">
(Transform,"13d38dd2-9891-4d80-a261-a9b8d2adafe5")={"position":(0,0,0),"rotation":(0.75,1,0.75,1),"scale":(2,2,2)}
(TestComponent,"12345dd2-9891-4d80-a261-a9b8d2adafe5")={"test_object":{"SerializedField":123},"test_string":"Hello, World!"}
<name="Sun" id=1002 parent="TopLevel">
(Transform,"13d38dd2-9891-4d80-a261-a9b8d2adafe5")={"position":(0,10,0),"rotation":(0.75,1,0.75,1),"scale":(1,1,1)}
(DirectionalLight,"0a82d6b3-3bf2-4700-8d66-a2de0da49025")={"color":(1,1,1,1),"brightness":100}