#how to do a system stamina

1 messages · Page 1 of 1 (latest)

heavy umbra
#

I need it for my game to run, attack and dash, for that I want to use stamina

alpine moth
#

Just create variable

#

Edit an bar comp from the ui screen

#

Which is optional u can use anything

#

and just do this

#

If u use button for dash

#

When pressed

#

If stamina = input amount

#

Or greater

#

Set stamina - input amount

#

Exectute dash or whatever

#

@heavy umbra

#

@heavy umbra