Script de saltar
3 participantes
CaistsaRpg :: Rpg Maker :: Scripts Xp
Página 1 de 1.
Script de saltar
tu pj salta
en el script este de Game_Player pne esto
y a disfrutar
en el script este de Game_Player pne esto
- Spoiler:
- if Input.trigger?(Input::C)
check_event_trigger_here([0])
check_event_trigger_there([0,1,2])
end
- Código:
#==============================================================================
# Advanced Jump Edit By: Title Loan Man
#==============================================================================
unless $game_system.map_interpreter.running?
if Input.press?(Input::RIGHT) and Input.press?(Input::A)
if passable?(@x, @y, 4) and $game_map.terrain_tag($game_player.x+1, $game_player.y) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(2,0)
end
end
if Input.press?(Input::LEFT) and Input.press?(Input::A)
if passable?(@x, @y, 6) and $game_map.terrain_tag($game_player.x-1, $game_player.y) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(-2,0)
end
end
if Input.press?(Input::DOWN) and Input.press?(Input::A)
if passable?(@x, @y, 8) and $game_map.terrain_tag($game_player.x, $game_player.y+1) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(0,2)
end
end
if Input.press?(Input::UP) and Input.press?(Input::A)
if passable?(@x, @y, 2) and $game_map.terrain_tag($game_player.x, $game_player.y-1) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(0,-2)
end
end
if Input.trigger?(Input::A)
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(0,0)
end
end
unless $game_system.map_interpreter.running?
if Input.press?(Input::RIGHT) and Input.press?(Input::A) and Input.press?(Input::C)
if passable?(@x, @y, 4)
if $game_map.terrain_tag($game_player.x+1, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+2, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+3, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x+4, $game_player.y) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(5,0)
end
end
end
end
end
end
if Input.press?(Input::LEFT) and Input.press?(Input::A) and Input.press?(Input::C)
if passable?(@x, @y, 6)
if $game_map.terrain_tag($game_player.x-1, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x-2, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x-3, $game_player.y) != 6
if $game_map.terrain_tag($game_player.x-4, $game_player.y) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(-5,0)
end
end
end
end
end
end
if Input.press?(Input::DOWN) and Input.press?(Input::A) and Input.press?(Input::C)
if passable?(@x, @y, 8)
if $game_map.terrain_tag($game_player.x, $game_player.y+1) != 6
if $game_map.terrain_tag($game_player.x, $game_player.y+2) != 6
if $game_map.terrain_tag($game_player.x, $game_player.y+3) != 6
if $game_map.terrain_tag($game_player.x, $game_player.y+4) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(0,5)
end
end
end
end
end
end
if Input.press?(Input::UP) and Input.press?(Input::A) and Input.press?(Input::C)
if passable?(@x, @y, 2)
if $game_map.terrain_tag($game_player.x, $game_player.y-1) != 6
if $game_map.terrain_tag($game_player.x, $game_player.y-2) != 6
if $game_map.terrain_tag($game_player.x, $game_player.y-3) != 6
if $game_map.terrain_tag($game_player.x, $game_player.y-4) != 6
Audio.se_play ("Audio/SE/016-Jump02", 90, 100)
jump(0,-5)
end
end
end
end
end
end
end
end
end
end
y a disfrutar
SriLanka- Hijo De Artemisa
- Cantidad de envíos : 55
Edad : 31
Localización : aqui....alla....no me acuerdo...
Fecha de inscripción : 04/03/2008
Re: Script de saltar
Bueno un script(adaptacion) mas bien XD Muy sencillo pero que todo juego necesita practicamente tenerlo es muy bueno , porque un juego sin saltar bueno ya sabeis.....¬¬xXD Gracias por el aporta SriLanka sigue asi y aver quien se anima a ser mod o calificador suerte a todos
Caistsa
Caistsa
Re: Script de saltar
Es buenisimo xDD, dando saltitos como un conejo por la pantalla .. mola mola xD
encisam- Calificador
- Cantidad de envíos : 77
Edad : 31
Fecha de inscripción : 25/03/2008
CaistsaRpg :: Rpg Maker :: Scripts Xp
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.