Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How to run game on Android?

A topic by Matt Hughson (NES Dev) created Sep 26, 2017 Views: 509 Replies: 1
A moderator has unlisted this topic. It is not visible on the topic listing but you can still reply and make edits.
Viewing posts 1 to 3

How can I run a game on Android virtu keyboard? What is the keyboard command?

Developer

Hey, Nice to see you here !

It's pretty simple to do, call this anywhere in your game:

Controls("keyboard")

And the keyboard controls would be enabled, and incase if the user closed the keyboard you will have to re-open it for him, best by doing:

--Will make the keyboard open whenever the user touches the screen
function _touchpressed()
 textinput(true)
end

To get the keyboard input check _textinput, _keypressed, _keyreleased and Keyboard/isKDown in the online documentation: http://liko12.readthedocs.io/

Developer unlisted this topic