Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I've been developing a 2D game engine for WPF (implying XAML) and C#. I am now looking for contemporary ways of running these games under HTML5, i.e., making them web-based as well. I found a web site for this: ( cshtml5.com[] ), but is that really the only solution?

Since WPF is XAML-based, it should be relatively easy to "export" to HTML5's canvas element. I noticed an old blog post on using Google's Polymer to accomplish this: ( Translate C# WPF Applications To HTML5 with WPF.Polymer Part I - The GUI - Bitcrunch[^] ) but don't know what would be my best option today. Would porting the game engine to UWP help?

Thanks!

Petter

What I have tried:

I've searched the net but mainly found old posts on this.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900