Debian Codegraph @

components/fast_forward.lua

raw symbols SCIP
1 local kernel = require 'dokidoki.kernel'
2
3 game.actors.new_generic('fast_forward', function ()
4 function update()
5 if game.debug_keys.key_held(string.byte(" ")) then
6 kernel.set_fps(300)
7 kernel.set_max_frameskip(60)
8 else
9 kernel.set_fps(60)
10 kernel.set_max_frameskip(6)
11 end
12 end
13 end)