Jump to content
Rpg²S Forum

*Movimento con visuale sempre laterale


dani3
 Share

Recommended Posts

Movimento con visuale sempre laterale

Descrizione


Disabilita i metodi turn_up e turn_down in modo che il movimento abbia sempre visuale laterale


Autore


BulletXt (originariamente per vx, ne ho tolto un pezzo per renderlo compatibile con xp


 

=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

 

 


Istruzioni per l'uso

 

Il sistema e' abilitato di default, ma puo' essere disabilitato attivando uno switch a scelta, andando su DISABLE_SCRIPT = X dove x sta per lo switch che si sceglie di usare per disattivare il sistema

Bugs e Conflitti Noti


N/A

Edited by Dilos
Script monoriga sistemato.

Partecipante al Rpg2s.net Game Contest 2007/2008

http://www.rpg2s.net/contest/GameContest0708/userbar_r2sgc.gif

Gioco in Sviluppo: Hokuto no Ken RPG

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...