[gd_scene load_steps=27 format=2] [ext_resource path="res://floor.png" type="Texture" id=1] [ext_resource path="res://sky.tscn" type="PackedScene" id=2] [ext_resource path="res://jail.tscn" type="PackedScene" id=3] [ext_resource path="res://Spatial.gd" type="Script" id=4] [ext_resource path="res://basefloor.gd" type="Script" id=5] [ext_resource path="res://vera/Vera.ttf" type="DynamicFontData" id=6] [ext_resource path="res://vera/VeraBd.ttf" type="DynamicFontData" id=7] [ext_resource path="res://music.mp3" type="AudioStream" id=8] [ext_resource path="res://sfx/p0/Power Up.wav" type="AudioStream" id=9] [ext_resource path="res://sfx/p1/Power Up.wav" type="AudioStream" id=10] [ext_resource path="res://sfx/p2/Power Up.wav" type="AudioStream" id=11] [ext_resource path="res://sfx/p3/Power Up.wav" type="AudioStream" id=12] [sub_resource type="PlaneMesh" id=1] size = Vector2( 20, 40 ) [sub_resource type="SpatialMaterial" id=8] flags_transparent = true albedo_color = Color( 0.490196, 0.282353, 0.584314, 0.772549 ) [sub_resource type="BoxShape" id=2] extents = Vector3( 10, 1, 20 ) [sub_resource type="SpatialMaterial" id=12] albedo_texture = ExtResource( 1 ) [sub_resource type="Environment" id=7] ambient_light_color = Color( 1, 1, 1, 1 ) ambient_light_sky_contribution = 0.25 [sub_resource type="BoxShape" id=5] extents = Vector3( 1, 40, 10 ) [sub_resource type="BoxShape" id=3] extents = Vector3( 1, 40, 12 ) [sub_resource type="CylinderShape" id=9] height = 1.0 radius = 1.8 [sub_resource type="CylinderMesh" id=10] [sub_resource type="SpatialMaterial" id=14] albedo_color = Color( 0.415686, 0.305882, 0.545098, 1 ) [sub_resource type="SphereShape" id=11] radius = 6.565 [sub_resource type="DynamicFont" id=17] size = 32 use_filter = true font_data = ExtResource( 7 ) [sub_resource type="DynamicFont" id=13] size = 48 use_mipmaps = true use_filter = true font_data = ExtResource( 6 ) [sub_resource type="DynamicFont" id=16] size = 32 use_filter = true font_data = ExtResource( 7 ) [node name="Spatial" type="Spatial"] script = ExtResource( 4 ) [node name="mesh" type="MeshInstance" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.66808, 0 ) [node name="MeshInstance2" type="MeshInstance" parent="mesh"] transform = Transform( 0.375, 0, 0, 0, 1, 0, 0, 0, 0.188, 0, -4.49062, 0 ) sorting_offset = -5.0 mesh = SubResource( 1 ) material/0 = SubResource( 8 ) [node name="basefloor" type="StaticBody" parent="mesh/MeshInstance2"] script = ExtResource( 5 ) [node name="CollisionShape" type="CollisionShape" parent="mesh/MeshInstance2/basefloor"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 ) shape = SubResource( 2 ) [node name="floor2" type="Spatial" parent="."] [node name="MeshInstance" type="MeshInstance" parent="floor2"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.5, 0.11645, -0.833609, 0 ) mesh = SubResource( 1 ) skeleton = NodePath("../..") material/0 = SubResource( 12 ) [node name="StaticBody" type="StaticBody" parent="floor2/MeshInstance"] [node name="CollisionShape" type="CollisionShape" parent="floor2/MeshInstance/StaticBody"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 ) shape = SubResource( 2 ) [node name="Camera" type="Camera" parent="."] transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 7.46512, 8.14918 ) environment = SubResource( 7 ) [node name="walls" type="Spatial" parent="."] [node name="Node4" type="StaticBody" parent="walls"] transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, -13 ) collision_layer = 3 collision_mask = 3 [node name="CollisionShape2" type="CollisionShape" parent="walls/Node4"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0 ) shape = SubResource( 5 ) [node name="MeshInstance" type="MeshInstance" parent="walls/Node4"] [node name="Node3" type="StaticBody" parent="walls"] transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 7.5 ) collision_layer = 3 collision_mask = 3 [node name="CollisionShape2" type="CollisionShape" parent="walls/Node3"] shape = SubResource( 5 ) [node name="MeshInstance" type="MeshInstance" parent="walls/Node3"] [node name="Node6" type="StaticBody" parent="walls"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 0 ) collision_layer = 3 collision_mask = 3 [node name="CollisionShape" type="CollisionShape" parent="walls/Node6"] shape = SubResource( 3 ) [node name="MeshInstance" type="MeshInstance" parent="walls/Node6"] [node name="Node5" type="StaticBody" parent="walls"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 8.50955, 0 ) collision_layer = 3 collision_mask = 3 [node name="CollisionShape" type="CollisionShape" parent="walls/Node5"] shape = SubResource( 3 ) [node name="MeshInstance" type="MeshInstance" parent="walls/Node5"] [node name="DirectionalLight" type="DirectionalLight" parent="."] transform = Transform( 0.892224, -0.0689083, 0.446306, -0.451594, -0.136144, 0.881775, 0, -0.98829, -0.152589, 0.895573, 11.4073, -2.06028 ) light_energy = 0.3 shadow_enabled = true [node name="jail" parent="." instance=ExtResource( 3 )] transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 15.315, 0 ) contacts_reported = 3 contact_monitor = true [node name="reserved" type="RigidBody" parent="."] collision_layer = 3 collision_mask = 3 mode = 1 continuous_cd = true can_sleep = false [node name="CollisionShape" type="CollisionShape" parent="reserved"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.482761, 0 ) shape = SubResource( 9 ) [node name="MeshInstance" type="MeshInstance" parent="reserved"] transform = Transform( 1.8, 0, 0, 0, 1.8, 0, 0, 0, 1.81, 0, -2.65038, 0 ) mesh = SubResource( 10 ) [node name="reserved2" type="RigidBody" parent="."] collision_layer = 4 collision_mask = 4 mode = 1 continuous_cd = true [node name="CollisionShape" type="CollisionShape" parent="reserved2"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.01591, 0 ) shape = SubResource( 9 ) [node name="MeshInstance" type="MeshInstance" parent="reserved2"] transform = Transform( 1.8, 0, 0, 0, 1.8, 0, 0, 0, 1.81, 0, -2.53708, 0 ) mesh = SubResource( 10 ) material/0 = SubResource( 14 ) [node name="StaticBody" type="StaticBody" parent="."] [node name="CollisionShape" type="CollisionShape" parent="StaticBody"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.6885, 0 ) shape = SubResource( 11 ) [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="cc" type="CenterContainer" parent="CanvasLayer"] anchor_right = 1.0 margin_right = 40.0 margin_bottom = 40.0 __meta__ = { "_edit_use_anchors_": true } [node name="hb" type="HBoxContainer" parent="CanvasLayer/cc"] margin_left = 527.0 margin_right = 1433.0 margin_bottom = 57.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="pink" type="Label" parent="CanvasLayer/cc/hb"] margin_top = 9.0 margin_right = 230.0 margin_bottom = 47.0 custom_colors/font_color = Color( 1, 0, 1, 1 ) custom_fonts/font = SubResource( 17 ) text = "Team Pink: 0" [node name="time_left" type="Label" parent="CanvasLayer/cc/hb"] margin_left = 234.0 margin_right = 641.0 margin_bottom = 57.0 custom_colors/font_color = Color( 1, 1, 1, 1 ) custom_constants/shadow_as_outline = 1 custom_fonts/font = SubResource( 13 ) text = "Time left: 00:00" align = 1 valign = 1 uppercase = true [node name="green" type="Label" parent="CanvasLayer/cc/hb"] margin_left = 645.0 margin_top = 9.0 margin_right = 906.0 margin_bottom = 47.0 custom_colors/font_color = Color( 0, 1, 0, 1 ) custom_fonts/font = SubResource( 16 ) text = "Team Green: 0" align = 1 valign = 1 [node name="sky" parent="." instance=ExtResource( 2 )] transform = Transform( 15, 0, 0, 0, 10.6066, 10.6066, 0, -10.6066, 10.6066, 0, 0, 0 ) [node name="powerup_timer" type="Timer" parent="."] [node name="game_time" type="Timer" parent="."] [node name="box_timer" type="Timer" parent="."] [node name="music" type="AudioStreamPlayer" parent="."] stream = ExtResource( 8 ) [node name="powerup" type="Node" parent="."] [node name="p0" type="AudioStreamPlayer" parent="powerup"] stream = ExtResource( 9 ) [node name="p1" type="AudioStreamPlayer" parent="powerup"] stream = ExtResource( 10 ) [node name="p2" type="AudioStreamPlayer" parent="powerup"] stream = ExtResource( 11 ) [node name="p3" type="AudioStreamPlayer" parent="powerup"] stream = ExtResource( 12 )