itch.io is community of indie game creators and players

Devlogs

Size fitting

Snaxe (Mobile)
A browser snaxe made in HTML5

"Snaxe Mobile Friendly" used to have a weird size fitting bug, sumed up you couldn't see anything on a phone, that was because the buttons were in pixels and if there wasn't enought pixels on your phone you just couldn't see or even use the controlls. I changed the code from pixels to percentage and now it'll fit on any device that has more than 170pixels in width. 

Files

  • snaxe-mobile-friendly.html 5.1 kB
    Jun 21, 2021
Leave a comment