Hi, I am going to start a Game Engine project shortly, and I wanted to get some help from experienced devs and discuss this matter. My project will be cross-platform soo, what should I account for when working cross-platform? What are the main differences in terms of code between Linux and Windows? What should I be prepared for? And What are the biggest problems/roadblocks when working cross-platform
Thanks!
The easiest way to handle such things is for you to pick an existing cross-platform development library that handles the differences in IO, graphics and so on for you, and write to that.
SDL2 and SFML are popular choices, but there are others. They present functions and classes for you to use, and those class and functions abstract away the OS specific final part of the chain for you.