init: DauphinCraft setup — Godot 4 project scaffold

This commit is contained in:
Floppyrj45
2026-04-19 17:02:25 +02:00
commit 77b1df6060
11 changed files with 73 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
.godot/
*.import
export.cfg
export_presets.cfg
builds/
.import/

11
CREDITS.md Normal file
View File

@@ -0,0 +1,11 @@
# Credits
## Engine
- Godot Engine 4.6.2 — MIT License — https://godotengine.org
## Assets
_À compléter au fur et à mesure des phases_
| Asset | Source | Licence |
|-------|--------|---------|
| icon.svg | Créé manuellement | CC0 |

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
# DauphinCraft
Minecraft-like sous-marin — joue un dauphin dans un océan procédural.
## Lancer le projet
```bash
"/c/Users/flopp/Godot4/godot.exe" --path /c/Users/flopp/Nextcloud2/DauphinCraft
```
Ou ouvrir Godot 4, importer `project.godot`, puis F5.
## Structure
```
scenes/ Scènes Godot (.tscn)
scripts/ Scripts GDScript (.gd)
assets/ Modèles 3D, textures
audio/ Musique, effets sonores
shaders/ Shaders GLSL/Godot
```

0
assets/.gitkeep Normal file
View File

0
audio/.gitkeep Normal file
View File

1
icon.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><rect width="128" height="128" fill="#0b3d5c"/><circle cx="64" cy="64" r="40" fill="#4fc3f7"/><text x="64" y="78" text-anchor="middle" font-size="50" fill="white" font-family="sans-serif">D</text></svg>

After

Width:  |  Height:  |  Size: 290 B

20
project.godot Normal file
View File

@@ -0,0 +1,20 @@
; Engine configuration file.
config_version=5
[application]
config/name="DauphinCraft"
config/description="Minecraft-like sous-marin — joue un dauphin"
run/main_scene="res://scenes/Main.tscn"
config/features=PackedStringArray("4.6", "Forward Plus")
config/icon="res://icon.svg"
[display]
window/size/viewport_width=1280
window/size/viewport_height=720
window/size/mode=2
[input]
; Bindings custom — à compléter plus tard par le module dauphin
[rendering]
environment/defaults/default_clear_color=Color(0.05, 0.15, 0.25, 1)

0
scenes/.gitkeep Normal file
View File

14
scenes/Main.tscn Normal file
View File

@@ -0,0 +1,14 @@
[gd_scene load_steps=3 format=3]
[sub_resource type="SphereMesh" id="SphereMesh_1"]
[node name="Main" type="Node3D"]
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 5)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.707, 0.707, 0, -0.707, 0.707, 0, 3, 0)
[node name="Sphere" type="MeshInstance3D" parent="."]
mesh = SubResource("SphereMesh_1")

0
scripts/.gitkeep Normal file
View File

0
shaders/.gitkeep Normal file
View File