Devlog No.1
Hi again ! With this Devlog we reached to step 10/17 of the tutorial/mission, so here is my progress:
We built the first scene of the game , which has 3 buttons (Start, Settings and Quit). After pressing the Start button the user is led to the Level scene, which shows the lives (in this game are represented as cookies) the player has and there is a countdown for the player to get prepared.
When the countdown ends the scene changes into the first minigame which is a platformer game (For those who don’t know: it is a game where the character has to jump between platforms and collect tokens/coins/lives)
Here is where I am actually stuck, even though i followed the guide, when the game starts my character just falls down like being pulled down by gravity and completely ignoring the platform1. I will try to figure it out, i guess …
Difficulties faced:
- I had a hard time connecting the Hackatime with the Godot, since the version 4.7 (latest) i had didn’t recognise/have the “Godot Super Wackatime” and I had to download the previous version (4.6) to connect the Godot with the Wackatime and actually record the time i worked.
- There where some errors in the title_screen script that resulted into the transformation from the title screen to the level one not to work. Found out it was because I had written :
func _on_start_btn_pressed() -> void:
get_tree().change_scene_to_file (“res://level_scene.tscn”)
and not :
func _on_start_btn_pressed() -> void:
get_tree().change_scene_to_file (“res://scenes/level_scene.tscn”)
- Lastly, there was some trouble with the cookies in the level scene , since the Vbox needed to be smaller but it could not be adjusted, solution: saving everything , closing the editor and opening the project again.
Note: I haven’t created a scene for the settings button to lead to, but it is on my checking list.
You can see the rest of the progress and the code on my github!
That is all for now !
your friendly co-programmer,
M.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.