Das dürfte es so ziemlich sein, was du willst. Musst nur noch den Switch ($game_switches[555]) anpassen. Code: #-------------------------------------------------------------------------- # ** Dash Switch #-------------------------------------------------------------------------- # [ 2015 01 12 ] rv1 # Requested by Stray # Created by Akira #-------------------------------------------------------------------------- # Contains edited update_move code from standard Game_Character #-------------------------------------------------------------------------- class Game_Character #-------------------------------------------------------------------------- # * Dash #-------------------------------------------------------------------------- def dash? return false end #-------------------------------------------------------------------------- # * Update frame (move) #-------------------------------------------------------------------------- def update_move distance = 2 ** @move_speed distance *= 2 if dash? if @y * 128 > @real_y @real_y = [@real_y + distance, @y * 128].min end if @x * 128 < @real_x @real_x = [@real_x - distance, @x * 128].max end if @x * 128 > @real_x @real_x = [@real_x + distance, @x * 128].min end if @y * 128 < @real_y @real_y = [@real_y - distance, @y * 128].max end if @walk_anime @anime_count += 1.5 elsif @step_anime @anime_count += 1 end end end class Game_Player #-------------------------------------------------------------------------- # * Dash #-------------------------------------------------------------------------- def dash? # Get switch while non-forced moving if !@move_route_forcing && $game_switches[555] && moving? # Player is dashing return true end # Player is walking or idling return false end end
#-------------------------------------------------------------------------- # ** Dash Switch #-------------------------------------------------------------------------- # [ 2015 01 12 ] rv1 # Requested by Stray # Created by Akira #-------------------------------------------------------------------------- # Contains edited update_move code from standard Game_Character #-------------------------------------------------------------------------- class Game_Character #-------------------------------------------------------------------------- # * Dash #-------------------------------------------------------------------------- def dash? return false end #-------------------------------------------------------------------------- # * Update frame (move) #-------------------------------------------------------------------------- def update_move distance = 2 ** @move_speed distance *= 2 if dash? if @y * 128 > @real_y @real_y = [@real_y + distance, @y * 128].min end if @x * 128 < @real_x @real_x = [@real_x - distance, @x * 128].max end if @x * 128 > @real_x @real_x = [@real_x + distance, @x * 128].min end if @y * 128 < @real_y @real_y = [@real_y - distance, @y * 128].max end if @walk_anime @anime_count += 1.5 elsif @step_anime @anime_count += 1 end end end class Game_Player #-------------------------------------------------------------------------- # * Dash #-------------------------------------------------------------------------- def dash? # Get switch while non-forced moving if !@move_route_forcing && $game_switches[555] && moving? # Player is dashing return true end # Player is walking or idling return false end end
-- Solange es hier falschzitierende Ärsche gibt, dulde ich keinerlei Zitatboxen, die von mir sein sollen.
Geändert von MagicMaker (12.01.2015 um 18:37 Uhr)
Foren-Regeln