[gd_scene load_steps=8 format=2] [ext_resource path="res://gamescene.gd" type="Script" id=1] [ext_resource path="res://art/bg.png" type="Texture" id=2] [ext_resource path="res://cam.gd" type="Script" id=3] [ext_resource path="res://player.tscn" type="PackedScene" id=4] [ext_resource path="res://Wall_Spawner.tscn" type="PackedScene" id=5] [ext_resource path="res://art/wall.png" type="Texture" id=6] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 32, 15.6897 ) [node name="Gamescene" type="Node2D"] script = ExtResource( 1 ) [node name="bg" type="Sprite" parent="."] position = Vector2( 320, 240 ) texture = ExtResource( 2 ) __meta__ = { "_edit_lock_": true } [node name="cam" type="Camera2D" parent="."] position = Vector2( 296, 240 ) current = true drag_margin_h_enabled = true drag_margin_v_enabled = true script = ExtResource( 3 ) [node name="Player" parent="." instance=ExtResource( 4 )] position = Vector2( 199.446, 96.3989 ) [node name="Wall_Spawner" parent="." instance=ExtResource( 5 )] position = Vector2( 671.423, 111.06 ) [node name="fieldwall" type="StaticBody2D" parent="."] position = Vector2( 320, -16 ) scale = Vector2( 10.125, 1 ) __meta__ = { "_edit_lock_": true } [node name="Sprite" type="Sprite" parent="fieldwall"] texture = ExtResource( 6 ) __meta__ = { "_edit_lock_": true } [node name="CollisionShape2D" type="CollisionShape2D" parent="fieldwall"] position = Vector2( 0, -1.67308 ) scale = Vector2( 1, 0.945607 ) shape = SubResource( 1 ) __meta__ = { "_edit_lock_": true } [node name="leveltimer" type="Timer" parent="."] wait_time = 15.0 autostart = true [connection signal="gameover" from="Player" to="." method="_on_Player_gameover"] [connection signal="laser_spawned" from="Wall_Spawner" to="." method="_on_Wall_Spawner_laser_spawned"] [connection signal="wall_spawned" from="Wall_Spawner" to="." method="_on_Wall_Spawner_wall_spawned"] [connection signal="timeout" from="leveltimer" to="." method="_on_leveltimer_timeout"]