Emudesc en Facebook!RSS

Retroceder   Foros de Emudesc > Crea tus propios juegos > RPG Maker > Scripts

Respuesta
 
Herramientas
  #1  
Antiguo 02-ago-2011, 22:39
Banneado
 
Fecha de Ingreso: abril-2011
Ubicación: Mafia
Mensajes: 1,028
~Doku se está dando a conocer
Predeterminado [VX]-Caminando estilo paper mario-[Aporte]

Aquí traigo este script que me encontré por ahí.

Explicación:

Lo que hace este script es que te permite caminar al estilo paper mario, osea solo usa los sprites de izquierda y derecha para caminar en todas las direcciones.

Script:

Código:
=begin
                            Paper Mario Walk
Version = 0.2
Author = BulletXt (bulletxt@gmail.com)

Description:
This script will make you move up/down keeping direction animation fixed
to lef/right like in sideview arcade games.

=end

#this is a switch ID, if ON it restores normal VX walking. By default this
#switch is OFF.
DISABLE_SCRIPT = 1

#this is the initial position player faces when game starts.
#possible values are: "left"  or  "right"
STARTING_POSITION_DIRECTION = "right"


########################## END CONFIGURATION ###################################



if STARTING_POSITION_DIRECTION == "right"
POSITION = 4  
else
POSITION = 6    
end



class Game_Character

  alias bulletxt_move_down_paper move_down
  def move_down(turn_ok = true)
  current_direction = @direction
  bulletxt_move_down_paper(turn_ok = true)  
  return if $game_switches[DISABLE_SCRIPT]
  turn_right if current_direction == 6
  turn_left if current_direction == 4
  end
  
  
  
  alias bulletxt_move_up_paper move_up
  def move_up(turn_ok = true)
  current_direction = @direction
  bulletxt_move_up_paper(turn_ok = true) 
  return if $game_switches[DISABLE_SCRIPT]
  turn_right if current_direction == 6
  turn_left if current_direction == 4
  end

end 


class Game_Player < Game_Character
  alias bulletxt_paper_initialize initialize
  #set position at game start
  def initialize
    bulletxt_paper_initialize
    return if $game_switches[DISABLE_SCRIPT]
    set_direction(POSITION) if @direction == 2 or @direction == 8 
  end 
  
  alias bulletxt_perform_transfer_paper perform_transfer
  #set position at map transfer in case player is facing up or down
  def perform_transfer
    bulletxt_perform_transfer_paper
    return if $game_switches[DISABLE_SCRIPT]
    set_direction(POSITION) if @direction == 2 or @direction == 8 
  end
  
end
Saludos.

~Night Shade~


Responder Con Cita
Respuesta



Temas Similares para: [VX]-Caminando estilo paper mario-[Aporte]
Tema Autor Foro Respuestas Último mensaje
[Mi Primer Aporte! ;D]Super Paper Mario. 1Link[NTSC-U] Ruffles_Verdes Nintendo Wii 18 14-dic-2010 01:16
Ayuda con Paper Mario La Puerta Millenaria/Paper Mario The Thousand Year Door Charmarelon GameCube 9 28-sep-2010 12:34
[APORTE] Paper mario wii pal megauplaos 1 LINK Luffy D´monkey Nintendo Wii 32 17-sep-2010 09:25
[aporte] [mu] paper mario [pal] mister wii Nintendo Wii 12 11-feb-2010 21:23
que archivo puedo usar para crear juegos al estilo Paper mario Kira-Sama Creación de Juegos 0 26-feb-2009 20:49


La franja horaria es GMT +1. La hora actual es: 03:40.


Powered by vBulletin®


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93