ich würds etwas anders machen. damit sich der speed noch anpassen lässt. Code: class Spriteset_Map alias pano_update update def update pano_update if $game_variables[5] > 1 or $game_variables[6] > 1 speed = $game_variables[5] v_speed = $game_variables[6] else speed = 0 v_speed = 0 end @panorama.ox += Graphics.frame_count * speed @panorama.oy += Graphics.frame_count * v_speed end end
class Spriteset_Map alias pano_update update def update pano_update if $game_variables[5] > 1 or $game_variables[6] > 1 speed = $game_variables[5] v_speed = $game_variables[6] else speed = 0 v_speed = 0 end @panorama.ox += Graphics.frame_count * speed @panorama.oy += Graphics.frame_count * v_speed end end
Foren-Regeln