aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/objects
diff options
context:
space:
mode:
authorLibravatar David <david003@gmx.net>2022-07-16 14:34:11 +0200
committerLibravatar David <david003@gmx.net>2022-07-16 14:34:11 +0200
commitfe8d9853148e7d3a798d9e14cb0288f7538f88ba (patch)
tree00a87072e2b6a75099c64083e3260b19ff454417 /godot/scenes/objects
parent26151af89950d682cb62204461c02bf5abb23016 (diff)
download2022-fe8d9853148e7d3a798d9e14cb0288f7538f88ba.tar.gz
2022-fe8d9853148e7d3a798d9e14cb0288f7538f88ba.tar.bz2
2022-fe8d9853148e7d3a798d9e14cb0288f7538f88ba.zip
new node structure
Diffstat (limited to 'godot/scenes/objects')
-rw-r--r--godot/scenes/objects/Camera.tscn10
-rw-r--r--godot/scenes/objects/Player.tscn14
2 files changed, 24 insertions, 0 deletions
diff --git a/godot/scenes/objects/Camera.tscn b/godot/scenes/objects/Camera.tscn
new file mode 100644
index 0000000..1c13dd0
--- /dev/null
+++ b/godot/scenes/objects/Camera.tscn
@@ -0,0 +1,10 @@
+[gd_scene format=2]
+
+[node name="CameraRoot" type="Spatial"]
+
+[node name="CameraArmHorizontal" type="Spatial" parent="."]
+
+[node name="CameraArmVertical" type="Spatial" parent="CameraArmHorizontal"]
+
+[node name="Camera" type="Camera" parent="CameraArmHorizontal/CameraArmVertical"]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 10 )
diff --git a/godot/scenes/objects/Player.tscn b/godot/scenes/objects/Player.tscn
new file mode 100644
index 0000000..0d162f4
--- /dev/null
+++ b/godot/scenes/objects/Player.tscn
@@ -0,0 +1,14 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://scenes/objects/W8.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scenes/objects/Camera.tscn" type="PackedScene" id=2]
+[ext_resource path="res://native/BasicDie.gdns" type="Script" id=3]
+
+[node name="PlayerRoot" type="Spatial"]
+script = ExtResource( 3 )
+
+[node name="W8" parent="." instance=ExtResource( 1 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )
+
+[node name="Camera" parent="." instance=ExtResource( 2 )]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )