Jump to content
Rpg²S Forum
  • 0

Script walk/stand/run


jesus333
 Share

Question

Salve a tutti!

Sto cercando lo script stand/walk/run, che permette di cambiare la grafica dei chara quando appunto camminano corrono o rimangono fermi. Ho cercato dovunque e l ho trovato solo per vx, ma lo script per vx è un adattamento dell originale per xp!

Solo che quello per xp è introvabile..magari un utente del forum l ha usato in qualche vecchio progetto xp e me lo puo passare?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Eccolo qui. ^ ^

 

#============================================================================# Stand/Walk/Run Script#============================================================================# version 1.00# Written by Synthesize#============================================================================# Customization#----------------------------------------------------------------------------RUN_MOVE_SPEED = 5 # Speed that you run atWALK_MOVE_SPEED = 4 # Speed that you walk atUSE_RUN_SPRITE = true # Use a Running Sprite if RunningRUN_SPRITE_SUFFIX = '_run' # Characterset should have this in it (001-Fighter01_run.png) as an exampleUSE_IDLE_SPRITE = true # Use idle Sprite if idlingIDLE_SPRITE_SUFFIX = '_idle' # Suffix on the sprites names$RUN_ACTIVE = true # Turn Running ON or OFF (Use $RUN_ACTIVE =true/false in a call script to disable running at certain parts of the game)#----------------------------------------------------------------------------# Scene_Map#----------------------------------------------------------------------------class Scene_Map  alias syn_map_update update  #--------------------------------------------------------------------------  #Initialize variables  #-------------------------------------------------------------------------  def initialize	@game_character = Game_Character.new	@sprite_changed = false  end  #--------------------------------------------------------------------------  # Update  #-------------------------------------------------------------------------  def update	#--------------------------------------------------------------------	# Handles Idle Stance	#--------------------------------------------------------------------	if Input.dir4 == 0	  # Sets Idle Sprite Stance	  @game_character.change_sprite(IDLE_SPRITE_SUFFIX) if @sprite_changed == false and USE_IDLE_SPRITE == true	  @sprite_changed = true if USE_IDLE_SPRITE == true	else	  @sprite_changed = false if USE_IDLE_SPRITE == true	  @game_character.change_sprite('reset')	end	#--------------------------------------------------------------------	# Handles Run Stance	#--------------------------------------------------------------------	if Input.press?(Input::A)	  $game_player.move_speed = RUN_MOVE_SPEED if $RUN_ACTIVE == true	  @game_character.change_sprite(RUN_SPRITE_SUFFIX) if @sprite_changed == false and USE_RUN_SPRITE == true	  @sprite_changed = true if USE_RUN_SPRITE == true	else	  $game_player.move_speed = WALK_MOVE_SPEED	end	syn_map_update  endend#---------------------------------------------------------------------------# Game_Character#---------------------------------------------------------------------------class Game_Character  attr_accessor :character_name  attr_accessor :move_speed  def change_sprite(name)	if name == 'reset'	  $game_player.character_name = @old_character_name	else	  @old_character_name = $game_player.character_name	  $game_player.character_name += name	end  endend#------------------------------------------------------------------------# Requested by Cerulean Sky#------------------------------------------------------------------------#==========================================================================# Stand/Walk/Run#==========================================================================

 

Ricorda di creditare l'autore Synthesize!

^ ^

(\_/)
(^ ^) <----coniglietto rosso, me!
(> <)


Il mio Tumblr dove seguire i miei progetti, i progetti della Reverie : : Project ^ ^

http://i.imgur.com/KdUDtQt.png disponibile su Google Play, qui i dettagli! ^ ^

http://i.imgur.com/FwnGMI3.png completo! Giocabile online, qui i dettagli! ^ ^

REVERIE : : RENDEZVOUS (In allenamento per apprendere le buone arti prima di cominciarlo per bene ^ ^) Trovate i dettagli qui insieme alla mia intervista (non utilizzerò più rpgmaker) ^ ^

 

SUWOnzB.jpg 🖤
http://www.rpg2s.net/dax_games/r2s_regali2s.png E:3 http://www.rpg2s.net/dax_games/xmas/gifnatale123.gif
http://i.imgur.com/FfvHCGG.png by Testament (notare dettaglio in basso a destra)! E:3
http://i.imgur.com/MpaUphY.jpg by Idriu E:3

Membro Onorario, Ambasciatore dei Coniglietti (Membro n.44)

http://i.imgur.com/PgUqHPm.png
Ufficiale
"Ad opera della sua onestà e del suo completo appoggio alla causa dei Panda, Guardian Of Irael viene ufficialmente considerato un Membro portante del Partito, e Ambasciatore del suo Popolo presso di noi"


http://i.imgur.com/TbRr4iS.png<- Grazie Testament E:3
Ricorda...se rivolgi il tuo sguardo ^ ^ a Guardian anche Guardian volge il suo sguardo ^ ^ a te ^ ^
http://i.imgur.com/u8UJ4Vm.gifby Flame ^ ^
http://i.imgur.com/VbggEKS.gifhttp://i.imgur.com/2tJmjFJ.gifhttp://projectste.altervista.org/Our_Hero_adotta/ado2.png
Grazie Testament XD Fan n°1 ufficiale di PQ! :D

