SkillAgentSearch skills...

Paddy

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

Install / Use

/learn @Jigoku/Paddy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars12
CategoryDevelopment
Updated1y ago
Forks2

Languages

Lua

Security Score

75/100

Audited on Jul 15, 2024

No findings