From f5d12765d8ef7175b6f577f2c47d19fda41dc68e Mon Sep 17 00:00:00 2001 From: gary Date: Mon, 23 Feb 2026 15:53:27 +0100 Subject: [PATCH] chore: bootstrap Godot 4 project skeleton --- README.md | 10 ++++++++++ project.godot | 14 ++++++++++++++ scenes/main.tscn | 19 +++++++++++++++++++ scripts/main.gd | 4 ++++ 4 files changed, 47 insertions(+) create mode 100644 README.md create mode 100644 project.godot create mode 100644 scenes/main.tscn create mode 100644 scripts/main.gd diff --git a/README.md b/README.md new file mode 100644 index 0000000..6e9f31d --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# star_taxi_godot_test + +Godot 4 test project for Nico. + +Status: bootstrap in progress. + +Planned first deliverable: +- minimal 3D drive scene +- Android export preset +- APK test build diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..d0469bf --- /dev/null +++ b/project.godot @@ -0,0 +1,14 @@ +; Engine configuration file. +; It's best edited using the editor and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] +config/name="Star Taxi Godot Test" +run/main_scene="res://scenes/main.tscn" +config/features=PackedStringArray("4.0") diff --git a/scenes/main.tscn b/scenes/main.tscn new file mode 100644 index 0000000..ada3ba9 --- /dev/null +++ b/scenes/main.tscn @@ -0,0 +1,19 @@ +[gd_scene load_steps=3 format=3 uid="uid://b7v4hq80m6g3m"] + +[ext_resource type="Script" path="res://scripts/main.gd" id="1_qq1"] + +[node name="Main" type="Node3D"] +script = ExtResource("1_qq1") + +[node name="Camera3D" type="Camera3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6, 10) +rotation_degrees = Vector3(-25, 0, 0) + +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 0.819152, 0.573576, 0, -0.573576, 0.819152, 0, 4, 0) + +[node name="Road" type="MeshInstance3D" parent="."] +mesh = SubResource("PlaneMesh_road") + +[sub_resource type="PlaneMesh" id="PlaneMesh_road"] +size = Vector2(8, 30) diff --git a/scripts/main.gd b/scripts/main.gd new file mode 100644 index 0000000..b6ca9b1 --- /dev/null +++ b/scripts/main.gd @@ -0,0 +1,4 @@ +extends Node3D + +func _ready() -> void: + print("Star Taxi Godot test scene ready")