Skip to content

Commit

Permalink
Demo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
20milliliter committed Nov 21, 2023
1 parent a380eb8 commit 83d06d9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../WIN64.exe"
export_path="../SameDayShipping-0.1.1-win64.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
Expand All @@ -35,8 +35,8 @@ application/modify_resources=true
application/icon=""
application/console_wrapper_icon=""
application/icon_interpolation=4
application/file_version=""
application/product_version=""
application/file_version="0.1.1.0"
application/product_version="0.1.1.0"
application/company_name="Noble Metal Labs"
application/product_name="Same Day Shipping"
application/file_description="Same Day Shipping is a love letter to Source Engine movement, chill beats, and the beauty of nature."
Expand Down
3 changes: 2 additions & 1 deletion scenes/game/ui/UI.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ offset_left = -313.0
offset_top = -26.0
grow_horizontal = 0
grow_vertical = 0
text = "(R)estart (E)xplore (N)ew Game"
text = "(R)estart (E)xplore"
horizontal_alignment = 2

[node name="Label2" type="Label" parent="HUD/Control"]
layout_mode = 1
Expand Down
1 change: 1 addition & 0 deletions scripts/game/GameStateManager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,5 @@ func start_postgame():
postgame_started.emit()

func end_game():
game_in_progress = false
start_explore()
4 changes: 2 additions & 2 deletions scripts/game/player/player.gd
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ func _jump():
if Input.is_action_just_pressed("jump"):
if _is_on_floor:
velocity += jump_velocity
AudioDispatcher.dispatch_audio(self, "sounds/player/jump/grounded/", 0.3, "SFX")
AudioDispatcher.dispatch_audio(self, "sounds/player/jump/grounded/", 0.1, "SFX")
elif can_double_jump:
if velocity.y < 0:
velocity.y = jump_velocity.y
else:
velocity += jump_velocity
can_double_jump = false
AudioDispatcher.dispatch_audio(self, "sounds/player/jump/air", 0.5, "SFX")
AudioDispatcher.dispatch_audio(self, "sounds/player/jump/air", 0.3, "SFX")

if _is_on_floor:
can_double_jump = true
Expand Down
3 changes: 2 additions & 1 deletion scripts/game/ui/EscapeMenu.gd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ func _ready():
mainmenu_button.pressed.connect(
func():
toggle_paused()
get_tree().change_scene_to_file("res://scenes/MAINMENU.tscn")
#get_tree().change_scene_to_file("res://scenes/MAINMENU.tscn")
get_tree().quit()
)

func _input(event):
Expand Down
1 change: 1 addition & 0 deletions scripts/game/ui/WinPanel.gd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ signal finished()
func _ready():
timer.timeout.connect(
func():
print('Hiding now!')
self.hide()
finished.emit()
)
Expand Down

0 comments on commit 83d06d9

Please sign in to comment.