Salve, ho messo questo script nel mio progetto: http://forums.rpgmak...stamina-system/
(Visto che in questo sito non lo trovato)
Perche non riesco a vedere la barra della stamina sullo schermo?
Grazie :)
Come istruzione all'interno dello script, c'era questo:
Spoiler
#============================================================================== # XS - Stamina System # Author: Nicke # Created: 05/10/2013 # Edited: 15/10/2013 # Version: 1.0b #============================================================================== # Instructions # ----------------------------------------------------------------------------- # To install this script, open up your script editor and copy/paste this script # to an open slot below ? Materials but above ? Main. Remember to save. #============================================================================== # Requires: XS - Core Script. # Requires: Numeric Class by IceDragon. #============================================================================== # # This script will add a Stamina System which enables you to control # the players dashing on the map. # # You can control the stamina by the following method: # $game_player.set_stamina(value, stamina_type, operator = :add) # # Examples: # $game_player.set_stamina(50, :stamina) # Increment stamina by 50. # $game_player.set_stamina(50, :stamina, :lose) # Decrease stamina by 50. # # $game_player.set_stamina(100, :max_stamina) # Increment max stamina by 50. # $game_player.set_stamina(100, :max_stamina, :lose) # Decrease max stamina by 50. # # Items can also increase the stamina values and is done in the notetag for the # specified item: # <stamina: integer> # <max_stamina: integer> # # Examples: # <stamina: 50> # Item will instantly increment stamina by 50. # <max_stamina: 150> # Item will instantly increment nax stamina by 150. # # The stamina values are also binded to variables meaning you can also control # the stamina by them. (Made for simplicity.) # # When the player is standing still they will regain stamina slowly. The recover # time and how much stamina you will recover can be changed as needed. # You can also setup a Region ID to enable faster recovery. # # Resting at a Inn will also restore stamina instantly. # # A HUD is enabled from default in this script that will show the stamina # values to the player. This feature can be enabled/disabled by a switch ingame. # The whole system can be also be enabled/disabled by a switch. # # In the HUD a gauge is created along with the stamina values. You can easily import # your own custom pictures to change the gauge appearances. # # An animate feature is implemented and enabled by default. # This will fade out the stamina hud after a short amount of time. (optional) # # Note!!! From default you need to enable the default switches to enable the # system ingame. Default switch IDs: 10 and 11. # # *** Only for RPG Maker VX Ace. *** #==============================================================================
Ma non ci ho capito un gran chè :D