def self.update left_down = $GetKeyState.call(0x01) right_down = $GetKeyState.call(0x02) if Graphics.frame_count * 3 / Graphics.frame_rate != @total_sec @total_sec = Graphics.frame_count * 3 / Graphics.frame_rate @a = !@a end
def self.update if $_OnFocus.call != 0 left_down = $GetKeyState.call(0x01) right_down = $GetKeyState.call(0x02) else left_down = 0 right_down = 0 end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |