mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
324 lines
12 KiB
Text
324 lines
12 KiB
Text
[gd_scene load_steps=27 format=2]
|
|
|
|
[ext_resource path="res://Cannon/Cannon.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://Borders/tileset.png" type="Texture" id=2]
|
|
[ext_resource path="res://Ball/Ball.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://Pegs/Purple/PurplePeg.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://ControlElements/Killzone.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://Bucket/Bucket.tscn" type="PackedScene" id=6]
|
|
[ext_resource path="res://HUD/HUD.tscn" type="PackedScene" id=7]
|
|
[ext_resource path="res://Pegs/Pink/PinkPeg.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://Stages/Camera.gd" type="Script" id=9]
|
|
[ext_resource path="res://Stages/World.gd" type="Script" id=10]
|
|
[ext_resource path="res://Effects/FadeIn.tscn" type="PackedScene" id=11]
|
|
[ext_resource path="res://Stages/Background.png" type="Texture" id=12]
|
|
[ext_resource path="res://Pegs/Purple/PurpleBar.tscn" type="PackedScene" id=13]
|
|
[ext_resource path="res://Menu/Pause.tscn" type="PackedScene" id=14]
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=1]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=2]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=3]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=4]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=5]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=6]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=7]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=8]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="ConvexPolygonShape2D" id=9]
|
|
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
|
|
|
[sub_resource type="TileSet" id=10]
|
|
0/name = "tileset.png 0"
|
|
0/texture = ExtResource( 2 )
|
|
0/tex_offset = Vector2( 0, 0 )
|
|
0/modulate = Color( 1, 1, 1, 1 )
|
|
0/region = Rect2( 16, 16, 8, 8 )
|
|
0/tile_mode = 1
|
|
0/autotile/bitmask_mode = 1
|
|
0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27 ]
|
|
0/autotile/icon_coordinate = Vector2( 0, 0 )
|
|
0/autotile/tile_size = Vector2( 8, 8 )
|
|
0/autotile/spacing = 0
|
|
0/autotile/occluder_map = [ ]
|
|
0/autotile/navpoly_map = [ ]
|
|
0/autotile/priority_map = [ ]
|
|
0/autotile/z_index_map = [ ]
|
|
0/occluder_offset = Vector2( 0, 0 )
|
|
0/navigation_offset = Vector2( 0, 0 )
|
|
0/shape_offset = Vector2( 0, 0 )
|
|
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
0/shape_one_way = false
|
|
0/shape_one_way_margin = 0.0
|
|
0/shapes = [ ]
|
|
0/z_index = 0
|
|
1/name = "tileset.png 1"
|
|
1/texture = ExtResource( 2 )
|
|
1/tex_offset = Vector2( 0, 0 )
|
|
1/modulate = Color( 1, 1, 1, 1 )
|
|
1/region = Rect2( 0, 0, 24, 24 )
|
|
1/tile_mode = 2
|
|
1/autotile/icon_coordinate = Vector2( 0, 0 )
|
|
1/autotile/tile_size = Vector2( 8, 8 )
|
|
1/autotile/spacing = 0
|
|
1/autotile/occluder_map = [ ]
|
|
1/autotile/navpoly_map = [ ]
|
|
1/autotile/priority_map = [ ]
|
|
1/autotile/z_index_map = [ ]
|
|
1/occluder_offset = Vector2( 0, 0 )
|
|
1/navigation_offset = Vector2( 0, 0 )
|
|
1/shape_offset = Vector2( 0, 0 )
|
|
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
1/shape = SubResource( 1 )
|
|
1/shape_one_way = false
|
|
1/shape_one_way_margin = 1.0
|
|
1/shapes = [ {
|
|
"autotile_coord": Vector2( 0, 0 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 1 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
}, {
|
|
"autotile_coord": Vector2( 1, 0 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 2 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
}, {
|
|
"autotile_coord": Vector2( 2, 0 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 3 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
}, {
|
|
"autotile_coord": Vector2( 0, 1 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 4 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
}, {
|
|
"autotile_coord": Vector2( 1, 1 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 5 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
}, {
|
|
"autotile_coord": Vector2( 2, 1 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 6 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
}, {
|
|
"autotile_coord": Vector2( 0, 2 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 7 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
}, {
|
|
"autotile_coord": Vector2( 1, 2 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 8 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
}, {
|
|
"autotile_coord": Vector2( 2, 2 ),
|
|
"one_way": false,
|
|
"one_way_margin": 1.0,
|
|
"shape": SubResource( 9 ),
|
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
|
} ]
|
|
1/z_index = 0
|
|
|
|
[sub_resource type="StreamTexture" id=11]
|
|
resource_local_to_scene = true
|
|
flags = 2
|
|
load_path = "res://.import/sprite.png-06fb0593a7d59b4a8e86f4e1f0b64ea8.stex"
|
|
|
|
[sub_resource type="RectangleShape2D" id=12]
|
|
extents = Vector2( 192, 10 )
|
|
|
|
[node name="World" type="Node2D"]
|
|
script = ExtResource( 10 )
|
|
|
|
[node name="Transition" parent="." instance=ExtResource( 11 )]
|
|
|
|
[node name="Decoration" type="Node2D" parent="."]
|
|
|
|
[node name="Cannon" parent="Decoration" instance=ExtResource( 1 )]
|
|
light_mask = 0
|
|
z_index = 20
|
|
|
|
[node name="ParallaxBackground" type="ParallaxBackground" parent="Decoration"]
|
|
|
|
[node name="ParallaxLayer" type="ParallaxLayer" parent="Decoration/ParallaxBackground"]
|
|
motion_scale = Vector2( 0.5, 0.5 )
|
|
|
|
[node name="Background" type="Sprite" parent="Decoration/ParallaxBackground/ParallaxLayer"]
|
|
z_index = -200
|
|
texture = ExtResource( 12 )
|
|
region_enabled = true
|
|
region_rect = Rect2( 0, 0, 768, 432 )
|
|
|
|
[node name="TileMap" type="TileMap" parent="."]
|
|
tile_set = SubResource( 10 )
|
|
cell_size = Vector2( 8, 8 )
|
|
show_collision = true
|
|
collision_use_kinematic = true
|
|
collision_mask = 0
|
|
format = 1
|
|
tile_data = PoolIntArray( -655360, 1, 1, -655359, 1, 1, -655358, 1, 1, -655357, 1, 1, -655356, 1, 1, -655355, 1, 1, -655354, 1, 1, -655353, 1, 1, -655352, 1, 1, -655351, 1, 1, -655350, 1, 1, -655349, 1, 1, -655348, 1, 1, -655347, 1, 1, -655346, 1, 1, -655345, 1, 1, -655344, 1, 1, -655343, 1, 1, -655342, 1, 1, -655341, 1, 1, -655340, 1, 1, -655339, 1, 1, -655338, 1, 1, -655337, 1, 1, -655336, 1, 1, -655335, 1, 1, -655334, 1, 1, -655333, 1, 1, -655332, 1, 1, -655331, 1, 1, -655330, 1, 1, -655329, 1, 1, -655328, 1, 1, -655327, 1, 1, -655326, 1, 1, -655325, 1, 1, -655324, 1, 1, -655323, 1, 1, -655322, 1, 1, -655321, 1, 1, -655320, 1, 1, -655319, 1, 1, -655318, 1, 1, -655317, 1, 1, -655316, 1, 1, -655315, 1, 1, -655314, 1, 1, -655313, 1, 1, -589824, 1, 1, -589777, 1, 1, -524288, 1, 1, -524241, 1, 1, -458752, 1, 1, -458705, 1, 1, -393216, 1, 1, -393169, 1, 1, -327680, 1, 1, -327633, 1, 1, -262144, 1, 1, -262097, 1, 1, -196608, 1, 1, -196561, 1, 1, -131072, 1, 1, -131025, 1, 1, -65536, 1, 1, -65489, 1, 1, 0, 1, 1, 47, 1, 1, 65536, 1, 65538, 65583, 1, 1, 131072, 1, 65538, 131119, 1, 1, 196608, 1, 65538, 196655, 1, 1, 262144, 1, 65538, 262191, 1, 1, 327680, 1, 65538, 327727, 1, 1, 393216, 1, 65538, 393263, 1, 1, 458752, 1, 65538, 458799, 1, 1, 524288, 1, 65538, 524335, 1, 1, 589824, 1, 65538, 589871, 1, 1, 655360, 1, 65538, 655407, 1, 1, 720896, 1, 65538, 720943, 1, 1, 786432, 1, 65538, 786479, 1, 1, 851968, 1, 65538, 852015, 1, 1, 917504, 1, 65538, 917551, 1, 1, 983040, 1, 65538, 983087, 1, 1, 1048576, 1, 65538, 1048623, 1, 1, 1114112, 1, 65538, 1114159, 1, 1, 1179648, 1, 65538, 1179695, 1, 1, 1245184, 1, 65538, 1245231, 1, 1, 1310720, 1, 65537, 1310767, 1, 1, 1376256, 1, 1, 1376303, 1, 1, 1441792, 1, 1, 1441839, 1, 1, 1507328, 1, 1, 1507375, 1, 1, 1572864, 1, 1, 1572911, 1, 1, 1638400, 1, 1, 1638447, 1, 1, 1703936, 1, 1, 1703983, 1, 1, 1769472, 1, 1, 1769519, 1, 1, 1835008, 1, 1, 1835055, 1, 1, 1900544, 1, 1, 1900591, 1, 1, 1966080, 1, 1, 1966127, 1, 1, 2031616, 1, 1, 2031663, 1, 1, 2097152, 1, 1, 2097199, 1, 1, 2162688, 1, 1, 2162735, 1, 1, 2228224, 1, 1, 2228271, 1, 1 )
|
|
|
|
[node name="Ball" parent="." instance=ExtResource( 3 )]
|
|
position = Vector2( 192, 8 )
|
|
mode = 1
|
|
mass = 0.51
|
|
can_sleep = false
|
|
|
|
[node name="CameraTransform" parent="Ball" index="0"]
|
|
remote_path = NodePath("../../Camera")
|
|
|
|
[node name="Sprite" parent="Ball" index="1"]
|
|
texture = SubResource( 11 )
|
|
|
|
[node name="Camera" type="Camera2D" parent="."]
|
|
position = Vector2( 192, 8 )
|
|
current = true
|
|
zoom = Vector2( 0.975, 0.975 )
|
|
limit_left = 0
|
|
limit_top = 0
|
|
limit_right = 384
|
|
limit_bottom = 216
|
|
limit_smoothed = true
|
|
smoothing_enabled = true
|
|
smoothing_speed = 2.5
|
|
drag_margin_left = 0.0
|
|
drag_margin_top = 0.0
|
|
drag_margin_right = 0.0
|
|
drag_margin_bottom = 0.0
|
|
editor_draw_limits = true
|
|
editor_draw_drag_margin = true
|
|
script = ExtResource( 9 )
|
|
|
|
[node name="Safezone" type="Area2D" parent="."]
|
|
position = Vector2( 192, 8 )
|
|
collision_layer = 2
|
|
collision_mask = 2
|
|
|
|
[node name="Safezone" type="CollisionShape2D" parent="Safezone"]
|
|
shape = SubResource( 12 )
|
|
|
|
[node name="Safezone2" type="CollisionShape2D" parent="Safezone"]
|
|
position = Vector2( 0, 264 )
|
|
shape = SubResource( 12 )
|
|
|
|
[node name="Killzone" parent="." instance=ExtResource( 5 )]
|
|
position = Vector2( 0, 248 )
|
|
|
|
[node name="Pegs" type="Node2D" parent="."]
|
|
|
|
[node name="PurplePeg" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 168, 48 )
|
|
|
|
[node name="PurplePeg2" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 216, 48 )
|
|
|
|
[node name="PurplePeg3" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 168, 64 )
|
|
|
|
[node name="PurplePeg4" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 216, 64 )
|
|
|
|
[node name="PurplePeg5" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 168, 80 )
|
|
|
|
[node name="PurplePeg6" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 216, 80 )
|
|
|
|
[node name="PurplePeg7" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 168, 96 )
|
|
|
|
[node name="PurplePeg8" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 216, 96 )
|
|
|
|
[node name="PurplePeg9" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 168, 112 )
|
|
|
|
[node name="PurplePeg10" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 216, 112 )
|
|
|
|
[node name="PurplePeg11" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 168, 128 )
|
|
|
|
[node name="PurplePeg12" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 216, 128 )
|
|
|
|
[node name="PurplePeg13" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 168, 144 )
|
|
|
|
[node name="PurplePeg14" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 216, 144 )
|
|
|
|
[node name="PurplePeg18" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 176, 172 )
|
|
|
|
[node name="PinkPeg3" parent="Pegs" instance=ExtResource( 8 )]
|
|
position = Vector2( 192, 176 )
|
|
|
|
[node name="PurplePeg19" parent="Pegs" instance=ExtResource( 4 )]
|
|
position = Vector2( 208, 172 )
|
|
|
|
[node name="PinkPeg" parent="Pegs" instance=ExtResource( 8 )]
|
|
position = Vector2( 111, 47 )
|
|
|
|
[node name="PinkPeg2" parent="Pegs" instance=ExtResource( 8 )]
|
|
position = Vector2( 168, 160 )
|
|
|
|
[node name="StaticBody2D" parent="Pegs" instance=ExtResource( 13 )]
|
|
position = Vector2( 283, 80 )
|
|
rotation = -0.785397
|
|
|
|
[node name="StaticBody2D2" parent="Pegs" instance=ExtResource( 13 )]
|
|
position = Vector2( 259, 104 )
|
|
rotation = -0.785397
|
|
|
|
[node name="StaticBody2D3" parent="Pegs" instance=ExtResource( 13 )]
|
|
position = Vector2( 235, 128 )
|
|
rotation = -0.785397
|
|
|
|
[node name="StaticBody2D4" parent="Pegs" instance=ExtResource( 13 )]
|
|
position = Vector2( 40, 116 )
|
|
rotation = 3.14159
|
|
|
|
[node name="StaticBody2D5" parent="Pegs" instance=ExtResource( 13 )]
|
|
position = Vector2( 64, 140 )
|
|
rotation = 3.14159
|
|
|
|
[node name="StaticBody2D6" parent="Pegs" instance=ExtResource( 13 )]
|
|
position = Vector2( 88, 164 )
|
|
rotation = 3.14159
|
|
|
|
[node name="PinkPeg4" parent="Pegs" instance=ExtResource( 8 )]
|
|
position = Vector2( 216, 160 )
|
|
|
|
[node name="Bucket" parent="." instance=ExtResource( 6 )]
|
|
position = Vector2( 192, 209 )
|
|
|
|
[node name="HUD" parent="." instance=ExtResource( 7 )]
|
|
|
|
[node name="Pause" parent="." instance=ExtResource( 14 )]
|
|
|
|
[editable path="Ball"]
|