Viva
il Rhaxen! <- Folletto te lo avevo detto (fa pure rima) che non
avevo programmi di grafica per fare un banner su questo pc XD (ora ho di
nuovo il mio PC veramente :D)

Rosso Guardiano della
http://i.imgur.com/Os5rvhx.png

Rpg2s RPG BY FORUM:

Nome: Darth Reveal

 

PV totali 2
PA totali 16

Descrizione: ragazzo dai lunghi capelli rossi ed occhi dello stesso colore. Indossa una elegante giacca rossa sopra ad una maglietta nera. Porta pantaloni rossi larghi, una cintura nera e degli stivali dello stesso colore. E' solito trasportare lo spadone dietro la schiena in un fodero apposito. Ha un pendente al collo e tiene ben legato un pezzo di stoffa (che gli sta particolarmente a cuore) intorno al braccio sinistro sotto la giacca, copre una cicatrice.
Bozze vesti non definitive qui.

Equipaggiamento:
Indossa:
60$ e 59$ divisi in due tasche interne
Levaitan

Spada a due mani elsa lunga

Guanti del Defender (2PA)
Anello del linguaggio animale (diventato del Richiamo)

Scrinieri da lanciere (2 PA)

Elmo del Leone (5 PA)

Corazza del Leone in Ferro Corrazzato (7 PA)

ZAINO (20) contenente:
Portamonete in pelle di cinghiale contenente: 100$
Scatola Sanitaria Sigillata (può contenere e tenere al sicuro fino a 4 oggetti curativi) (contiene Benda di pronto soccorso x3, Pozione di cura)
Corda
Bottiglia di idromele
Forma di formaggio
Torcia (serve ad illuminare, dura tre settori)

Fiasca di ceramica con Giglio Amaro (Dona +1PN e Velocità all'utilizzatore)
Ampolla Bianca

Semi di Balissa

 

CAVALLO NORMALE + SELLA (30 +2 armi) contentente:
66$
Benda di pronto soccorso x3
Spada a due mani

Fagotto per Adara (fazzoletto ricamato)


 

Link to comment
Share on other sites

  • 0
Eccolo qui. ^ ^

 

#============================================================================# Stand/Walk/Run Script#============================================================================# version 1.00# Written by Synthesize#============================================================================# Customization#----------------------------------------------------------------------------RUN_MOVE_SPEED = 5 # Speed that you run atWALK_MOVE_SPEED = 4 # Speed that you walk atUSE_RUN_SPRITE = true # Use a Running Sprite if RunningRUN_SPRITE_SUFFIX = '_run' # Characterset should have this in it (001-Fighter01_run.png) as an exampleUSE_IDLE_SPRITE = true # Use idle Sprite if idlingIDLE_SPRITE_SUFFIX = '_idle' # Suffix on the sprites names$RUN_ACTIVE = true # Turn Running ON or OFF (Use $RUN_ACTIVE =true/false in a call script to disable running at certain parts of the game)#----------------------------------------------------------------------------# Scene_Map#----------------------------------------------------------------------------class Scene_Map  alias syn_map_update update  #--------------------------------------------------------------------------  #Initialize variables  #-------------------------------------------------------------------------  def initialize	@game_character = Game_Character.new	@sprite_changed = false  end  #--------------------------------------------------------------------------  # Update  #-------------------------------------------------------------------------  def update	#--------------------------------------------------------------------	# Handles Idle Stance	#--------------------------------------------------------------------	if Input.dir4 == 0	  # Sets Idle Sprite Stance	  @game_character.change_sprite(IDLE_SPRITE_SUFFIX) if @sprite_changed == false and USE_IDLE_SPRITE == true	  @sprite_changed = true if USE_IDLE_SPRITE == true	else	  @sprite_changed = false if USE_IDLE_SPRITE == true	  @game_character.change_sprite('reset')	end	#--------------------------------------------------------------------	# Handles Run Stance	#--------------------------------------------------------------------	if Input.press?(Input::A)	  $game_player.move_speed = RUN_MOVE_SPEED if $RUN_ACTIVE == true	  @game_character.change_sprite(RUN_SPRITE_SUFFIX) if @sprite_changed == false and USE_RUN_SPRITE == true	  @sprite_changed = true if USE_RUN_SPRITE == true	else	  $game_player.move_speed = WALK_MOVE_SPEED	end	syn_map_update  endend#---------------------------------------------------------------------------# Game_Character#---------------------------------------------------------------------------class Game_Character  attr_accessor :character_name  attr_accessor :move_speed  def change_sprite(name)	if name == 'reset'	  $game_player.character_name = @old_character_name	else	  @old_character_name = $game_player.character_name	  $game_player.character_name += name	end  endend#------------------------------------------------------------------------# Requested by Cerulean Sky#------------------------------------------------------------------------#==========================================================================# Stand/Walk/Run#==========================================================================

 

Ricorda di creditare l'autore Synthesize!

^ ^

grazie mille! **

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...