From 77b1df606040a98e733c9e03bdedfe878c309436 Mon Sep 17 00:00:00 2001 From: Floppyrj45 Date: Sun, 19 Apr 2026 17:02:25 +0200 Subject: [PATCH] =?UTF-8?q?init:=20DauphinCraft=20setup=20=E2=80=94=20Godo?= =?UTF-8?q?t=204=20project=20scaffold?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 6 ++++++ CREDITS.md | 11 +++++++++++ README.md | 21 +++++++++++++++++++++ assets/.gitkeep | 0 audio/.gitkeep | 0 icon.svg | 1 + project.godot | 20 ++++++++++++++++++++ scenes/.gitkeep | 0 scenes/Main.tscn | 14 ++++++++++++++ scripts/.gitkeep | 0 shaders/.gitkeep | 0 11 files changed, 73 insertions(+) create mode 100644 .gitignore create mode 100644 CREDITS.md create mode 100644 README.md create mode 100644 assets/.gitkeep create mode 100644 audio/.gitkeep create mode 100644 icon.svg create mode 100644 project.godot create mode 100644 scenes/.gitkeep create mode 100644 scenes/Main.tscn create mode 100644 scripts/.gitkeep create mode 100644 shaders/.gitkeep 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