A few days ago I downloaded the love2d apk with the intention of programming from the cell phone, and I discovered that it is a bit complicated to program games using touch, I mean that my intention is to create games quickly and easily from the cell phone.
That is why I prepared to write this library with love for my own use and also to facilitate this to anyone who wants to do the same.
https://github.com/DeybisMelendez/lovepad
An Example:
Code: Select all
local lovepad = require 'lovepad'
lovepad:setGamePad()
function love.draw()
lovepad:draw()
--Your game
end
function love.update(dt)
lovepad:update()
if lovepad:isPressed('A') then
-- ...
-- Your game
end
If you have suggestions or any problem you can leave me a message on github: https://github.com/DeybisMelendez/lovepad/issues
I would be very grateful if you could give me a star in the repository, thank you.
Screenshot: