]> Untitled Git - lightcycles.git/blob - map/world.tscn
ab2aaae6fe1a5c25a2eeea87053420553609bc95
[lightcycles.git] / map / world.tscn
1 [gd_scene load_steps=7 format=3 uid="uid://6tmryoxhs3yq"]
2
3 [ext_resource type="PackedScene" uid="uid://dysxftv7xniv0" path="res://player/player.tscn" id="1_3tqxd"]
4 [ext_resource type="Script" path="res://map/world.gd" id="1_mjcfj"]
5 [ext_resource type="Texture2D" uid="uid://cp8pv6wya3ep2" path="res://textures/untextured.png" id="2_sxhh7"]
6
7 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ul8mq"]
8 albedo_color = Color(0.199732, 0.199732, 0.199732, 1)
9 albedo_texture = ExtResource("2_sxhh7")
10 uv1_scale = Vector3(20, 20, 20)
11 texture_filter = 0
12
13 [sub_resource type="PlaneMesh" id="PlaneMesh_43sel"]
14 material = SubResource("StandardMaterial3D_ul8mq")
15 size = Vector2(50, 50)
16
17 [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_mhr6o"]
18 data = PackedVector3Array(25, 0, 25, -25, 0, 25, 25, 0, -25, -25, 0, 25, -25, 0, -25, 25, 0, -25)
19
20 [node name="World" type="Node3D"]
21 script = ExtResource("1_mjcfj")
22
23 [node name="map" type="Node3D" parent="."]
24
25 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="map"]
26 transform = Transform3D(-0.866025, -0.433013, 0.25, 0, 0.5, 0.866025, -0.5, 0.75, -0.433013, 0, 10, 0)
27 shadow_enabled = true
28
29 [node name="MeshInstance3D" type="MeshInstance3D" parent="map"]
30 mesh = SubResource("PlaneMesh_43sel")
31 skeleton = NodePath("../..")
32
33 [node name="StaticBody3D" type="StaticBody3D" parent="map/MeshInstance3D"]
34
35 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/MeshInstance3D/StaticBody3D"]
36 shape = SubResource("ConcavePolygonShape3D_mhr6o")
37
38 [node name="player" parent="." instance=ExtResource("1_3tqxd")]
39 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16)
40 distance = 5.0
41
42 [connection signal="playerTurn" from="player" to="." method="_player_add_wall"]