I am trying to make a 2D platformer, but I want to use html5 canvas since I find it much easier to create 2D games with it than with Unity.

I am wondering if there is some way I can bundle my game so that I can sell it on platforms such as Xbox, PS4, Nintendo Switch, and the Epic Games Store.

UPDATE:: I figured out how to do it on Xbox, and it doesn't look like Switch supports it yet(or plans to D:), but I still don't know how to do it for PS4 and Epic Game Store.

  • \$\begingroup\$ Its possible to bundle your games for most platforms out there, if its just an html5 game. I know for sure, you can turn an HTML5 game to a WiiU game, so I imagine that's also possible for Ninendo Switch. It's also possible to build it to work as a native Android and iOS app. Obviously you can also play this on PC and publish it on places like Itch.io . Unfortunately I have no experience for Xbox and PS4 but I assume its possible. \$\endgroup\$ – TomTsagk Feb 11 at 11:23
  • \$\begingroup\$ Do you know how I could do this? I have been searching for awhile and it keeps showing results about "You can play web games with Xbox's microsoft edge" and stuff like that. \$\endgroup\$ – Vakore Feb 11 at 16:51
  • 1
    \$\begingroup\$ Explaining how to do this on each platform individually is too broad to be answered here. For each platform you can purchase the needed license, and probably the development kit, and you will most likely get access to a forum meant for development on that platform. After a quick search online I found (this)[html5gamedevs.com/topic/29953-xbox-one-html5-game-dev/] which seems to be someone experimenting with html5 game programming on xbox One. Hope this is a helpful starting point. \$\endgroup\$ – TomTsagk Feb 11 at 16:55
  • \$\begingroup\$ While the Unity game engine has third parties webviews none seems to work on those platforms you request, as they are based on native apis available on mobile. I didn't find a game engine that provides webviews for those platforms, but this article from gamasutra, from year 2015, tested html5 game dev on a series of game consoles including PS4. Sadly, they experimented with how web browsers of those consoles play games. I don't think you want to host your game in your server, but It seems it's your best bet. Link: ubm.io/2RU1wTn \$\endgroup\$ – Hatoru Hansou Feb 13 at 1:25

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.