Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
0
Members

How to get input from the console

A topic by SyrupOnWaffles created Dec 06, 2020 Views: 164 Replies: 1
Viewing posts 1 to 2

Is there a command that returns a variable of  the input from the console. Kinda like the input command in  python or the readLine command in c# etc


I tried Prompt however that is for vanillas JS it seems and it doesn't work for Sp TS. Sup.input has no functions for it it seems and this page doesn't seem to work for me.  Am I missing something that's in plain sight? 

i can’t check right now but maybe you can add the plugin from Florent Poujol : https://github.com/florentpoujol/superpowers-game-dom-plugin Sorry i don’t remember without Superpowers how you can use it but… you can.