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

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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