done with the scrump

This commit is contained in:
pennyrigate 2023-02-20 23:28:34 -05:00
parent 298308d805
commit f4a6c97ca1
39 changed files with 1147 additions and 8 deletions

View file

@ -12,3 +12,10 @@ func _on_Boss1_entered_phase(phase):
$DelayedArrow2.start()
3:
$DelayedArrow3.start()
4:
$ExitTimer.start()
func _on_ExitTimer_timeout():
Game.save()
Game.change_map(load("res://maps/level_select.tscn"))

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=13 format=2]
[gd_scene load_steps=14 format=2]
[ext_resource path="res://objects/enemy/boss/boss1.tscn" type="PackedScene" id=1]
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=2]
@ -12,6 +12,7 @@
[ext_resource path="res://objects/environment/ladder/ladder.tscn" type="PackedScene" id=10]
[ext_resource path="res://audio/music/klystron.mp3" type="AudioStream" id=11]
[ext_resource path="res://objects/delayed_instance.tscn" type="PackedScene" id=12]
[ext_resource path="res://objects/environment/death tile/death_tile.tscn" type="PackedScene" id=13]
[node name="Map" type="Node2D" groups=["map"]]
pause_mode = 1
@ -40,7 +41,11 @@ __meta__ = {
tile_set = ExtResource( 5 )
cell_size = Vector2( 8, 8 )
format = 1
tile_data = PoolIntArray( 720907, 0, 65536, 720908, 0, 65537, 720909, 0, 65538, 851972, 0, 65536, 851973, 0, 65538, 851974, 0, 65538, 1114122, 0, 65536, 1114123, 0, 65537, 1114124, 0, 65537, 1114125, 0, 65538, 1310723, 0, 65536, 1310724, 0, 65537, 1310725, 0, 65537, 1310726, 0, 65537, 1310727, 0, 65537, 1310728, 0, 65537, 1310729, 0, 65537, 1310730, 0, 65537, 1310731, 0, 65537, 1310732, 0, 65537, 1310733, 0, 65537, 1310734, 0, 65537, 1310735, 0, 65537, 1310736, 0, 65537, 1310737, 0, 65537, 1310738, 0, 65537, 1310739, 0, 65537, 1310740, 0, 65538 )
tile_data = PoolIntArray( -65537, 0, 0, -131072, 0, 0, -131071, 0, 0, -131070, 0, 0, -131069, 0, 0, -131068, 0, 0, -131067, 0, 0, -131066, 0, 0, -131065, 0, 0, -131064, 0, 0, -131063, 0, 0, -131062, 0, 0, -131061, 0, 0, -131060, 0, 0, -131059, 0, 0, -131058, 0, 0, -131057, 0, 0, -131056, 0, 0, -131055, 0, 0, -131054, 0, 0, -131053, 0, 0, -131052, 0, 0, -131051, 0, 0, -131050, 0, 0, -131049, 0, 0, -131048, 0, 0, -131047, 0, 0, -131046, 0, 0, -131045, 0, 0, -131044, 0, 0, -131043, 0, 0, -131042, 0, 0, -131041, 0, 0, -131040, 0, 0, -1, 0, 0, -65504, 0, 0, 65535, 0, 0, 32, 0, 0, 131071, 0, 0, 65568, 0, 0, 196607, 0, 0, 131104, 0, 0, 262143, 0, 0, 196640, 0, 0, 327679, 0, 0, 262176, 0, 0, 393215, 0, 0, 327712, 0, 0, 458751, 0, 0, 393248, 0, 0, 524287, 0, 0, 458784, 0, 0, 589823, 0, 0, 524320, 0, 0, 655359, 0, 0, 589856, 0, 0, 720895, 0, 0, 655392, 0, 0, 786431, 0, 0, 720907, 0, 65536, 720908, 0, 65537, 720909, 0, 65538, 720928, 0, 0, 851967, 0, 0, 786464, 0, 0, 917503, 0, 0, 851972, 0, 65536, 851973, 0, 65538, 851974, 0, 65538, 852000, 0, 0, 983039, 0, 0, 917536, 0, 0, 1048575, 0, 0, 983072, 0, 0, 1114111, 0, 0, 1048608, 0, 0, 1179647, 0, 0, 1114122, 0, 65536, 1114123, 0, 65537, 1114124, 0, 65537, 1114125, 0, 65538, 1114144, 0, 0, 1245183, 0, 0, 1179680, 0, 0, 1310719, 0, 0, 1245216, 0, 0, 1376255, 0, 0, 1310723, 0, 65536, 1310724, 0, 65537, 1310725, 0, 65537, 1310726, 0, 65537, 1310727, 0, 65537, 1310728, 0, 65537, 1310729, 0, 65537, 1310730, 0, 65537, 1310731, 0, 65537, 1310732, 0, 65537, 1310733, 0, 65537, 1310734, 0, 65537, 1310735, 0, 65537, 1310736, 0, 65537, 1310737, 0, 65537, 1310738, 0, 65537, 1310739, 0, 65537, 1310740, 0, 65538, 1310752, 0, 0, 1441791, 0, 0, 1376288, 0, 0, 1507327, 0, 0, 1441824, 0, 0, 1572863, 0, 0, 1507360, 0, 0, 1638399, 0, 0, 1572896, 0, 0 )
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 48, 144 )
use_iframes = true
[node name="Ladder" type="TileMap" parent="."]
tile_set = ExtResource( 5 )
@ -48,10 +53,6 @@ cell_size = Vector2( 8, 8 )
format = 1
tile_data = PoolIntArray( 851973, 0, 65537, 851976, 1, 0, 917512, 1, 0, 983048, 1, 0, 1310723, 0, 65536, 1310724, 0, 65537, 1310725, 0, 65537, 1310726, 0, 65537, 1310727, 0, 65537, 1310728, 0, 65537, 1310729, 0, 65537, 1310730, 0, 65537, 1310731, 0, 65537, 1310732, 0, 65537, 1310733, 0, 65537, 1310734, 0, 65537, 1310735, 0, 65537, 1310736, 0, 65537, 1310737, 0, 65537, 1310738, 0, 65537, 1310739, 0, 65537, 1310740, 0, 65538 )
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 48, 144 )
use_iframes = true
[node name="Boss1" parent="." instance=ExtResource( 1 )]
position = Vector2( 168, 112 )
left_up_boundry = 10.0
@ -86,5 +87,14 @@ delay = 5.0
[node name="Arrow3" parent="DelayedArrow3" instance=ExtResource( 8 )]
position = Vector2( 96, 80 )
[node name="DeathTile" parent="." instance=ExtResource( 13 )]
position = Vector2( 0, 192 )
scale = Vector2( 32, 1 )
[node name="ExitTimer" type="Timer" parent="."]
wait_time = 5.0
one_shot = true
[connection signal="died" from="Boss1" to="." method="_on_Boss1_died"]
[connection signal="entered_phase" from="Boss1" to="." method="_on_Boss1_entered_phase"]
[connection signal="timeout" from="ExitTimer" to="." method="_on_ExitTimer_timeout"]