Skip to content
/ paddy Public

LÖVE2D - an onscreen controller display for touch enabled devices

License

Notifications You must be signed in to change notification settings

Jigoku/paddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b5d2731 · Jul 10, 2019

History

15 Commits
Aug 21, 2017
Aug 21, 2017
Aug 21, 2017
Oct 18, 2017
Jul 10, 2019
Oct 27, 2017
May 16, 2018

Repository files navigation

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.

About

LÖVE2D - an onscreen controller display for touch enabled devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published