Skip to content

Instantly share code, notes, and snippets.

@EngineerSmith
Last active March 24, 2022 16:39
Show Gist options
  • Select an option

  • Save EngineerSmith/767f54ea53cbdd876b0a0cc6a0a8a500 to your computer and use it in GitHub Desktop.

Select an option

Save EngineerSmith/767f54ea53cbdd876b0a0cc6a0a8a500 to your computer and use it in GitHub Desktop.
function state:start()
appleCake.mark("State X began", "t") -- marked as "t" means it won't stand out as much as a "p" in data, see docs or tracing tutorial
end
function love.keypressed(key, scancode, isrepeat)
appleCake.mark("Key pressed", nil, {key = key, code = scancode, isrepeat = isrepeat})
-- by default, nil is "p"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment