OK. I’m going to get a bit technical here so follow along as best as you can. In the Windows Presentation Foundation (and Windows Forms) there’s a component named WebBrowser. This component shows web pages. The issue here is that it relies on MSHTML (that’s Internet Explorer’s Web Renderer). To make matters worse, if there isn’t a specific tag, it will stick to Version 8 (which doesn’t support modern web technologies). I did add that tag, but relying on IE ain’t gonna be good for long. Thankfully, an update to the Microsoft Community Toolkit (a collection of components for UWP apps) added a few libraries that allow the usage of UWP components to WPF and Windows Forms apps. In my case, I used the WebViewCompatible component. That library switches between MSHTML and EdgeHTML (Microsoft Edge). So, if you are on Windows 10, it uses Edge. If you are on Windows 8.1 or older, you get IE. Now, why didn’t I use a library that provides a different renderer (say, Chromium)? At the moment, it’s a clusterfuck to integrate it to WPF. A library breaks the AnyCPU compilation (compiling the code in the AnyCPU configuration allows the launcher to run in both 32-bit and 64-bit machines using the same executable), another need C++ libraries to ship as well and another hasn’t been updated since. So, for now, this is the best solution until I find a better one.
Next up
A small teaser for the next update.
Waz zis? An overhauled map? Yes. Coming soon.
Enjoy a nice dish, get a nice buff. What's not to like?
Done some improvements to the backup system. Even added an icon to let you know that it's working.
Added achievements. Because why not?
It's pretty early, but here's a look at a mob manager, handling the enemies in the game. The code streamlines the programming of the enemies. Hopefully, I can expand it to more useful ways.
Wrote a tool that installs the game's dependencies. That means Northbridge will always use the latest version of the Microsoft Edge WebView2 Runtime.
While I'm preparing August's Monthly Sync, I'm preparing a Trello board for the game. You can see what I'm working on here. https://trello.com/b/CjFyzH50/immortal-sins-game-development Pardon my dust, while I'm getting this up and running.
A bit of an old but goodie coming back: Quick Load! In an upcoming update, you can jump back to where you left off with a push of a button.
It's a bit early, but I have something cooking. Keep an eye out.
0 comments