You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

13h 9m 32s logged

Finally started to develop a “game”

made 3 things, Attacks, Stamina, and GUI

Attacks:
->use hurtboxes detect if an area entered, if that area is_in_group(“attackarea”) the hurtbox takes a damage variable and applies it to the thing it’s attached too (Player, enemy, etc)

Stamina:
-> A timer slowly makes it tick upwards, starts at 10, and goes down if the player jumps or attacks, uses a Global Variable allow the GUI to display the stamina (there’s probably a better way but I’m lazy ¯_(ツ)_/¯)

GUI:
->uses a canvas layer being displayed over a sub-viewport, which includes the coins and stamina, just displays text and then the quantities of each integer.

next steps:
->destructible blocks
->physics blocks
->stamina bar (not integer)
->sprinting (and smoother movement.

Thanks to Brackeys for the assets!

0
1

Comments 1

@wilson_brunner

update: I smoothed it out using the move_toward() method, which changes the speed variable gradually.