Dash Stamina 4 / 5


Adds stamina bar and restricts dashing

Tags dash stamina


Restricts infinite dashing by adding a stamina bar.
By dashing you lose stamina, and when you lose all stamina you can't dash.
You can configure the position of stamina bar and what image will be shown as stamina bar.
Max stamina, stamina regenerating, and losing of stamina are stored in a variable, so you can change maximum stamina and how fast is player losing/regenerating his stamina in-game.

Version history

Version Description
1.0.0 Initial release

Required graphics

You'll need the graphic of stamina bar from here
There is also .psd file included, in case you want to make small edits to it.



    • Game_Player
      • stamina (property)
    • Sprite_Stamina
      • <constructor>
      • initialize
      • update


    • Game_Player
      • initialize
    • Game_Map
      • isDashDisabled
    • Scene_Map
      • onMapLoaded
      • update


    • <None>
Available versions
This version doesn't have plugin dependencies.

User reviews (1)

Izeck 4

08/16/2016 07:53:16

This is great, but it would be even better if there was a minimum stam needed before the player can dash again. As it is, I set stam consumption to 10 and regen to 1, but as soon as I had 1 stam back I could dash (For split second, but still).