Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

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!