3 self.std.draw.color(0xFFFF00FF)
5 self.std.draw.rect(0, x, y, 40, 24)
8 self.std.draw.rect(0, x + 48, y, 40, 24)
11 self.std.draw.rect(0, x + 96, y, 40, 24)
13 self.std.draw.color(0x000000FF)
14 self.std.draw.font(
'Tiresias', 16)
16 local
fps = self.std.math.floor and self.std.math.floor((1/self.game.dt) * 1000) or
'--'
17 self.std.draw.text(x + s, y,
fps)
21 self.std.draw.text(x + s, y, self.game.fps)
25 self.std.draw.text(x + s, y, self.game.fps_max)
33 std.draw.fps = function(
show, x, y)
37 local event_draw = function()
38 if
game.fps_show and
game.fps_show > 0 then
44 event={
draw=event_draw},
local function show(args)
local function draw(std, game)
local function fps(self, show, x, y)
local function install(std, game, application)