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..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(): @@ -81,3 +84,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/LevelPlaceholder.tscn b/GoJump/Levels/LevelPlaceholder.tscn new file mode 100644 index 0000000..5b4b81b --- /dev/null +++ b/GoJump/Levels/LevelPlaceholder.tscn @@ -0,0 +1,39 @@ +[gd_scene load_steps=11 format=2] + +[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://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( 9 ) +__meta__ = { +"_edit_lock_": true +} +player = ExtResource( 1 ) +coin = ExtResource( 4 ) +key = ExtResource( 2 ) +door = ExtResource( 3 ) +ladder = ExtResource( 5 ) +ladder_top = ExtResource( 6 ) +chain = ExtResource( 7 ) +computer = ExtResource( 8 ) + +[node name="Tiles" type="TileMap" parent="."] +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 ) + +[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 0000000..7610995 Binary files /dev/null and b/GoJump/gfx/controls/flatDark02.png differ diff --git a/GoJump/gfx/controls/flatDark02.png.import b/GoJump/gfx/controls/flatDark02.png.import new file mode 100644 index 0000000..e4e9af2 --- /dev/null +++ b/GoJump/gfx/controls/flatDark02.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/flatDark02.png-74cb7e4d0d2cd8036b32b9275e4bce5d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/flatDark02.png" +dest_files=[ "res://.import/flatDark02.png-74cb7e4d0d2cd8036b32b9275e4bce5d.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/flatDark04.png b/GoJump/gfx/controls/flatDark04.png new file mode 100644 index 0000000..7fb493a Binary files /dev/null and b/GoJump/gfx/controls/flatDark04.png differ 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 0000000..e9d86b2 Binary files /dev/null and b/GoJump/gfx/controls/flatDark05.png differ 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 0000000..67e2687 Binary files /dev/null and b/GoJump/gfx/controls/flatDark09.png differ 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 0000000..7e5dc75 Binary files /dev/null and b/GoJump/gfx/controls/flatDark25.png differ 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 0000000..a2b194e Binary files /dev/null and b/GoJump/gfx/controls/transparentDark01.png differ 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 0000000..3ab4150 Binary files /dev/null and b/GoJump/gfx/controls/transparentDark03.png differ 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 0000000..c717a8d Binary files /dev/null and b/GoJump/gfx/controls/transparentDark04.png differ 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 0000000..0557cee Binary files /dev/null and b/GoJump/gfx/controls/transparentDark08.png differ 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 0000000..e754350 Binary files /dev/null and b/GoJump/gfx/controls/transparentDark24.png differ diff --git a/GoJump/gfx/controls/transparentDark24.png.import b/GoJump/gfx/controls/transparentDark24.png.import new file mode 100644 index 0000000..7cab27c --- /dev/null +++ b/GoJump/gfx/controls/transparentDark24.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/transparentDark24.png-29d7f2b937025a6669010a96dee6da11.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://gfx/controls/transparentDark24.png" +dest_files=[ "res://.import/transparentDark24.png-29d7f2b937025a6669010a96dee6da11.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/project.godot b/GoJump/project.godot index 3cea070..f1d3a25 100644 --- a/GoJump/project.godot +++ b/GoJump/project.godot @@ -72,26 +72,36 @@ texture={ left={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) ] } right={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) ] } jump={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":90,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) ] } up={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) ] } down={ "deadzone": 0.5, "events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null) ] } @@ -107,7 +117,10 @@ down={ [rendering] quality/driver/driver_name="GLES2" +quality/intended_usage/framebuffer_allocation=1 +quality/intended_usage/framebuffer_allocation.mobile=1 quality/2d/use_pixel_snap=true +threads/thread_model=2 vram_compression/import_etc=true vram_compression/import_etc2=false environment/default_environment="res://default_env.tres" 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)