]> Untitled Git - baabarian.git/blob - map/test.tscn
* Added falling animation
[baabarian.git] / map / test.tscn
1 [gd_scene load_steps=15 format=3 uid="uid://c1bxy5s8fvheq"]
2
3 [ext_resource type="Script" uid="uid://dpsqolvx3mdic" path="res://class/Scene.gd" id="1_f4bcd"]
4 [ext_resource type="Script" uid="uid://dd3sep8kprktl" path="res://class/ux/debug_overlay.gd" id="2_415ew"]
5 [ext_resource type="Script" uid="uid://mgg7ii0w4vod" path="res://class/ux/debug_stats.gd" id="3_eopnw"]
6 [ext_resource type="Script" uid="uid://bocc5xwqtbkbb" path="res://class/ux/debug_draw_3d.gd" id="4_t5fek"]
7 [ext_resource type="PackedScene" uid="uid://ch6s2gvhi64uh" path="res://player/player.tscn" id="5_51i4e"]
8 [ext_resource type="Texture2D" uid="uid://dpjg45owgorg2" path="res://texture/untextured.png" id="6_gj21c"]
9 [ext_resource type="PackedScene" uid="uid://bx83k2u0snfjc" path="res://asset/cube.tscn" id="7_r4qir"]
10 [ext_resource type="PackedScene" uid="uid://yutmq76fj37a" path="res://asset/pin.tscn" id="8_skyas"]
11
12 [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_mf4mk"]
13 sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
14 ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
15
16 [sub_resource type="Sky" id="Sky_37kl0"]
17 sky_material = SubResource("ProceduralSkyMaterial_mf4mk")
18
19 [sub_resource type="Environment" id="Environment_8uh7m"]
20 background_mode = 2
21 sky = SubResource("Sky_37kl0")
22 tonemap_mode = 2
23 glow_enabled = true
24
25 [sub_resource type="PlaneMesh" id="PlaneMesh_mf4mk"]
26 size = Vector2(222, 222)
27
28 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_37kl0"]
29 albedo_color = Color(0.133333, 0.278431, 0.133333, 1)
30 albedo_texture = ExtResource("6_gj21c")
31 uv1_scale = Vector3(10, 10, 10)
32 uv1_world_triplanar = true
33
34 [sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_37kl0"]
35 data = PackedVector3Array(111, 0, 111, -111, 0, 111, 111, 0, -111, -111, 0, 111, -111, 0, -111, 111, 0, -111)
36
37 [node name="Test" type="Node3D"]
38 script = ExtResource("1_f4bcd")
39
40 [node name="debug" type="CanvasLayer" parent="."]
41 unique_name_in_owner = true
42 script = ExtResource("2_415ew")
43
44 [node name="DebugStats" type="MarginContainer" parent="debug"]
45 offset_right = 40.0
46 offset_bottom = 40.0
47 theme_override_constants/margin_left = 5
48 theme_override_constants/margin_top = 5
49 theme_override_constants/margin_right = 5
50 theme_override_constants/margin_bottom = 5
51 script = ExtResource("3_eopnw")
52
53 [node name="DebugDraw3D" type="Control" parent="debug"]
54 layout_mode = 3
55 anchors_preset = 0
56 offset_right = 40.0
57 offset_bottom = 40.0
58 script = ExtResource("4_t5fek")
59
60 [node name="player" parent="." instance=ExtResource("5_51i4e")]
61
62 [node name="map" type="Node3D" parent="."]
63
64 [node name="WorldEnvironment" type="WorldEnvironment" parent="map"]
65 environment = SubResource("Environment_8uh7m")
66
67 [node name="DirectionalLight3D" type="DirectionalLight3D" parent="map"]
68 transform = Transform3D(1, 0, 0, 0, 0.499998, 0.866027, 0, -0.866027, 0.499998, 0, 0, 0)
69 shadow_enabled = true
70
71 [node name="MeshInstance3D" type="MeshInstance3D" parent="map"]
72 mesh = SubResource("PlaneMesh_mf4mk")
73 skeleton = NodePath("../..")
74 surface_material_override/0 = SubResource("StandardMaterial3D_37kl0")
75
76 [node name="StaticBody3D" type="StaticBody3D" parent="map/MeshInstance3D"]
77 collision_mask = 7
78
79 [node name="CollisionShape3D" type="CollisionShape3D" parent="map/MeshInstance3D/StaticBody3D"]
80 shape = SubResource("ConcavePolygonShape3D_37kl0")
81
82 [node name="bowling" type="Node3D" parent="."]
83 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 32)
84
85 [node name="Pin" parent="bowling" instance=ExtResource("8_skyas")]
86 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1, 34)
87
88 [node name="Pin2" parent="bowling" instance=ExtResource("8_skyas")]
89 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 34)
90
91 [node name="Pin3" parent="bowling" instance=ExtResource("8_skyas")]
92 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, 34)
93
94 [node name="Pin4" parent="bowling" instance=ExtResource("8_skyas")]
95 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 1, 34)
96
97 [node name="Pin5" parent="bowling" instance=ExtResource("8_skyas")]
98 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 1, 32)
99
100 [node name="Pin6" parent="bowling" instance=ExtResource("8_skyas")]
101 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 32)
102
103 [node name="Pin7" parent="bowling" instance=ExtResource("8_skyas")]
104 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, 32)
105
106 [node name="Pin8" parent="bowling" instance=ExtResource("8_skyas")]
107 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 30)
108
109 [node name="Pin9" parent="bowling" instance=ExtResource("8_skyas")]
110 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, 30)
111
112 [node name="Pin10" parent="bowling" instance=ExtResource("8_skyas")]
113 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 28)
114
115 [node name="Cube" parent="bowling" instance=ExtResource("7_r4qir")]
116 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 2)