Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How do you handle input on your mobile games since you don't have a keyboard?

(+2)

Superpowers comes with built-in handlers for touch-inputs, take a look at these methods under Sup.Input:

 function getTouchPosition(index: number): Math.Vector2;
function isTouchDown(index: number): boolean;
function wasTouchStarted(index: number): boolean;
function wasTouchEnded(index: number): boolean;

Let me know if you have any other questions!