diff options
author | David <david003@gmx.net> | 2022-07-15 17:33:27 +0200 |
---|---|---|
committer | David <david003@gmx.net> | 2022-07-15 17:33:27 +0200 |
commit | a46a91e183a272e012354a6f0263299448205acb (patch) | |
tree | b0700f933db7149c1b95afed2e04d53772f7e2dc /godot/scenes | |
download | 2022-a46a91e183a272e012354a6f0263299448205acb.tar.gz 2022-a46a91e183a272e012354a6f0263299448205acb.tar.bz2 2022-a46a91e183a272e012354a6f0263299448205acb.zip |
initial commit: template
Diffstat (limited to '')
-rw-r--r-- | godot/scenes/Game.tscn | 18 | ||||
-rw-r--r-- | godot/scenes/SpinningCube.tscn | 6 |
2 files changed, 24 insertions, 0 deletions
diff --git a/godot/scenes/Game.tscn b/godot/scenes/Game.tscn new file mode 100644 index 0000000..a37a7eb --- /dev/null +++ b/godot/scenes/Game.tscn @@ -0,0 +1,18 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://native/Game.gdns" type="Script" id=1] +[ext_resource path="res://scenes/SpinningCube.tscn" type="PackedScene" id=2] + +[sub_resource type="CubeMesh" id=1] + +[node name="Game" type="Spatial"] +script = ExtResource( 1 ) + +[node name="Camera" type="Camera" parent="."] +transform = Transform( 0.572229, -0.327396, 0.751909, 0, 0.916856, 0.399217, -0.820094, -0.228443, 0.524651, 4.71648, 2.5, 3.45846 ) +current = true + +[node name="SpinningCube" parent="." instance=ExtResource( 2 )] +mesh = SubResource( 1 ) +material/0 = null +base/rotate_speed = 1.0 diff --git a/godot/scenes/SpinningCube.tscn b/godot/scenes/SpinningCube.tscn new file mode 100644 index 0000000..4a41ab3 --- /dev/null +++ b/godot/scenes/SpinningCube.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://native/SpinningCube.gdns" type="Script" id=1] + +[node name="SpinningCube" type="MeshInstance"] +script = ExtResource( 1 ) |