Creating the GUI - 2D RPG Serie In Godot 4.1 #godot4 #rpg #gamedev
In this 10th video we gonna create the GUI to display the number of life of our player and the number of coins collected.
Timecode:
00:00 introduction
00:24 import the graphic element of our gui
00:52 Create a canvas layer node
01:59 Adjusting the size of my icons
03:16 Create the script of the gui
04:06 create a for loop
06:41 updating the heart system
11:10 testing if the GUI display the heart system well
11:57 working now on displaying the number of coins collected
12:03 creating the icon for the coin
12:13 creating the label to display the number of coin collected
12:24 dragging the texture for the coins and setting it up
13:26 change the size of the text display in the label
14:07 coding the number of coin to display in the GUI
Assets: https://jeanmakesgames.itch.io/2d-rpg-asset
Wishlist my game "Lone Knight" here: https://store.steampowered.com/app/2211930/Lone_Knight/
*Udemy Course:* (this is the best way to support my work)
For halloween I'm discounted my courses, valid until the 31st of October! :)
My godot engine 4 course is discounted here:
https://www.udemy.com/course/learn-godot-4-by-making-a-2d-game/?couponCode=HALLOWEENGODOT
Coupon Code: HALLOWEENGODOT
Create a 2d platformer / metroidvania in godot engine 3:
https://www.udemy.com/course/create-a-2d-platformer-game-with-godot-engine/?couponCode=HALLOWEENGODOT
coupon: HALLOWEENGODOT
Create a 2d rpg with godot engine 3:
https://www.udemy.com/course/create-a-2d-rpg-with-the-godot-engine/?couponCode=HALLOWEENGODOT
coupon: HALLOWEENGODOT
Learn C# in godot 3 by creating a 2d rpg:
https://www.udemy.com/course/learning-csharp-with-godot/?couponCode=HALLOWEENGODOT
coupon: HALLOWEENGODOT
Happy halloween to everyone!
1. Player movement **
2. Player animations and state machine **
need to make the animation tree **
need to make the state machine **
3. Sword & state machine **
4. Slashing a crate with the sword & Ysort**
5. Jump and deactivating the collision shape *
6. Tilemap with autotile **
7. camera following the player and camera limit **
8. Collectibles **
9. Health system & killing the player **
10. GUI **
11. Enemy **
12. hazards