Skip to main content

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

How did you add the mobile touchscreen controls to Cirkoban, and would it be easy to copy over to a new project?

(+1)

I think it would be fairly easy to port over. It was quite the last minute hack for Cirkoban and would certainly need tweaking for another game but here's the relevant commit: https://codeberg.org/spritely/cirkoban/commit/aa0c826b3c7b0a0cd44940c6952f0a2db5...

I took one of Kenney's CC0 on-screen control SVGs and embedded it directly into the HTML and used ids within (I think I added them manually or at least changed the existing ones to be human-meaningful) to listen for click events on the various buttons.