这样改会不会更好一点?
——if Input.trigger?(Input::UP)
———if @Chuangkou_window.y<=0
————@Chuangkou_window.y=0
———else
————@Chuangkou_window.y += 64
———end
——end
——if Input.trigger?(Input::DOWN)
———unless @Chuangkou_window.height<640
————if @Chuangkou_window.height-@Chuangkou_window.y<=640
—————@Chuangkou_window.y=@Chuangkou_window.height-640
————else
—————@Chuangkou_window.y -= 64
————end
———end
——end