$fps = 0class << Graphics alias old_update update def update if $fps % 2 == 0 old_update $fps += 1 else $fps += 1 end end end
$fps = 0 class << Graphics alias old_update update def update if $fps % 2 == 0 old_update $fps += 1 else $fps += 1 end end end