[Archive] Cross-platform game example coming

Posted by : at

Category : archive


As I’ve mentioned a few months ago, I’ve started working on a mobile game with my engine. The first step of this is to prepare the engine to work on mobile, so I’ve been pretty busy with that lately. I’m using the platformer game example to test my game on mobile, and so far, after some refactors and fixes, it works really nicely. It was a bit challenging to figure out how to do these things with MonoGame and C#, but I’ve managed to get my head around it. The reason I’ve decided to use the platformer game example for testing is that this game utilizes basically everything I’ve implemented so far. I still have some fixes/changes ahead of me, but once they are done, I will merge the mobile changes into the master branch, and the platformer game example is going to showcase how to develop simultaneously to mobile and PC with my engine, from project setup to coding things.

However, I do have a feeling that nobody besides me will ever use this engine, so I will soon post a tutorial about how to develop for PC and mobile with MonoGame, starting from scratch, from project setup to running the same codebase on both platforms.

Update 2021.10.12: the source code for the platformer game for mobile and PC can be found under GameSamples\PlatformerGame on my Github repo. The article about setting up the project structure for cross-platform development with MonoGame is here.


About Lajos
Lajos

Enterprise Java for a living. Video game development for the soul.

Email : lajbertgames@gmail.com

Website : https://lajbert.github.io

About Lajbert

My name is Lajos, a software engineer who decided to chase his childhood dream of becoming a video game developer. I have a long road ahead of me until I can release my first game, but the path taking me there is already very rewarding. There are many great people around the internet who spends time, energy and even money to make great tutorials, shares their Github repos and distribute knowledge, and this blog is my attempt to pay my respect to them and follow their lead of giving back to the community. You’ll find tips, tricks, bits and pieces of what I learned while working on my project, which is also my learning path, so if you see something on my blog that is incorrect or can be done better, please leave a comment, so we all can learn something. Considering the risks I see using MonoGame at its current state, I've decided to (at least temporarly) retire my own game engine called Monolith Engine, and migrate my game onto Godot engine. Still, the code for Monolith Engine will stay available, many of my ideas are generic, and can easily be translated to your favorite language or game engine.

Star
Categories
Useful Links