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

Open comments for this post

2h 53m 15s logged

Added a stamina mechanic! Attacking now requires stamina. When stamina is used up, it will slowly refill back to the maximum over time. In the future, I plan to make successfully parrying enemy attacks also refill some stamina. The hardest part of this was creating the visual stamina bar in the UI. I used a shader to offset the sprite’s UV depending on what percentage of stamina the player has remanining. The shader also applies a multiplier to the sprite color’s intensity to make the stamina meter glow more when it is closer to full.

0
49

Comments 0

No comments yet. Be the first!