Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+2)

Yes it's totally possible to put a deck on a webpage and yep you can have it without upscaling!

The trick would be to put the .html version of your Decker project inside of an appropriately sized iframe on the page.

This is how itch.io presents most of the Decker projects uploaded here on the site and as a silly bonus example: here's a tiny deck in an iframe on a plain webpage. 

If the iframe matches the size of the deck then it should stay at that (1x) size.

Does this help?

(+4)

Thanks! I did not want to use an iframe (perhaps ill-advisedly), so I did some shenanigans: https://nora.codes/post/infrastructure-photography-manifesto-and-decker-in-html/

However, based on the issues I encountered, an iframe is probably a better idea. Thanks!

(+2)

Oooh! Thanks for documenting your shenanigans! And your project is lovely, thank you for sharing.

(+2)

So glad you enjoyed it!