Dyzön, a LÖVE library to see your variables
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Courier Code Read Me.txt
CourierCode-Bold.ttf
README.md
bg.png
conf.lua
dyzon.lua
main.lua

README.md

Dyzön

Dyzön is a small and simple LÖVE library to see your variables

License Version

dyzon img

These are the controls:

  • Drag the panel with middle mouse button
  • Scroll over the panel with the wheel
  • Scroll while pressing ctrl will expand/shrink the panel
  • Ctrl + Shift + F for hiding/showing the Fäncy panel

The code needed to make the above example functional is:

function love.load()
	f = require "fancy"
	gr = love.graphics
	fancy.setFont(gr.newFont(15))
	bgImg = gr.newImage("bg.png")
end

function love.update(dt)
	f.watch("fancy.alpha", f.alpha)
	f.watch("total of watchs", #f.items)
	f.watch("FPS", love.timer.getFPS())
	f.watch("Delta", love.timer.getDelta())
	for i = 1, 15 do
		f.watch("val "..i, i * 2, love.math.random(1, 3))
	end
end

function love.draw()
	gr.draw(bgImg, 0, 0)
	f.draw()
end

function love.mousepressed(x, y, button) f.mouse(button) end
function love.keypressed(key)            f.key(key) end
function love.wheelmoved(x, y)           f.wheel(y) end

Change Log:

0.0.1

  • Added support for "nil" key or values