4 ms·
I used MonoGame for Adlib and Petunk. For Windows 8 and Windows 7 the games share almost all of their code. I would estimate 90%. The only differences are persi
by aschearer 14y ago
I used MonoGame for Adlib and Petunk. For Windows 8 and Windows 7 the games share almost all of their code. I would estimate 90%. The only differences are persistence, sharing, that sort of thing. That said, it gets trickier when you want to create complex user interfaces or support different resolutions. In fact for my latest game I've switched to XAML completely due to those problems.
The most important thing, in my opinion, is to follow the MVC or MVVM (my preference) pattern and keep all of your game logic in a portable class library. This will give you the flexibility to target new platforms relatively quickly in my experience.
I've made a number of solutions to common problems I ran into which run on Windows 8 and 7 (and potentially other platforms) available if you're interested. Check it out here:
https://bitbucket.org/spottedzebra/pasta https://bitbucket.org/spottedzebra/pasta