🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

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


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!