Game is done...kinda'
Source: Dev.to
Where we are?
The game is mostly done and has been uploaded to itch.io. It’s still missing a few elements, but I’ll be adding more as I go. This is only my second game ever, and I’m pretty happy with how it turned out. Of course, I want it to have tons of features and amazing gameplay, but those will come step by step.
In this post I’ll dive deeper into my GameManager and some refactoring I did—the good stuff that keeps the project tidy and manageable.
- Some of the pixel sprites need to be fixed; they got messed up when I imported them into Godot (no idea why).
- I need to sort out the menu, make it look prettier, add audio, and implement a settings window.
GameManager script
extends Node
signal lives_changed(new_lives)
signal score_changed(new_score)
var lives = 3
var current_score = 0
# KEEPING SCORE ---------------------------------
func _update_score(fish_score):
current_score += fish_score
score_changed.emit(current_score)
#------------------------------------------------
# HEALTH ----------------------------------------
func _decrease_life():
if lives > 0:
lives -= 1
lives_changed.emit(lives)
if lives == 0:
_game_over()
#------------------------------------------------
# GAME UI STUFF ---------------------------------
func _game_over():
var game_over_scene = preload("uid://behejrhw6wlo7")
var game_over_instance = game_over_scene.instantiate()
var GameOverCanvas = get_node("/root/MainScene/GameOverCanvas")
GameOverCanvas.add_child(game_over_instance)
get_tree().paused = true
#------------------------------------------------
func reset_game():
lives = 3
current_score = 0
lives_changed.emit(lives)
score_changed.emit(current_score)The script tracks score, lives, and handles the game‑over state.
Future plans
- Start a new game (I have a lot on my plate right now, so updates will be occasional).
- Add more features to this project over time.
- Release Part 1 of the new game next week.
My dear readers, remember that everything I write isn’t always 100 % correct. I’m a novice and make mistakes. If you spot an error or have any feedback, please comment!