Basic scenes
This commit is contained in:
parent
97a92fd86b
commit
f2be070719
7 changed files with 44 additions and 30 deletions
|
@ -1,11 +0,0 @@
|
||||||
[gd_scene load_steps=3 format=3 uid="uid://dm58bxgelaulw"]
|
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://deo07la7tmn3r" path="res://icon.svg" id="1_o34ws"]
|
|
||||||
[ext_resource type="Script" uid="uid://gf7nffb353sa" path="res://base/scripts/example.gd" id="1_otk24"]
|
|
||||||
|
|
||||||
[node name="Example" type="Node2D"]
|
|
||||||
script = ExtResource("1_otk24")
|
|
||||||
|
|
||||||
[node name="Icon" type="Sprite2D" parent="."]
|
|
||||||
position = Vector2(65, 65)
|
|
||||||
texture = ExtResource("1_o34ws")
|
|
7
base/scenes/game.tscn
Normal file
7
base/scenes/game.tscn
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://d23028pr0jahr"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bgnb01j1nphhi" path="res://base/scenes/rooms/test.tscn" id="1_sjeh3"]
|
||||||
|
|
||||||
|
[node name="Game" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="Test Room" parent="." instance=ExtResource("1_sjeh3")]
|
37
base/scenes/rooms/test.tscn
Normal file
37
base/scenes/rooms/test.tscn
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
[gd_scene format=3 uid="uid://bgnb01j1nphhi"]
|
||||||
|
|
||||||
|
[node name="Test Room" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="."]
|
||||||
|
|
||||||
|
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.165546, -1.07088, 0.522302)
|
||||||
|
size = Vector3(3.81107, 0.2, 4)
|
||||||
|
|
||||||
|
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0710793, 2.73804, 0.522302)
|
||||||
|
size = Vector3(4, 0.2, 4)
|
||||||
|
|
||||||
|
[node name="CSGBox3D8" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -0.0990143, 2.32989, -1.57805)
|
||||||
|
size = Vector3(0.2, 1.01166, 0.971985)
|
||||||
|
|
||||||
|
[node name="CSGBox3D7" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.31761, 0.85477, -1.56778)
|
||||||
|
size = Vector3(0.2, 3.98877, 1.49316)
|
||||||
|
|
||||||
|
[node name="CSGBox3D6" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 1.12367, 0.84423, -1.57926)
|
||||||
|
size = Vector3(0.2, 3.98877, 1.49316)
|
||||||
|
|
||||||
|
[node name="CSGBox3D5" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||||
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.141002, 0.808797, 2.61165)
|
||||||
|
size = Vector3(0.2, 3.98877, 4)
|
||||||
|
|
||||||
|
[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.16386, 0.837257, 0.503246)
|
||||||
|
size = Vector3(0.2, 3.98877, 3.95068)
|
||||||
|
|
||||||
|
[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.82441, 0.835289, 0.522302)
|
||||||
|
size = Vector3(0.2, 4, 4)
|
|
@ -1,10 +0,0 @@
|
||||||
extends Node2D
|
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
print('hello, gryadki!')
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(_delta: float) -> void:
|
|
||||||
pass
|
|
|
@ -1 +0,0 @@
|
||||||
uid://gf7nffb353sa
|
|
|
@ -1,7 +0,0 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://bxf4x8hp870i6"]
|
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dm58bxgelaulw" path="res://base/scenes/example.tscn" id="1_ig7tw"]
|
|
||||||
|
|
||||||
[node name="Main" type="Node2D"]
|
|
||||||
|
|
||||||
[node name="Example" parent="." instance=ExtResource("1_ig7tw")]
|
|
|
@ -11,6 +11,5 @@ config_version=5
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="Revenge of the Red Dragon Pon of the Red Dragon Pon of the Red Dragon Pon"
|
config/name="Revenge of the Red Dragon Pon of the Red Dragon Pon of the Red Dragon Pon"
|
||||||
run/main_scene="uid://bxf4x8hp870i6"
|
|
||||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue