From 446db662b76a2f777cee1c088d7c0232d67bb195 Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Wed, 8 Jul 2020 07:16:37 +0100 Subject: [PATCH 1/3] added onscreen buttons and levels 3-4 added onscreen controlls which are visible if exported to android / ios OR the mobile browser is detected if exported to html. added level 3. basic level. added level 4 which is just a placeholder. added door / key to level 2 change the computer so that it can be toggled on / off. --- .gitignore | 3 + GoJump/DungeonTileset.tres | 68 ++++++++++++++++++ GoJump/FootDust.tscn | 1 - GoJump/Game.gd | 3 + GoJump/Game.tscn | 55 +++++++++++++- GoJump/Levels/Level2.tscn | 2 +- GoJump/Levels/Level3.tscn | 39 ++++++++++ GoJump/Levels/Level4.tscn | 39 ++++++++++ GoJump/Levels/Level5.tscn | 39 ++++++++++ GoJump/Levels/Level6.tscn | 39 ++++++++++ GoJump/Levels/Level7.tscn | 39 ++++++++++ GoJump/Levels/Level8.tscn | 39 ++++++++++ GoJump/Levels/Level9.tscn | 39 ++++++++++ GoJump/Player.gd | 2 +- GoJump/Triggerables/Computer.gd | 4 ++ GoJump/gfx/controls/flatDark02.png | Bin 0 -> 440 bytes GoJump/gfx/controls/flatDark02.png.import | 34 +++++++++ GoJump/gfx/controls/flatDark04.png | Bin 0 -> 526 bytes GoJump/gfx/controls/flatDark04.png.import | 34 +++++++++ GoJump/gfx/controls/flatDark05.png | Bin 0 -> 511 bytes GoJump/gfx/controls/flatDark05.png.import | 34 +++++++++ GoJump/gfx/controls/flatDark09.png | Bin 0 -> 439 bytes GoJump/gfx/controls/flatDark09.png.import | 34 +++++++++ GoJump/gfx/controls/flatDark25.png | Bin 0 -> 962 bytes GoJump/gfx/controls/flatDark25.png.import | 34 +++++++++ GoJump/gfx/controls/transparentDark01.png | Bin 0 -> 452 bytes .../gfx/controls/transparentDark01.png.import | 34 +++++++++ GoJump/gfx/controls/transparentDark03.png | Bin 0 -> 525 bytes .../gfx/controls/transparentDark03.png.import | 34 +++++++++ GoJump/gfx/controls/transparentDark04.png | Bin 0 -> 549 bytes .../gfx/controls/transparentDark04.png.import | 34 +++++++++ GoJump/gfx/controls/transparentDark08.png | Bin 0 -> 455 bytes .../gfx/controls/transparentDark08.png.import | 34 +++++++++ GoJump/gfx/controls/transparentDark24.png | Bin 0 -> 984 bytes .../gfx/controls/transparentDark24.png.import | 34 +++++++++ GoJump/project.godot | 13 ++++ 36 files changed, 759 insertions(+), 5 deletions(-) create mode 100644 GoJump/Levels/Level3.tscn create mode 100644 GoJump/Levels/Level4.tscn create mode 100644 GoJump/Levels/Level5.tscn create mode 100644 GoJump/Levels/Level6.tscn create mode 100644 GoJump/Levels/Level7.tscn create mode 100644 GoJump/Levels/Level8.tscn create mode 100644 GoJump/Levels/Level9.tscn create mode 100644 GoJump/gfx/controls/flatDark02.png create mode 100644 GoJump/gfx/controls/flatDark02.png.import create mode 100644 GoJump/gfx/controls/flatDark04.png create mode 100644 GoJump/gfx/controls/flatDark04.png.import create mode 100644 GoJump/gfx/controls/flatDark05.png create mode 100644 GoJump/gfx/controls/flatDark05.png.import create mode 100644 GoJump/gfx/controls/flatDark09.png create mode 100644 GoJump/gfx/controls/flatDark09.png.import create mode 100644 GoJump/gfx/controls/flatDark25.png create mode 100644 GoJump/gfx/controls/flatDark25.png.import create mode 100644 GoJump/gfx/controls/transparentDark01.png create mode 100644 GoJump/gfx/controls/transparentDark01.png.import create mode 100644 GoJump/gfx/controls/transparentDark03.png create mode 100644 GoJump/gfx/controls/transparentDark03.png.import create mode 100644 GoJump/gfx/controls/transparentDark04.png create mode 100644 GoJump/gfx/controls/transparentDark04.png.import create mode 100644 GoJump/gfx/controls/transparentDark08.png create mode 100644 GoJump/gfx/controls/transparentDark08.png.import create mode 100644 GoJump/gfx/controls/transparentDark24.png create mode 100644 GoJump/gfx/controls/transparentDark24.png.import diff --git a/.gitignore b/.gitignore index 5db4e8d..a3a137c 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,7 @@ export_presets.cfg # Mono-specific ignores .mono/ +# bin output +bin/* + # End of https://www.gitignore.io/api/godot diff --git a/GoJump/DungeonTileset.tres b/GoJump/DungeonTileset.tres index 5994310..846bc4a 100644 --- a/GoJump/DungeonTileset.tres +++ b/GoJump/DungeonTileset.tres @@ -101,6 +101,11 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 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 = SubResource( 1 ) +0/shape_one_way = false +0/shape_one_way_margin = 1.0 0/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, @@ -255,6 +260,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 1/tile_mode = 0 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_one_way = false +1/shape_one_way_margin = 0.0 1/shapes = [ ] 1/z_index = 0 2/name = "Key" @@ -265,6 +274,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 2/tile_mode = 0 2/occluder_offset = Vector2( 0, 0 ) 2/navigation_offset = Vector2( 0, 0 ) +2/shape_offset = Vector2( 0, 0 ) +2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +2/shape_one_way = false +2/shape_one_way_margin = 0.0 2/shapes = [ ] 2/z_index = 0 3/name = "DoorOpen" @@ -275,6 +288,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 3/tile_mode = 0 3/occluder_offset = Vector2( 0, 0 ) 3/navigation_offset = Vector2( 0, 0 ) +3/shape_offset = Vector2( 0, 0 ) +3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +3/shape_one_way = false +3/shape_one_way_margin = 0.0 3/shapes = [ ] 3/z_index = 0 4/name = "Door" @@ -285,6 +302,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 4/tile_mode = 0 4/occluder_offset = Vector2( 0, 0 ) 4/navigation_offset = Vector2( 0, 0 ) +4/shape_offset = Vector2( 0, 0 ) +4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +4/shape_one_way = false +4/shape_one_way_margin = 0.0 4/shapes = [ ] 4/z_index = 0 5/name = "Chain" @@ -295,6 +316,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 5/tile_mode = 0 5/occluder_offset = Vector2( 0, 0 ) 5/navigation_offset = Vector2( 0, 0 ) +5/shape_offset = Vector2( 0, 0 ) +5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +5/shape_one_way = false +5/shape_one_way_margin = 0.0 5/shapes = [ ] 5/z_index = 0 6/name = "Block" @@ -305,6 +330,11 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 6/tile_mode = 0 6/occluder_offset = Vector2( 0, 0 ) 6/navigation_offset = Vector2( 0, 0 ) +6/shape_offset = Vector2( 0, 0 ) +6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +6/shape = SubResource( 27 ) +6/shape_one_way = false +6/shape_one_way_margin = 1.0 6/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, @@ -321,6 +351,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 7/tile_mode = 0 7/occluder_offset = Vector2( 0, 0 ) 7/navigation_offset = Vector2( 0, 0 ) +7/shape_offset = Vector2( 0, 0 ) +7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +7/shape_one_way = false +7/shape_one_way_margin = 0.0 7/shapes = [ ] 7/z_index = 0 8/name = "Coin" @@ -331,6 +365,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 8/tile_mode = 0 8/occluder_offset = Vector2( 0, 0 ) 8/navigation_offset = Vector2( 0, 0 ) +8/shape_offset = Vector2( 0, 0 ) +8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +8/shape_one_way = false +8/shape_one_way_margin = 0.0 8/shapes = [ ] 8/z_index = 0 9/name = "BlockOutline" @@ -341,6 +379,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 9/tile_mode = 0 9/occluder_offset = Vector2( 0, 0 ) 9/navigation_offset = Vector2( 0, 0 ) +9/shape_offset = Vector2( 0, 0 ) +9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +9/shape_one_way = false +9/shape_one_way_margin = 0.0 9/shapes = [ ] 9/z_index = 0 10/name = "DoorOutline" @@ -351,6 +393,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 10/tile_mode = 0 10/occluder_offset = Vector2( 0, 0 ) 10/navigation_offset = Vector2( 0, 0 ) +10/shape_offset = Vector2( 0, 0 ) +10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +10/shape_one_way = false +10/shape_one_way_margin = 0.0 10/shapes = [ ] 10/z_index = 0 11/name = "Platform" @@ -361,6 +407,11 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 11/tile_mode = 0 11/occluder_offset = Vector2( 0, 0 ) 11/navigation_offset = Vector2( 0, 0 ) +11/shape_offset = Vector2( 0, 0 ) +11/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +11/shape = SubResource( 25 ) +11/shape_one_way = false +11/shape_one_way_margin = 1.0 11/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, @@ -377,6 +428,11 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 12/tile_mode = 0 12/occluder_offset = Vector2( 0, 0 ) 12/navigation_offset = Vector2( 0, 0 ) +12/shape_offset = Vector2( 0, 0 ) +12/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +12/shape = SubResource( 26 ) +12/shape_one_way = false +12/shape_one_way_margin = 1.0 12/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, @@ -393,6 +449,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 13/tile_mode = 0 13/occluder_offset = Vector2( 0, 0 ) 13/navigation_offset = Vector2( 0, 0 ) +13/shape_offset = Vector2( 0, 0 ) +13/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +13/shape_one_way = false +13/shape_one_way_margin = 0.0 13/shapes = [ ] 13/z_index = 0 14/name = "Computer" @@ -403,6 +463,10 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 14/tile_mode = 0 14/occluder_offset = Vector2( 0, 0 ) 14/navigation_offset = Vector2( 0, 0 ) +14/shape_offset = Vector2( 0, 0 ) +14/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +14/shape_one_way = false +14/shape_one_way_margin = 0.0 14/shapes = [ ] 14/z_index = 0 15/name = "ladder_top" @@ -413,5 +477,9 @@ points = PoolVector2Array( 0, 0, 12, 0, 12, 12, 0, 12 ) 15/tile_mode = 0 15/occluder_offset = Vector2( 0, 0 ) 15/navigation_offset = Vector2( 0, 0 ) +15/shape_offset = Vector2( 0, 0 ) +15/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +15/shape_one_way = false +15/shape_one_way_margin = 0.0 15/shapes = [ ] 15/z_index = 0 diff --git a/GoJump/FootDust.tscn b/GoJump/FootDust.tscn index f12e048..671d4d8 100644 --- a/GoJump/FootDust.tscn +++ b/GoJump/FootDust.tscn @@ -15,7 +15,6 @@ explosiveness = 1.0 local_coords = false texture = ExtResource( 1 ) spread = 60.0 -flatness = 1.0 gravity = Vector2( 0, 0 ) initial_velocity = 25.0 initial_velocity_random = 1.0 diff --git a/GoJump/Game.gd b/GoJump/Game.gd index f698ca3..dece515 100644 --- a/GoJump/Game.gd +++ b/GoJump/Game.gd @@ -81,3 +81,6 @@ func computer_on(): var lvl = get_level_node() lvl.replace_tiles(Level.BLOCK_OUTLINE, Level.BLOCK) +func computer_off(): + var lvl = get_level_node() + lvl.replace_tiles(Level.BLOCK, Level.BLOCK_OUTLINE) diff --git a/GoJump/Game.tscn b/GoJump/Game.tscn index 27b41f5..d62aa95 100644 --- a/GoJump/Game.tscn +++ b/GoJump/Game.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=17 format=2] [ext_resource path="res://Game.gd" type="Script" id=1] [ext_resource path="res://sfx/Cave Theme.ogg" type="AudioStream" id=2] @@ -6,6 +6,16 @@ [ext_resource path="res://sfx/GetKey.wav" type="AudioStream" id=4] [ext_resource path="res://sfx/GetCoin.wav" type="AudioStream" id=5] [ext_resource path="res://sfx/DoorUnlock.wav" type="AudioStream" id=6] +[ext_resource path="res://gfx/controls/transparentDark24.png" type="Texture" id=7] +[ext_resource path="res://gfx/controls/transparentDark04.png" type="Texture" id=8] +[ext_resource path="res://gfx/controls/transparentDark03.png" type="Texture" id=9] +[ext_resource path="res://gfx/controls/transparentDark01.png" type="Texture" id=10] +[ext_resource path="res://gfx/controls/transparentDark08.png" type="Texture" id=11] +[ext_resource path="res://gfx/controls/flatDark02.png" type="Texture" id=12] +[ext_resource path="res://gfx/controls/flatDark09.png" type="Texture" id=13] +[ext_resource path="res://gfx/controls/flatDark04.png" type="Texture" id=14] +[ext_resource path="res://gfx/controls/flatDark05.png" type="Texture" id=15] +[ext_resource path="res://gfx/controls/flatDark25.png" type="Texture" id=16] [node name="Game" type="Node2D"] pause_mode = 2 @@ -23,7 +33,6 @@ __meta__ = { [node name="Camera" type="Camera2D" parent="."] offset = Vector2( 162, 84 ) -current = true [node name="Tween" type="Tween" parent="."] @@ -60,3 +69,45 @@ bus = "Sfx" [node name="DoorUnlock" type="AudioStreamPlayer" parent="."] stream = ExtResource( 6 ) bus = "Sfx" + +[node name="TouchControls" type="Node2D" parent="."] + +[node name="Jump" type="TouchScreenButton" parent="TouchControls"] +position = Vector2( 280.331, 129.783 ) +scale = Vector2( 0.35, 0.35 ) +normal = ExtResource( 7 ) +pressed = ExtResource( 16 ) +action = "jump" +visibility_mode = 1 + +[node name="Up" type="TouchScreenButton" parent="TouchControls"] +position = Vector2( 25, 105 ) +scale = Vector2( 0.35, 0.35 ) +normal = ExtResource( 10 ) +pressed = ExtResource( 12 ) +action = "up" +visibility_mode = 1 + +[node name="Down" type="TouchScreenButton" parent="TouchControls"] +position = Vector2( 25, 140 ) +scale = Vector2( 0.35, 0.35 ) +normal = ExtResource( 11 ) +pressed = ExtResource( 13 ) +action = "down" +visibility_mode = 1 + +[node name="Left" type="TouchScreenButton" parent="TouchControls"] +position = Vector2( 5, 126 ) +scale = Vector2( 0.35, 0.35 ) +normal = ExtResource( 9 ) +pressed = ExtResource( 14 ) +action = "left" +visibility_mode = 1 + +[node name="Right" type="TouchScreenButton" parent="TouchControls"] +position = Vector2( 40, 126 ) +scale = Vector2( 0.35, 0.35 ) +normal = ExtResource( 8 ) +pressed = ExtResource( 15 ) +action = "right" +visibility_mode = 1 diff --git a/GoJump/Levels/Level2.tscn b/GoJump/Levels/Level2.tscn index 6dc8663..a816129 100644 --- a/GoJump/Levels/Level2.tscn +++ b/GoJump/Levels/Level2.tscn @@ -5,4 +5,4 @@ [node name="Level" instance=ExtResource( 1 )] [node name="Tiles" parent="." index="0"] -tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 131079, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 131079, 16, 0, 4, 17, 0, 0, 18, 0, 0, 19, 0, 4, 20, 0, 131079, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65537, 12, 0, 65538, 0, 65542, 65551, 0, 65542, 65552, 12, 0, 65553, 0, 65536, 65554, 0, 65538, 65555, 12, 0, 65556, 0, 65542, 65562, 0, 65542, 131072, 0, 131077, 131073, 0, 4, 131074, 0, 65541, 131087, 0, 65542, 131088, 12, 0, 131089, 0, 65536, 131090, 0, 65538, 131091, 12, 0, 131092, 0, 65542, 131095, 13, 0, 131098, 0, 65542, 196608, 0, 65542, 196623, 0, 65540, 196624, 0, 4, 196625, 0, 0, 196626, 0, 0, 196627, 0, 1, 196628, 0, 65539, 196629, 15, 0, 196630, 0, 0, 196631, 0, 1, 196632, 0, 1, 196633, 0, 1, 196634, 0, 0, 262144, 0, 65542, 262145, 8, 0, 262151, 8, 0, 262155, 1, 0, 262161, 5, 0, 262162, 0, 131072, 262163, 0, 131073, 262164, 0, 131074, 262165, 7, 0, 262166, 0, 131072, 262167, 0, 131073, 262168, 0, 131073, 262169, 0, 131073, 262170, 0, 0, 327680, 0, 65542, 327681, 6, 0, 327682, 6, 0, 327683, 15, 0, 327684, 6, 0, 327685, 9, 0, 327686, 9, 0, 327687, 9, 0, 327688, 9, 0, 327689, 9, 0, 327690, 0, 3, 327691, 0, 4, 327692, 0, 5, 327697, 5, 0, 327701, 7, 0, 327706, 0, 65542, 393216, 0, 65542, 393217, 5, 0, 393218, 5, 0, 393219, 7, 0, 393226, 5, 0, 393227, 5, 0, 393232, 8, 0, 393233, 5, 0, 393237, 7, 0, 393242, 0, 65542, 458752, 0, 65542, 458754, 5, 0, 458755, 7, 0, 458762, 5, 0, 458773, 7, 0, 458775, 8, 0, 458778, 0, 65542, 524288, 0, 65542, 524291, 7, 0, 524309, 0, 131075, 524310, 0, 4, 524311, 0, 4, 524312, 0, 4, 524313, 0, 4, 524314, 0, 7, 589824, 0, 65542, 589825, 8, 0, 589827, 7, 0, 589831, 11, 0, 589837, 8, 0, 589839, 0, 131075, 589840, 0, 4, 589841, 0, 4, 589842, 0, 5, 589845, 0, 131078, 589850, 0, 65542, 655360, 0, 131077, 655361, 0, 4, 655362, 0, 131076, 655363, 7, 0, 655369, 11, 0, 655372, 0, 131075, 655373, 0, 4, 655374, 0, 4, 655375, 0, 65541, 655377, 5, 0, 655381, 5, 0, 655386, 0, 65542, 720896, 0, 65542, 720897, 5, 0, 720898, 0, 65542, 720899, 7, 0, 720908, 0, 131078, 720913, 5, 0, 720917, 5, 0, 720922, 0, 65542, 786432, 0, 65542, 786433, 5, 0, 786434, 0, 65542, 786435, 7, 0, 786436, 0, 0, 786437, 0, 1, 786438, 0, 2, 786446, 14, 0, 786455, 8, 0, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 65543, 851971, 0, 4, 851972, 0, 0, 851973, 0, 131073, 851974, 0, 0, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) +tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 131079, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 131079, 16, 0, 4, 17, 0, 0, 18, 0, 0, 19, 0, 4, 20, 0, 131079, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65537, 12, 0, 65538, 0, 65542, 65551, 0, 65542, 65552, 12, 0, 65553, 0, 65536, 65554, 0, 65538, 65555, 12, 0, 65556, 0, 65542, 65562, 0, 65542, 131072, 0, 131077, 131073, 0, 4, 131074, 0, 65541, 131087, 0, 65542, 131088, 12, 0, 131089, 0, 65536, 131090, 0, 65538, 131091, 12, 0, 131092, 0, 65542, 131095, 13, 0, 131098, 0, 65542, 196608, 0, 65542, 196623, 0, 65540, 196624, 0, 4, 196625, 0, 0, 196626, 0, 0, 196627, 0, 1, 196628, 0, 65539, 196629, 15, 0, 196630, 0, 0, 196631, 0, 1, 196632, 0, 1, 196633, 0, 1, 196634, 0, 0, 262144, 0, 65542, 262145, 8, 0, 262151, 8, 0, 262156, 2, 0, 262161, 5, 0, 262162, 0, 131072, 262163, 0, 131073, 262164, 0, 131074, 262165, 7, 0, 262166, 0, 131072, 262167, 0, 131073, 262168, 0, 131073, 262169, 0, 131073, 262170, 0, 0, 327680, 0, 131077, 327681, 0, 4, 327682, 0, 5, 327683, 15, 0, 327684, 9, 0, 327685, 9, 0, 327686, 9, 0, 327687, 9, 0, 327688, 9, 0, 327689, 9, 0, 327690, 0, 3, 327691, 0, 4, 327692, 0, 5, 327697, 5, 0, 327701, 7, 0, 327706, 0, 65542, 393216, 0, 65542, 393217, 5, 0, 393218, 5, 0, 393219, 7, 0, 393226, 5, 0, 393227, 5, 0, 393232, 8, 0, 393233, 5, 0, 393237, 7, 0, 393242, 0, 65542, 458752, 0, 65542, 458754, 5, 0, 458755, 7, 0, 458762, 5, 0, 458773, 7, 0, 458775, 8, 0, 458778, 0, 65542, 524288, 0, 65542, 524291, 7, 0, 524295, 4, 0, 524309, 0, 131075, 524310, 0, 4, 524311, 0, 4, 524312, 0, 4, 524313, 0, 4, 524314, 0, 7, 589824, 0, 65542, 589825, 8, 0, 589827, 7, 0, 589831, 11, 0, 589837, 8, 0, 589839, 0, 131075, 589840, 0, 4, 589841, 0, 4, 589842, 0, 5, 589845, 0, 131078, 589850, 0, 65542, 655360, 0, 131077, 655361, 0, 4, 655362, 0, 131076, 655363, 7, 0, 655369, 11, 0, 655372, 0, 131075, 655373, 0, 4, 655374, 0, 4, 655375, 0, 65541, 655377, 5, 0, 655381, 5, 0, 655386, 0, 65542, 720896, 0, 65542, 720897, 5, 0, 720898, 0, 65542, 720899, 7, 0, 720908, 0, 131078, 720913, 5, 0, 720917, 5, 0, 720922, 0, 65542, 786432, 0, 65542, 786433, 5, 0, 786434, 0, 65542, 786435, 7, 0, 786436, 0, 0, 786437, 0, 1, 786438, 0, 2, 786446, 14, 0, 786455, 8, 0, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 65543, 851971, 0, 4, 851972, 0, 0, 851973, 0, 131073, 851974, 0, 0, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) diff --git a/GoJump/Levels/Level3.tscn b/GoJump/Levels/Level3.tscn new file mode 100644 index 0000000..b44adc7 --- /dev/null +++ b/GoJump/Levels/Level3.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://Levels/Level.gd" type="Script" id=1] +[ext_resource path="res://Player.tscn" type="PackedScene" id=2] +[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] +[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] +[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] +[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] +[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] +[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] +[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] +[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] + +[node name="Level" type="Node2D"] +pause_mode = 1 +script = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true +} +player = ExtResource( 2 ) +coin = ExtResource( 3 ) +key = ExtResource( 4 ) +door = ExtResource( 5 ) +ladder = ExtResource( 6 ) +ladder_top = ExtResource( 9 ) +chain = ExtResource( 7 ) +computer = ExtResource( 10 ) + +[node name="Tiles" type="TileMap" parent="."] +tile_set = ExtResource( 8 ) +cell_size = Vector2( 12, 12 ) +format = 1 +tile_data = PoolIntArray( 0, 0, 0, 1, 0, 1, 2, 0, 1, 3, 0, 1, 4, 0, 65539, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65536, 65537, 0, 65537, 65538, 0, 65539, 65539, 0, 131073, 65540, 0, 131074, 65544, 5, 0, 65548, 5, 0, 65552, 5, 0, 65556, 5, 0, 65560, 5, 0, 65562, 0, 65542, 131072, 0, 65536, 131073, 0, 65537, 131074, 0, 65538, 131080, 5, 0, 131084, 5, 0, 131088, 5, 0, 131090, 8, 0, 131092, 5, 0, 131096, 5, 0, 131098, 0, 65542, 196608, 0, 65539, 196609, 0, 131073, 196610, 0, 131074, 196616, 5, 0, 196618, 8, 0, 196620, 5, 0, 196624, 5, 0, 196628, 5, 0, 196632, 5, 0, 196634, 0, 65542, 262144, 0, 65542, 262152, 5, 0, 262156, 5, 0, 262164, 5, 0, 262170, 0, 65542, 327680, 0, 65542, 327681, 8, 0, 327688, 5, 0, 327692, 5, 0, 327700, 5, 0, 327705, 2, 0, 327706, 0, 65542, 393216, 0, 65542, 393217, 11, 0, 393218, 11, 0, 393219, 15, 0, 393220, 11, 0, 393228, 5, 0, 393240, 11, 0, 393241, 11, 0, 393242, 0, 65542, 458752, 0, 65542, 458755, 15, 0, 458778, 0, 65542, 524288, 0, 65542, 524291, 15, 0, 524314, 0, 65542, 589824, 0, 65542, 589827, 15, 0, 589832, 8, 0, 589849, 0, 0, 589850, 0, 65539, 655360, 0, 65542, 655363, 15, 0, 655368, 0, 65539, 655378, 8, 0, 655385, 0, 65536, 655386, 0, 65538, 720896, 0, 65542, 720899, 15, 0, 720914, 0, 0, 720915, 0, 2, 720921, 0, 65536, 720922, 0, 65538, 786432, 0, 65542, 786435, 15, 0, 786446, 13, 0, 786449, 0, 0, 786450, 0, 65539, 786451, 0, 65539, 786452, 0, 2, 786455, 4, 0, 786456, 0, 0, 786457, 0, 65539, 786458, 0, 65538, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 65539, 851986, 0, 131073, 851987, 0, 131073, 851988, 0, 65539, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 65539, 851993, 0, 131073, 851994, 0, 131074 ) + +[node name="Items" type="Node2D" parent="."] + +[node name="Triggerables" type="Node2D" parent="."] + +[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level4.tscn b/GoJump/Levels/Level4.tscn new file mode 100644 index 0000000..9c8706b --- /dev/null +++ b/GoJump/Levels/Level4.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://Levels/Level.gd" type="Script" id=1] +[ext_resource path="res://Player.tscn" type="PackedScene" id=2] +[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] +[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] +[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] +[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] +[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] +[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] +[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] +[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] + +[node name="Level" type="Node2D"] +pause_mode = 1 +script = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true +} +player = ExtResource( 2 ) +coin = ExtResource( 3 ) +key = ExtResource( 4 ) +door = ExtResource( 5 ) +ladder = ExtResource( 6 ) +ladder_top = ExtResource( 9 ) +chain = ExtResource( 7 ) +computer = ExtResource( 10 ) + +[node name="Tiles" type="TileMap" parent="."] +tile_set = ExtResource( 8 ) +cell_size = Vector2( 12, 12 ) +format = 1 +tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131078, 2, 0, 131082, 8, 0, 131083, 8, 0, 131084, 8, 0, 131085, 8, 0, 131086, 8, 0, 131093, 4, 0, 131098, 0, 65542, 196608, 0, 65542, 196612, 6, 0, 196613, 6, 0, 196614, 6, 0, 196615, 6, 0, 196616, 6, 0, 196618, 6, 0, 196619, 6, 0, 196620, 6, 0, 196621, 6, 0, 196622, 6, 0, 196624, 6, 0, 196625, 6, 0, 196629, 6, 0, 196634, 0, 65542, 262144, 0, 65542, 262148, 6, 0, 262156, 6, 0, 262160, 6, 0, 262162, 6, 0, 262165, 6, 0, 262170, 0, 65542, 327680, 0, 65542, 327684, 6, 0, 327685, 6, 0, 327686, 6, 0, 327687, 6, 0, 327692, 6, 0, 327696, 6, 0, 327699, 6, 0, 327701, 6, 0, 327706, 0, 65542, 393216, 0, 65542, 393220, 6, 0, 393226, 8, 0, 393227, 8, 0, 393228, 6, 0, 393229, 8, 0, 393230, 8, 0, 393232, 6, 0, 393236, 6, 0, 393237, 6, 0, 393242, 0, 65542, 458752, 0, 65542, 458756, 6, 0, 458762, 6, 0, 458763, 6, 0, 458764, 6, 0, 458765, 6, 0, 458766, 6, 0, 458768, 6, 0, 458773, 6, 0, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786437, 13, 0, 786455, 14, 0, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) + +[node name="Items" type="Node2D" parent="."] + +[node name="Triggerables" type="Node2D" parent="."] + +[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level5.tscn b/GoJump/Levels/Level5.tscn new file mode 100644 index 0000000..d9856b1 --- /dev/null +++ b/GoJump/Levels/Level5.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://Levels/Level.gd" type="Script" id=1] +[ext_resource path="res://Player.tscn" type="PackedScene" id=2] +[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] +[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] +[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] +[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] +[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] +[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] +[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] +[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] + +[node name="Level" type="Node2D"] +pause_mode = 1 +script = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true +} +player = ExtResource( 2 ) +coin = ExtResource( 3 ) +key = ExtResource( 4 ) +door = ExtResource( 5 ) +ladder = ExtResource( 6 ) +ladder_top = ExtResource( 9 ) +chain = ExtResource( 7 ) +computer = ExtResource( 10 ) + +[node name="Tiles" type="TileMap" parent="."] +tile_set = ExtResource( 8 ) +cell_size = Vector2( 12, 12 ) +format = 1 +tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) + +[node name="Items" type="Node2D" parent="."] + +[node name="Triggerables" type="Node2D" parent="."] + +[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level6.tscn b/GoJump/Levels/Level6.tscn new file mode 100644 index 0000000..d9856b1 --- /dev/null +++ b/GoJump/Levels/Level6.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://Levels/Level.gd" type="Script" id=1] +[ext_resource path="res://Player.tscn" type="PackedScene" id=2] +[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] +[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] +[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] +[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] +[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] +[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] +[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] +[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] + +[node name="Level" type="Node2D"] +pause_mode = 1 +script = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true +} +player = ExtResource( 2 ) +coin = ExtResource( 3 ) +key = ExtResource( 4 ) +door = ExtResource( 5 ) +ladder = ExtResource( 6 ) +ladder_top = ExtResource( 9 ) +chain = ExtResource( 7 ) +computer = ExtResource( 10 ) + +[node name="Tiles" type="TileMap" parent="."] +tile_set = ExtResource( 8 ) +cell_size = Vector2( 12, 12 ) +format = 1 +tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) + +[node name="Items" type="Node2D" parent="."] + +[node name="Triggerables" type="Node2D" parent="."] + +[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level7.tscn b/GoJump/Levels/Level7.tscn new file mode 100644 index 0000000..d9856b1 --- /dev/null +++ b/GoJump/Levels/Level7.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://Levels/Level.gd" type="Script" id=1] +[ext_resource path="res://Player.tscn" type="PackedScene" id=2] +[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] +[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] +[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] +[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] +[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] +[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] +[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] +[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] + +[node name="Level" type="Node2D"] +pause_mode = 1 +script = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true +} +player = ExtResource( 2 ) +coin = ExtResource( 3 ) +key = ExtResource( 4 ) +door = ExtResource( 5 ) +ladder = ExtResource( 6 ) +ladder_top = ExtResource( 9 ) +chain = ExtResource( 7 ) +computer = ExtResource( 10 ) + +[node name="Tiles" type="TileMap" parent="."] +tile_set = ExtResource( 8 ) +cell_size = Vector2( 12, 12 ) +format = 1 +tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) + +[node name="Items" type="Node2D" parent="."] + +[node name="Triggerables" type="Node2D" parent="."] + +[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level8.tscn b/GoJump/Levels/Level8.tscn new file mode 100644 index 0000000..d9856b1 --- /dev/null +++ b/GoJump/Levels/Level8.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://Levels/Level.gd" type="Script" id=1] +[ext_resource path="res://Player.tscn" type="PackedScene" id=2] +[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] +[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] +[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] +[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] +[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] +[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] +[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] +[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] + +[node name="Level" type="Node2D"] +pause_mode = 1 +script = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true +} +player = ExtResource( 2 ) +coin = ExtResource( 3 ) +key = ExtResource( 4 ) +door = ExtResource( 5 ) +ladder = ExtResource( 6 ) +ladder_top = ExtResource( 9 ) +chain = ExtResource( 7 ) +computer = ExtResource( 10 ) + +[node name="Tiles" type="TileMap" parent="."] +tile_set = ExtResource( 8 ) +cell_size = Vector2( 12, 12 ) +format = 1 +tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) + +[node name="Items" type="Node2D" parent="."] + +[node name="Triggerables" type="Node2D" parent="."] + +[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level9.tscn b/GoJump/Levels/Level9.tscn new file mode 100644 index 0000000..d9856b1 --- /dev/null +++ b/GoJump/Levels/Level9.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=11 format=2] + +[ext_resource path="res://Levels/Level.gd" type="Script" id=1] +[ext_resource path="res://Player.tscn" type="PackedScene" id=2] +[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] +[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] +[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] +[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] +[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] +[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] +[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] +[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] + +[node name="Level" type="Node2D"] +pause_mode = 1 +script = ExtResource( 1 ) +__meta__ = { +"_edit_lock_": true +} +player = ExtResource( 2 ) +coin = ExtResource( 3 ) +key = ExtResource( 4 ) +door = ExtResource( 5 ) +ladder = ExtResource( 6 ) +ladder_top = ExtResource( 9 ) +chain = ExtResource( 7 ) +computer = ExtResource( 10 ) + +[node name="Tiles" type="TileMap" parent="."] +tile_set = ExtResource( 8 ) +cell_size = Vector2( 12, 12 ) +format = 1 +tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) + +[node name="Items" type="Node2D" parent="."] + +[node name="Triggerables" type="Node2D" parent="."] + +[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Player.gd b/GoJump/Player.gd index 6e3ab9c..233fdc6 100644 --- a/GoJump/Player.gd +++ b/GoJump/Player.gd @@ -4,7 +4,7 @@ enum PlayerState { NORMAL, JUMP, FALL, LAND, DIE, CLIMB } const GRAVITY := 800 const JUMP_VELOCITY := -200 const AIR_JUMP_MULT := 0.75 -const MIN_FALL_JUMP_TIME := 0.09 +const MIN_FALL_JUMP_TIME := 0.10 onready var velocity := Vector2.ZERO diff --git a/GoJump/Triggerables/Computer.gd b/GoJump/Triggerables/Computer.gd index d2ad105..0519e99 100644 --- a/GoJump/Triggerables/Computer.gd +++ b/GoJump/Triggerables/Computer.gd @@ -10,3 +10,7 @@ func _on_player_entered(body): is_on = true $Sprite.frame += 1 get_tree().call_group("game","computer_on") + else: + is_on = false + $Sprite.frame -= 1 + get_tree().call_group("game","computer_off") diff --git a/GoJump/gfx/controls/flatDark02.png b/GoJump/gfx/controls/flatDark02.png new file mode 100644 index 0000000000000000000000000000000000000000..7610995962e1cd30979a9da6438d5fcb5fd23c33 GIT binary patch literal 440 zcmeAS@N?(olHy`uVBq!ia0vp^wm|H|!3HGn$?WfCU|@9fba4!+xb^ndUCw3$5!MGe zmo$4GDK#n73dAf|E@5$h;URl)mP6N;j(X2`XV2~|c(A9n-=^h2Xx6-4>+)R#ZBA{f znHdsl>e*>5IloYg{aVz1RmbZ|bHwbX8?t|3vRgIhfSv<0ugL`{F_*jQ-%B6g%Qt4| z$>mOnz3zM1;KmF&>2(?hLke7Zmo;efJ-G2fG zAgnDhTdw_@d2`m2%X&wjG5v44>(Tzdap~dkgFz2xCuDxOo1ppO@PjK4mmgetNWVF_ zxte)7(|5jSeEe+BxcK>=vGub(W9sKy);76u<%1^=ZWNe3h$tv~aG_w^gMfl>3HLvw z9N72ZWaIinlUe7ts`J}%i8J5h7H7ZL)Xlp7;L+y#hc_F?84f+eA8 z1-lzfGuT~d+QGcJJi~*1V{t6{ z|Di!*acwL1&>*omH?F_YAhEcQMmMyWkXUy3CSn;F5zD}cSO!MKGB6^R-AfX&l;3=> zcJnQbrL=lywd$Q*Sjs98)3FrQxbk2rsiNk?Qc$PQiv`{Z!jA>qYb1jO+RY}11=ues ziv`w^D~|=#^PLAPhI8)SuxRgAtcIoIWt99_wYt;0000j zbVXQnQ*UN;cVTj60AhJAVr*}3WMp|RV{&KQKGBibQV{c?-a;OG> Q?f?J)07*qoM6N<$f|4KKIsgCw literal 0 HcmV?d00001 diff --git a/GoJump/gfx/controls/flatDark04.png.import b/GoJump/gfx/controls/flatDark04.png.import new file mode 100644 index 0000000..d02abe6 --- /dev/null +++ b/GoJump/gfx/controls/flatDark04.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/flatDark04.png-4a0930d9ca904796433f6dd8aa3571fb.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/flatDark04.png" +dest_files=[ "res://.import/flatDark04.png-4a0930d9ca904796433f6dd8aa3571fb.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/GoJump/gfx/controls/flatDark05.png b/GoJump/gfx/controls/flatDark05.png new file mode 100644 index 0000000000000000000000000000000000000000..e9d86b2628334c46fad56693345f9a121ab4c926 GIT binary patch literal 511 zcmV002D*1^@s63u(U$4V`+wB#nKMNhGhYY1TH)bvKqpsJpPNLM3Ba zhDyS+4i$|Bs7Ne8MPdOe5(`j~SfxWv)3lA_xOwkou{89kbzOgAo@Z7tmA~E@iyKVk z781UhIIzx=via|YgrbyF^e=~1*l;dSZ71hh{XZ**E)+d zVR1qIw}K}PSe#I|_J+lR1te~$n5+X~1D%%70$5_E6kv%tcmh`1=?(!4V4^3|1T27w z-l8F30ZjDf9{~$sqPLX^SO62PupnR=2a~P}BVZW?+pCh5fMpD9@9O(v!JKoSIo@?B z5-hYk*NY)k7}P2E6Dw56?{}>0`Zcuq3lJ20jVZ;eKL7v#Ep$a#bW?9;ba!ELWdLG% zE@EtNZ)9Y7E@N_eaCC1jX>DO=WiC)oM=~@;Zewp`Wpbznf9?PP002ovPDHLkV1i!u B)ARrU literal 0 HcmV?d00001 diff --git a/GoJump/gfx/controls/flatDark05.png.import b/GoJump/gfx/controls/flatDark05.png.import new file mode 100644 index 0000000..fb12103 --- /dev/null +++ b/GoJump/gfx/controls/flatDark05.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/flatDark05.png-1b5c44faaf358ebc8f3e94cee9dc0ebe.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/flatDark05.png" +dest_files=[ "res://.import/flatDark05.png-1b5c44faaf358ebc8f3e94cee9dc0ebe.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/GoJump/gfx/controls/flatDark09.png b/GoJump/gfx/controls/flatDark09.png new file mode 100644 index 0000000000000000000000000000000000000000..67e268732b2b4d88114903beb69d5ffa53862c30 GIT binary patch literal 439 zcmeAS@N?(olHy`uVBq!ia0vp^wm|I7!3HD`OZJ;GFfh7$x;TbZ+7p#RH;H)P6w*0p+Qj`@>6p7w|DQ%h%QH`v*Pk}{nSfG4Sa=}k!NP-23bYI)=Sa!OoMV;YImi1(_MGS&-gB}w)-hZ^%yyW3NZk?gA#+E` zhr}IX8;oP5E5z4{?%}-7_pkXl)4#^!EOAU33mVy^un@QWLqbir<-Qg%yDp(DAA5bP z@vclMS?kzoPkRa(Z^xLHSMken$^22g-PF!9dC$G%_s z+qo|Q literal 0 HcmV?d00001 diff --git a/GoJump/gfx/controls/flatDark09.png.import b/GoJump/gfx/controls/flatDark09.png.import new file mode 100644 index 0000000..172588c --- /dev/null +++ b/GoJump/gfx/controls/flatDark09.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/flatDark09.png-8c6746f3d3aae631c5223ba12aad8df4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/flatDark09.png" +dest_files=[ "res://.import/flatDark09.png-8c6746f3d3aae631c5223ba12aad8df4.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/GoJump/gfx/controls/flatDark25.png b/GoJump/gfx/controls/flatDark25.png new file mode 100644 index 0000000000000000000000000000000000000000..7e5dc75ae82342904253ba85edc7a8bd1ff2a1ea GIT binary patch literal 962 zcmV;z13mnSP)V=8pn03oHq- zXT~2RxmbyHoFDegcsw4Wh*1WE!QXzr|G(4eB<*%P?RLBCG7X>2+Z6wcJ|bTPFN+t? zfh}_ohhDFj>1gN+eWLG1qw&WnXn3Lg<>I{UbO9>?bd6`aFx%4nMNU-Uel|QC>cOgI zj=^FEa6x<3@MVeyiKWUt>cFaK5-wt#!Gtf$=8b!RI) zWm)gYmo%oo3-DBkWJ|h$cX9=uYG8~*gd5-@JQbobSH~5d$D$K`foBXNHtN2>Qy?zA z_wzJBT-1dZ`wCBi7zc~XVVNaHR2cWp>q_vjM-1RT+&334%PBy6T*{?f8^rViu-8G^ zw}wN?VAC|sw%hHk;cp4!`qiM|{6NAW$K!GKOe8=ABhk7K@XqIR_DbgSxlCOs!D)U6 zPY}fT8Ni(l@UAkO%~*pCqKrpXco2LZ|0lwja5~PPz>@&+&avhSSJi>X4e>7AWh*>x zh_^!`o8fUnyc|MN>pv6lxFBBiAm!fIBs>-3Xf&eR8&k#oDBxXXzu#xW;gBXyNCA)% z9wo#JKo{XrLNp2xgFhaR8K;*Zavl-weCdhr1X*s}z{WQ*UfH6xz z)fIrZto{J7Mo6DK2ijJEcZW)x$C|bRygSz9JXp6C;6s)cS89ii03T92IG3@F0H3D& zB4sN8EZ1J9`f^;VLA1E;F{YTyHyp+U(ULmnCe*otZ|{uwe6>r<)vs_vNyCjLDaq!- z047zhdL05dCGz}9ZG-^tN7Utm>#j*yx)qmhxV2g1mS(7zV5n|_tF>ZCYsmNl(P#l4 z*GfLIlz?(oCz2K+a}6R(1vfm<1s4a0L#!1orI-DDQ=nExrQc8jRAUj^Q1(-gtFx3C z3>7!)ev_g`{xX2mQ}r^TG&DtR{lvMt`bACsg$aX$KB0qKt=3oMgA_9}R(=NKPzBcY zXED$RXNmW3_O60PntIKQKGBibQV{c?-a;OG>?f?J)07*qoM6N<$g4*A-XaE2J literal 0 HcmV?d00001 diff --git a/GoJump/gfx/controls/flatDark25.png.import b/GoJump/gfx/controls/flatDark25.png.import new file mode 100644 index 0000000..3a65403 --- /dev/null +++ b/GoJump/gfx/controls/flatDark25.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/flatDark25.png-8d0dda784fbfa4e96b3b56d278ff0d13.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/flatDark25.png" +dest_files=[ "res://.import/flatDark25.png-8d0dda784fbfa4e96b3b56d278ff0d13.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/GoJump/gfx/controls/transparentDark01.png b/GoJump/gfx/controls/transparentDark01.png new file mode 100644 index 0000000000000000000000000000000000000000..a2b194ede9056d6d1af9d5daaf42d9c1658e1463 GIT binary patch literal 452 zcmeAS@N?(olHy`uVBq!ia0vp^wm|H|!3HGn$?WfCU|JB!TyS9Kg%T?l z%wG00ifd4KzuHOvTvVNlju@mP_g#a;=Y&dpB>Zv5Z;HlzK1!`8#{Oio^_`54>^oi^(RZ>symCA`ta37Ec+;7S58gbu@L|${g%2Jb z*!M8$;Jycs4z7E6u_5;0VrKbPckX-K{c?Lm*RkypTgSJDC7ipCC7gd>n>zEh$-ak6 zzvj2vTliML`iUdT1k0gQ7S`HrCw4_ett?yrCxGTWkE^4US@7$da52U env6_b^OEyZQj1ow)xQI3WbkzLb6Mw<&;$U09KP-V literal 0 HcmV?d00001 diff --git a/GoJump/gfx/controls/transparentDark01.png.import b/GoJump/gfx/controls/transparentDark01.png.import new file mode 100644 index 0000000..6fe7760 --- /dev/null +++ b/GoJump/gfx/controls/transparentDark01.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/transparentDark01.png-9c8ce42f45dbcd888f303b3c33dea873.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/transparentDark01.png" +dest_files=[ "res://.import/transparentDark01.png-9c8ce42f45dbcd888f303b3c33dea873.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/GoJump/gfx/controls/transparentDark03.png b/GoJump/gfx/controls/transparentDark03.png new file mode 100644 index 0000000000000000000000000000000000000000..3ab41503b3f3fc957dceadbc47b4bd76be89932b GIT binary patch literal 525 zcmV+o0`mQdP)x6_lC79+Fr3% zL)$x8a5Mz4plB#y!O)Pvf}o*+iK8KciK3x`iJ>8biJ+l_v7>1KV@1;f#)hT|j0H^_ zm^Ye6FfTN%V2jZ-gDpbS4n{^ZFd~{^5z!2ah-OGcG|q|Yx_)lk_Okf zBVuU>BV%a>TZE+*Y%!KbFfS}^VBT1oz*w-ffU#j|0As~M2V=)V1{1+T1rx(U1QW$V z0~5zW0tnJ001p? zMObuGZ)S9NVRB^vVtFoNY;SL5WO*)Qa(QrcZ!T$VVP|D7P)Z)9b1s0M%T P00000NkvXXu0mjf*0$LN literal 0 HcmV?d00001 diff --git a/GoJump/gfx/controls/transparentDark03.png.import b/GoJump/gfx/controls/transparentDark03.png.import new file mode 100644 index 0000000..2833a8a --- /dev/null +++ b/GoJump/gfx/controls/transparentDark03.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/transparentDark03.png-6feb1b303a9f1e9a2c0cae07102cdf6d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/transparentDark03.png" +dest_files=[ "res://.import/transparentDark03.png-6feb1b303a9f1e9a2c0cae07102cdf6d.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/GoJump/gfx/controls/transparentDark04.png b/GoJump/gfx/controls/transparentDark04.png new file mode 100644 index 0000000000000000000000000000000000000000..c717a8dcbc939499c07c0ce4984ac0367cfa249d GIT binary patch literal 549 zcmV+=0^0qFP)002D*1^@s6(3B4)k5B~-4wi)$4wmf^_9Q_;;en9`2lohrTMQyiQ@h&nom2ns zB3-cclVdyfos(pv=W%}Ox<21=98F|dc9@&GOBBj3%Cdaf1S~eFC5obWRw##1sC&ag zfC_?z0>zGn1jUMl2E~Sj2*rYh3Pp~E3`L5C4n>9~0g41m3Y0gNBq%Q|X;7=NBtosi zk_zRFB^k;IOFEP_mO@!#DU>CaLRn%dlqFW|P<`KjbY1t}G|ek37DA7jrs>QChfhF^6k2Y&v!dk$*dsd$3PZF@kar`0~vyi~9LA7oB zMm8IwfN?-wTxTJGaX?*N!N(590rl^{Va#9#i5lwWt^?XE$-bYZV2(Sb3g);6uV9X+ zJJP|N&kZGmtvZpG3bs1eK_Zw}7L7D8@BA!DU?iD;QozV^N+p1iW-FtEk>|l9gRxXt zpn|d0?jVA(R)wK~vDX_Sfd#2#MF9&|BaHwSwE8|~u&Sy~!S8j570k4IlN&=~1KaGz zkO;w!X_`KmHva&5k=#ATB4}a&001p?MObuGZ)S9NVRB^vVtFoNY;SL5WO*)Qa(Qrc nZ!T$VVP|D7P)Z)9b1s0M%T00000NkvXXu0mjf${OgN literal 0 HcmV?d00001 diff --git a/GoJump/gfx/controls/transparentDark04.png.import b/GoJump/gfx/controls/transparentDark04.png.import new file mode 100644 index 0000000..43eff26 --- /dev/null +++ b/GoJump/gfx/controls/transparentDark04.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/transparentDark04.png-5d6e98c55c3115368ac4806ce1f2c693.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/transparentDark04.png" +dest_files=[ "res://.import/transparentDark04.png-5d6e98c55c3115368ac4806ce1f2c693.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/GoJump/gfx/controls/transparentDark08.png b/GoJump/gfx/controls/transparentDark08.png new file mode 100644 index 0000000000000000000000000000000000000000..0557ceec9a9a84d8d805e02d80ba588c9bc0dfee GIT binary patch literal 455 zcmeAS@N?(olHy`uVBq!ia0vp^wm|I7!3HD`OZJ;GFffLCx;TbZ+fHj~m z;icpX4~|CTfJzqYC~t4;{s)N`47{p)-8XCrInE+%*ur{q?%bR9CsQV$HPN3v_oZ6b z3?$`9~LhFW>RGn0xzP=$?|$Q1L@E8dip#ojH7n}H&D=s|wJ8sjY)SHGZ2A1~TsgEq~?bG{y z>SA@#r0<++cDD{H1w_RG!&$e)HKHUqKdq!Zu_%=xsZuW~CqF+WrBW}ssIs6WUoSH^ jF+Eie7*j?ju6fD%DXB#(*y`T_H8Oa*`njxgN@xNA0}sHS literal 0 HcmV?d00001 diff --git a/GoJump/gfx/controls/transparentDark08.png.import b/GoJump/gfx/controls/transparentDark08.png.import new file mode 100644 index 0000000..d46661e --- /dev/null +++ b/GoJump/gfx/controls/transparentDark08.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/transparentDark08.png-5186ac933d34b08852218508357b7296.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/transparentDark08.png" +dest_files=[ "res://.import/transparentDark08.png-5186ac933d34b08852218508357b7296.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/GoJump/gfx/controls/transparentDark24.png b/GoJump/gfx/controls/transparentDark24.png new file mode 100644 index 0000000000000000000000000000000000000000..e754350b225371dbd5c4a793a885fb54c5416d40 GIT binary patch literal 984 zcmV;}11J26P)125Qhy54;C6$ks?`nD29e5kpc^?puz(Ig(Xp8Nu+}X0fmA6GYYGqh7}e?h3@{M z^~vtpjbA%6yWWvTQ6$HY?{;U_GqZC+z$j4^J;ZSwDotjy*<1CQHc=eATCHOI7Uu}Y zB6wIl_+qhmr#>GQfR95c&ZW;8hhg~2DQI{g1umM;=kJFC)<9ES)B4edskU4$KM;Z| zslIk%)il?3E#-n%r}$%v28pT4J>r^-NRf7OGMT&{(kYl$+$-)`1U%&&HnxDP02#AR zSz^y>MDYydQyRnH1$ae>WK$X!lI$q@I2hv)u?%n#UJ;_PrH(5$kHsdA1)ed8cu^k< zyj=0jqhIF@FcLR?oklcPc)50t>bUN4jeBN^5fw&FTfx)eau2S{do$d(pSsmkxzW-_ zCwDxwnxJfxXtIc#J)KV9E|<&CT=89qSAO`P<47dj>%a4uSs}Ch}-S&LBymCtfRylvA*O+g@F*b~1&Evftt4X<(-4gU{H`PuAc!Yg2{02R9^e=O zp3mnW65zpsZ7g9V8Wh_vl-wmJI4`Fbp_yaRlf(=Bc#t=18pn7Qc{UCt!XR3Qd*NUv2H8C z7gbtZr5!c`d{NrLIgM=uSXu6ik}VIgnbwy2a%`$Ww772?Q_SWY4rhXBNuRt4b*?6FJJ z_e(I;H^J3jF{C|Y#sbl310L5}KC!fba@8i1HX(BjB1;E19Y3^wiG$=2Ye!4zZ9ne> z2V`{m^({aLY(neXehx4iB{nNVFjU;AyYmhmN&smcxSBjmLg{FPDe5{MQ&qnWMy)w27m4V0000 Date: Wed, 8 Jul 2020 07:22:16 +0100 Subject: [PATCH 2/3] Update README.md Added link to the playlist. added link to kenny's control assets. fixed formatting of markdown. --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96794cc..55eeccb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,19 @@ -GoJump +# GoJump + +2D platformer made as part of a tutorial series. + +[Click here to watch the tutorial](https://www.youtube.com/watch?v=ZZ5wRBYTzQw&list=PLZVNxI_lsRW0F35BsPJ71lUvYj2qN0X6w) + +--- + +## Credits Some CC0 Assets used in this tutorial: [Cave Theme Music](https://opengameart.org/content/cave-theme) -[Misc Sfx] (https://opengameart.org/content/level-up-power-up-coin-get-13-sounds) + +[Misc Sfx](https://opengameart.org/content/level-up-power-up-coin-get-13-sounds) + [Loopable Dungeon Ambience](https://opengameart.org/content/loopable-dungeon-ambience) + +[On-Screen Controls](https://kenney.nl/assets/onscreen-controls) From c53fc6d02907093533310dd19c46b93ef95f3dad Mon Sep 17 00:00:00 2001 From: ITotalJustice <47043333+ITotalJustice@users.noreply.github.com> Date: Wed, 8 Jul 2020 20:09:15 +0100 Subject: [PATCH 3/3] Load placeholder level if level is not found --- GoJump/Game.gd | 7 +++- GoJump/Levels/Level5.tscn | 39 ------------------- GoJump/Levels/Level6.tscn | 39 ------------------- GoJump/Levels/Level7.tscn | 39 ------------------- GoJump/Levels/Level8.tscn | 39 ------------------- GoJump/Levels/Level9.tscn | 39 ------------------- .../{Level4.tscn => LevelPlaceholder.tscn} | 36 ++++++++--------- 7 files changed, 23 insertions(+), 215 deletions(-) delete mode 100644 GoJump/Levels/Level5.tscn delete mode 100644 GoJump/Levels/Level6.tscn delete mode 100644 GoJump/Levels/Level7.tscn delete mode 100644 GoJump/Levels/Level8.tscn delete mode 100644 GoJump/Levels/Level9.tscn rename GoJump/Levels/{Level4.tscn => LevelPlaceholder.tscn} (86%) diff --git a/GoJump/Game.gd b/GoJump/Game.gd index dece515..9ad0f9e 100644 --- a/GoJump/Game.gd +++ b/GoJump/Game.gd @@ -1,6 +1,7 @@ extends Node2D const LVL_PATH = "res://Levels/Level%d.tscn" +const LVL_PLACEHOLDER = "res://Levels/LevelPlaceholder.tscn" export(float) var fade_time = 0.5 @@ -23,8 +24,10 @@ func load_level(num:int): old_lvl.queue_free() #todo:check if level actually exists - var lvl = load(LVL_PATH % num).instance() - self.add_child(lvl) + var lvl = load(LVL_PATH % num) + if !lvl: + lvl = load(LVL_PLACEHOLDER) + self.add_child(lvl.instance()) return true func get_level_node(): diff --git a/GoJump/Levels/Level5.tscn b/GoJump/Levels/Level5.tscn deleted file mode 100644 index d9856b1..0000000 --- a/GoJump/Levels/Level5.tscn +++ /dev/null @@ -1,39 +0,0 @@ -[gd_scene load_steps=11 format=2] - -[ext_resource path="res://Levels/Level.gd" type="Script" id=1] -[ext_resource path="res://Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] -[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] -[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] -[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] -[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] -[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] -[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] -[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] - -[node name="Level" type="Node2D"] -pause_mode = 1 -script = ExtResource( 1 ) -__meta__ = { -"_edit_lock_": true -} -player = ExtResource( 2 ) -coin = ExtResource( 3 ) -key = ExtResource( 4 ) -door = ExtResource( 5 ) -ladder = ExtResource( 6 ) -ladder_top = ExtResource( 9 ) -chain = ExtResource( 7 ) -computer = ExtResource( 10 ) - -[node name="Tiles" type="TileMap" parent="."] -tile_set = ExtResource( 8 ) -cell_size = Vector2( 12, 12 ) -format = 1 -tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) - -[node name="Items" type="Node2D" parent="."] - -[node name="Triggerables" type="Node2D" parent="."] - -[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level6.tscn b/GoJump/Levels/Level6.tscn deleted file mode 100644 index d9856b1..0000000 --- a/GoJump/Levels/Level6.tscn +++ /dev/null @@ -1,39 +0,0 @@ -[gd_scene load_steps=11 format=2] - -[ext_resource path="res://Levels/Level.gd" type="Script" id=1] -[ext_resource path="res://Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] -[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] -[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] -[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] -[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] -[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] -[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] -[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] - -[node name="Level" type="Node2D"] -pause_mode = 1 -script = ExtResource( 1 ) -__meta__ = { -"_edit_lock_": true -} -player = ExtResource( 2 ) -coin = ExtResource( 3 ) -key = ExtResource( 4 ) -door = ExtResource( 5 ) -ladder = ExtResource( 6 ) -ladder_top = ExtResource( 9 ) -chain = ExtResource( 7 ) -computer = ExtResource( 10 ) - -[node name="Tiles" type="TileMap" parent="."] -tile_set = ExtResource( 8 ) -cell_size = Vector2( 12, 12 ) -format = 1 -tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) - -[node name="Items" type="Node2D" parent="."] - -[node name="Triggerables" type="Node2D" parent="."] - -[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level7.tscn b/GoJump/Levels/Level7.tscn deleted file mode 100644 index d9856b1..0000000 --- a/GoJump/Levels/Level7.tscn +++ /dev/null @@ -1,39 +0,0 @@ -[gd_scene load_steps=11 format=2] - -[ext_resource path="res://Levels/Level.gd" type="Script" id=1] -[ext_resource path="res://Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] -[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] -[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] -[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] -[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] -[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] -[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] -[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] - -[node name="Level" type="Node2D"] -pause_mode = 1 -script = ExtResource( 1 ) -__meta__ = { -"_edit_lock_": true -} -player = ExtResource( 2 ) -coin = ExtResource( 3 ) -key = ExtResource( 4 ) -door = ExtResource( 5 ) -ladder = ExtResource( 6 ) -ladder_top = ExtResource( 9 ) -chain = ExtResource( 7 ) -computer = ExtResource( 10 ) - -[node name="Tiles" type="TileMap" parent="."] -tile_set = ExtResource( 8 ) -cell_size = Vector2( 12, 12 ) -format = 1 -tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) - -[node name="Items" type="Node2D" parent="."] - -[node name="Triggerables" type="Node2D" parent="."] - -[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level8.tscn b/GoJump/Levels/Level8.tscn deleted file mode 100644 index d9856b1..0000000 --- a/GoJump/Levels/Level8.tscn +++ /dev/null @@ -1,39 +0,0 @@ -[gd_scene load_steps=11 format=2] - -[ext_resource path="res://Levels/Level.gd" type="Script" id=1] -[ext_resource path="res://Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] -[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] -[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] -[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] -[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] -[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] -[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] -[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] - -[node name="Level" type="Node2D"] -pause_mode = 1 -script = ExtResource( 1 ) -__meta__ = { -"_edit_lock_": true -} -player = ExtResource( 2 ) -coin = ExtResource( 3 ) -key = ExtResource( 4 ) -door = ExtResource( 5 ) -ladder = ExtResource( 6 ) -ladder_top = ExtResource( 9 ) -chain = ExtResource( 7 ) -computer = ExtResource( 10 ) - -[node name="Tiles" type="TileMap" parent="."] -tile_set = ExtResource( 8 ) -cell_size = Vector2( 12, 12 ) -format = 1 -tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) - -[node name="Items" type="Node2D" parent="."] - -[node name="Triggerables" type="Node2D" parent="."] - -[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level9.tscn b/GoJump/Levels/Level9.tscn deleted file mode 100644 index d9856b1..0000000 --- a/GoJump/Levels/Level9.tscn +++ /dev/null @@ -1,39 +0,0 @@ -[gd_scene load_steps=11 format=2] - -[ext_resource path="res://Levels/Level.gd" type="Script" id=1] -[ext_resource path="res://Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] -[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] -[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] -[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] -[ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] -[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] -[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] -[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] - -[node name="Level" type="Node2D"] -pause_mode = 1 -script = ExtResource( 1 ) -__meta__ = { -"_edit_lock_": true -} -player = ExtResource( 2 ) -coin = ExtResource( 3 ) -key = ExtResource( 4 ) -door = ExtResource( 5 ) -ladder = ExtResource( 6 ) -ladder_top = ExtResource( 9 ) -chain = ExtResource( 7 ) -computer = ExtResource( 10 ) - -[node name="Tiles" type="TileMap" parent="."] -tile_set = ExtResource( 8 ) -cell_size = Vector2( 12, 12 ) -format = 1 -tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131098, 0, 65542, 196608, 0, 65542, 196634, 0, 65542, 262144, 0, 65542, 262170, 0, 65542, 327680, 0, 65542, 327706, 0, 65542, 393216, 0, 65542, 393242, 0, 65542, 458752, 0, 65542, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 ) - -[node name="Items" type="Node2D" parent="."] - -[node name="Triggerables" type="Node2D" parent="."] - -[node name="Interactables" type="Node2D" parent="."] diff --git a/GoJump/Levels/Level4.tscn b/GoJump/Levels/LevelPlaceholder.tscn similarity index 86% rename from GoJump/Levels/Level4.tscn rename to GoJump/Levels/LevelPlaceholder.tscn index 9c8706b..5b4b81b 100644 --- a/GoJump/Levels/Level4.tscn +++ b/GoJump/Levels/LevelPlaceholder.tscn @@ -1,33 +1,33 @@ [gd_scene load_steps=11 format=2] -[ext_resource path="res://Levels/Level.gd" type="Script" id=1] -[ext_resource path="res://Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=3] -[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=4] -[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=5] -[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=6] +[ext_resource path="res://Player.tscn" type="PackedScene" id=1] +[ext_resource path="res://Pickups/Key.tscn" type="PackedScene" id=2] +[ext_resource path="res://Triggerables/Door.tscn" type="PackedScene" id=3] +[ext_resource path="res://Pickups/Coin.tscn" type="PackedScene" id=4] +[ext_resource path="res://Interactables/Ladder.tscn" type="PackedScene" id=5] +[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=6] [ext_resource path="res://Interactables/Chain.tscn" type="PackedScene" id=7] -[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=8] -[ext_resource path="res://Interactables/LadderTop.tscn" type="PackedScene" id=9] -[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=10] +[ext_resource path="res://Triggerables/Computer.tscn" type="PackedScene" id=8] +[ext_resource path="res://Levels/Level.gd" type="Script" id=9] +[ext_resource path="res://DungeonTileset.tres" type="TileSet" id=10] [node name="Level" type="Node2D"] pause_mode = 1 -script = ExtResource( 1 ) +script = ExtResource( 9 ) __meta__ = { "_edit_lock_": true } -player = ExtResource( 2 ) -coin = ExtResource( 3 ) -key = ExtResource( 4 ) -door = ExtResource( 5 ) -ladder = ExtResource( 6 ) -ladder_top = ExtResource( 9 ) +player = ExtResource( 1 ) +coin = ExtResource( 4 ) +key = ExtResource( 2 ) +door = ExtResource( 3 ) +ladder = ExtResource( 5 ) +ladder_top = ExtResource( 6 ) chain = ExtResource( 7 ) -computer = ExtResource( 10 ) +computer = ExtResource( 8 ) [node name="Tiles" type="TileMap" parent="."] -tile_set = ExtResource( 8 ) +tile_set = ExtResource( 10 ) cell_size = Vector2( 12, 12 ) format = 1 tile_data = PoolIntArray( 0, 0, 131075, 1, 0, 4, 2, 0, 4, 3, 0, 4, 4, 0, 4, 5, 0, 4, 6, 0, 4, 7, 0, 4, 8, 0, 4, 9, 0, 4, 10, 0, 4, 11, 0, 4, 12, 0, 4, 13, 0, 4, 14, 0, 4, 15, 0, 4, 16, 0, 4, 17, 0, 4, 18, 0, 4, 19, 0, 4, 20, 0, 4, 21, 0, 4, 22, 0, 4, 23, 0, 4, 24, 0, 4, 25, 0, 4, 26, 0, 131076, 65536, 0, 65542, 65562, 0, 65542, 131072, 0, 65542, 131078, 2, 0, 131082, 8, 0, 131083, 8, 0, 131084, 8, 0, 131085, 8, 0, 131086, 8, 0, 131093, 4, 0, 131098, 0, 65542, 196608, 0, 65542, 196612, 6, 0, 196613, 6, 0, 196614, 6, 0, 196615, 6, 0, 196616, 6, 0, 196618, 6, 0, 196619, 6, 0, 196620, 6, 0, 196621, 6, 0, 196622, 6, 0, 196624, 6, 0, 196625, 6, 0, 196629, 6, 0, 196634, 0, 65542, 262144, 0, 65542, 262148, 6, 0, 262156, 6, 0, 262160, 6, 0, 262162, 6, 0, 262165, 6, 0, 262170, 0, 65542, 327680, 0, 65542, 327684, 6, 0, 327685, 6, 0, 327686, 6, 0, 327687, 6, 0, 327692, 6, 0, 327696, 6, 0, 327699, 6, 0, 327701, 6, 0, 327706, 0, 65542, 393216, 0, 65542, 393220, 6, 0, 393226, 8, 0, 393227, 8, 0, 393228, 6, 0, 393229, 8, 0, 393230, 8, 0, 393232, 6, 0, 393236, 6, 0, 393237, 6, 0, 393242, 0, 65542, 458752, 0, 65542, 458756, 6, 0, 458762, 6, 0, 458763, 6, 0, 458764, 6, 0, 458765, 6, 0, 458766, 6, 0, 458768, 6, 0, 458773, 6, 0, 458778, 0, 65542, 524288, 0, 65542, 524314, 0, 65542, 589824, 0, 65542, 589850, 0, 65542, 655360, 0, 65542, 655386, 0, 65542, 720896, 0, 65542, 720922, 0, 65542, 786432, 0, 65542, 786437, 13, 0, 786455, 14, 0, 786458, 0, 65542, 851968, 0, 65540, 851969, 0, 4, 851970, 0, 4, 851971, 0, 4, 851972, 0, 4, 851973, 0, 4, 851974, 0, 4, 851975, 0, 4, 851976, 0, 4, 851977, 0, 4, 851978, 0, 4, 851979, 0, 4, 851980, 0, 4, 851981, 0, 4, 851982, 0, 4, 851983, 0, 4, 851984, 0, 4, 851985, 0, 4, 851986, 0, 4, 851987, 0, 4, 851988, 0, 4, 851989, 0, 4, 851990, 0, 4, 851991, 0, 4, 851992, 0, 4, 851993, 0, 4, 851994, 0, 65541 )