FantasyRun/Tiles/Tile1.tscn
Matthew Welch c1bb198be6 Start work on tile generator autoload
update tile positioning to work with the spawn points
2024-10-05 14:09:45 -07:00

44 lines
1.5 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://cvtgigpmwwv4g"]
[ext_resource type="Script" path="res://Tiles/tile.gd" id="1_wu32c"]
[ext_resource type="PackedScene" uid="uid://dh2nm1sphyfqx" path="res://Tiles/TilePath.tscn" id="2_ij0mq"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cwetn"]
cull_mode = 2
[sub_resource type="PlaneMesh" id="PlaneMesh_jju0s"]
material = SubResource("StandardMaterial3D_cwetn")
size = Vector2(10, 10)
[sub_resource type="PlaneMesh" id="PlaneMesh_rsriu"]
material = SubResource("StandardMaterial3D_cwetn")
size = Vector2(2, 10)
[sub_resource type="Curve3D" id="Curve3D_q1142"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -10),
"tilts": PackedFloat32Array(0, 0)
}
point_count = 2
[node name="Tile1" type="Node3D"]
script = ExtResource("1_wu32c")
[node name="Floor" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -5)
mesh = SubResource("PlaneMesh_jju0s")
[node name="Wall1" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, -5, 1, -5)
mesh = SubResource("PlaneMesh_rsriu")
[node name="Wall2" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0, 1, 5, 1, -5)
mesh = SubResource("PlaneMesh_rsriu")
[node name="SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -10)
[node name="MainPath" parent="." instance=ExtResource("2_ij0mq")]
curve = SubResource("Curve3D_q1142")