79 lines
2.8 KiB
Text
79 lines
2.8 KiB
Text
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://Levels/Level.gd" type="Script" id=1]
|
|
[ext_resource path="res://functional/ChargingStation.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://functional/Robot.tscn" type="PackedScene" id=3]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=1]
|
|
rough = true
|
|
absorbent = true
|
|
|
|
[sub_resource type="BoxShape" id=2]
|
|
extents = Vector3( 100, 1, 100 )
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
albedo_color = Color( 0.552941, 0.552941, 0.552941, 1 )
|
|
|
|
[sub_resource type="PlaneMesh" id=4]
|
|
material = SubResource( 3 )
|
|
size = Vector2( 200, 200 )
|
|
|
|
[node name="Level" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Robot" parent="." instance=ExtResource( 3 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.943766, 0 )
|
|
|
|
[node name="Chargers" type="Node" parent="."]
|
|
|
|
[node name="ChargingStation" parent="Chargers" instance=ExtResource( 2 )]
|
|
|
|
[node name="Node" type="Node" parent="."]
|
|
|
|
[node name="RoomBounds" type="StaticBody" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
[node name="CollisionFloor" type="CollisionShape" parent="RoomBounds"]
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="MeshFloor" type="MeshInstance" parent="RoomBounds/CollisionFloor"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
mesh = SubResource( 4 )
|
|
material/0 = null
|
|
|
|
[node name="CollisionWall0" type="CollisionShape" parent="RoomBounds"]
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 101, -101 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="MeshWall" type="MeshInstance" parent="RoomBounds/CollisionWall0"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
mesh = SubResource( 4 )
|
|
material/0 = null
|
|
|
|
[node name="CollisionWall1" type="CollisionShape" parent="RoomBounds"]
|
|
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 101, 101 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="MeshWall" type="MeshInstance" parent="RoomBounds/CollisionWall1"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
mesh = SubResource( 4 )
|
|
material/0 = null
|
|
|
|
[node name="CollisionWall2" type="CollisionShape" parent="RoomBounds"]
|
|
transform = Transform( -1.62921e-07, -1, -1.62921e-07, 0, -1.62921e-07, 1, -1, 1.62921e-07, 2.65431e-14, 101, 101, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="MeshWall" type="MeshInstance" parent="RoomBounds/CollisionWall2"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
mesh = SubResource( 4 )
|
|
material/0 = null
|
|
|
|
[node name="CollisionWall3" type="CollisionShape" parent="RoomBounds"]
|
|
transform = Transform( -1.62921e-07, 1, 1.62921e-07, 0, -1.62921e-07, 1, 1, 1.62921e-07, 2.65431e-14, -101, 101, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="MeshWall" type="MeshInstance" parent="RoomBounds/CollisionWall3"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
mesh = SubResource( 4 )
|
|
material/0 = null
|