Create Your First Godot 4 Game
Lesson 10: Adding the final touches
Create Your First Godot 4 Game
- Lesson 1: Getting started with Godot 4 2:53
- Lesson 2: Overview of the Godot interface 18:24
- Lesson 3: Setting up the level 11:09
- Lesson 4: Creating the player 22:42
- Lesson 5: Spawning the platforms 8:09
- Lesson 6: Creating a collectible 18:49
- Lesson 7: Creating an enemy 10:46
- Lesson 8: Handling player death 10:26
- Lesson 9: Creating the player projectile 13:05
- Lesson 10: Adding the final touches
- Lesson 11: Exporting your game and wrapping up 2:37
Video Notes
We’re almost there! Let’s add a few final touches like background music and a main menu to really polish this game up.
-
ManoShu
Oct. 21, 2023 at 1:02 a.m.To finish the flow of gameplay I added the function to go back to the menu. At the end of the
_input(event)
method on player.gd I added:if(event.is_action_pressed("escape")): get_tree().change_scene_to_file("res://scenes/menu.tscn")
Of course you need to add the
escape
input on the Input Map.
-
aainflight
April 15, 2024 at 2:29 a.m.great
Deeraghoogames
April 22, 2023 at 10:08 p.m.when adding the music is there a way to make it loop ?
Deeraghoogames
April 22, 2023 at 10:18 p.m.never mind i figured it out , when importing the audio make sure that the loop option is checked or select the audio source, go to the import tab and check loop check box then Reimport
amit
April 24, 2023 at 1:14 p.m.Good question! For me, it was set to loop by default, but it’s good to know how to change that option. To clarify for anyone else reading, you can double-click the audio file in the FileSystem panel to bring up the re-import and looping options.
JTW789
Sept. 25, 2023 at 7:34 p.m.Thank you! I was wandering that myself!