Skip to content
LÖVE2D - an onscreen controller display for touch enabled devices
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE Initial commit Aug 21, 2017
Makefile first working example Aug 21, 2017
README.md
conf.lua update minimum version conf.lua Jul 10, 2019
main.lua
paddy.lua Color fixes for löve 0.11 May 16, 2018

README.md

Paddy

An onscreen controller display for touch enabled devices

Requirements

  • love2d 0.10.2
  • a touch enabled device (eg; android smartphone)

Usage

require("paddy")

function love.draw()
	paddy.draw()
end

function love.update(dt)
	paddy.update(dt)

	if paddy.isDown("right") then
		--move right
	end

	if paddy.isDown("a") then
		-- jump
	end

	-- etc
	-- currently supported inputs
	-- left/right/up/down/x/y/a/b
end

See main.lua for a working example.

You can’t perform that action at this time.