Skip to content

karai17/Peep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peep

Peep is a library designed for the awesome LÖVE framework. Piggybacking off of LoveFrames, Peep allows you to interactively look through the contents of a Lua variable--most notably tables.

Quick Example

local STI	= require "libs.sti"
local Peep	= require "libs.Peep.init"

function love.load()
	map = STI.new("assets/maps/map02")
	peep_map = Peep.new("map", map)
end

function love.update(dt)
	map:update(dt)
	peep_map:update(dt)
end

function love.draw()
	map:draw()
	peep_map:draw()
end

function love.mousepressed(x, y, button)
	peep_map:mousepressed(x, y, button)
end

function love.mousereleased(x, y, button)
	peep_map:mousereleased(x, y, button)
end

License

This code is licensed under the MIT Open Source License. Check out the LICENSE file for more information.

About

View the contents of variables in LÖVE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages