commit 77b1df606040a98e733c9e03bdedfe878c309436 Author: Floppyrj45 Date: Sun Apr 19 17:02:25 2026 +0200 init: DauphinCraft setup — Godot 4 project scaffold diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc523b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.godot/ +*.import +export.cfg +export_presets.cfg +builds/ +.import/ diff --git a/CREDITS.md b/CREDITS.md new file mode 100644 index 0000000..ed05a07 --- /dev/null +++ b/CREDITS.md @@ -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 | diff --git a/README.md b/README.md new file mode 100644 index 0000000..7478085 --- /dev/null +++ b/README.md @@ -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 +``` diff --git a/assets/.gitkeep b/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/audio/.gitkeep b/audio/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..542b5cf --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ +D diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..275503c --- /dev/null +++ b/project.godot @@ -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) diff --git a/scenes/.gitkeep b/scenes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/scenes/Main.tscn b/scenes/Main.tscn new file mode 100644 index 0000000..8193102 --- /dev/null +++ b/scenes/Main.tscn @@ -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") diff --git a/scripts/.gitkeep b/scripts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/shaders/.gitkeep b/shaders/.gitkeep new file mode 100644 index 0000000..e69de29