Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regarding other platforms, like Linux, mobile...
#2
Hi Domarius,

Sorry for the delay. I know about writing portable code for cross-platform development, but not much about unified cross-platfom environments. What I do with Tilengine is to write, debug and test with Visual Studio under windows, and then copy the sources to different target platfoms and build them locally with specific compilers (gcc under Linux, Xcode/gcc under OSX, NDK under Android...). Same with the C samples.

C# has cross-platform binary (build once on any platform, execute on any with .NET/Mono runtime), and Python is cross-platform source, so once you have them running in one platform, they will likely run in any other unmodified (although some testing is required).

I can't recommend you an integrated environment for cross-platform development like Unity for example, but some guidelines:
  • Don't use C/C++ for your game, use C# or Python (preferably C#)
  • Use an IDE with some cross-platform support: for example Visual Studo can remote build and debug for linux, and has extensive C# support.
  • For mobile (iOS and Android) use Xamarin, with a single C# codebase you can target both platforms.
So a good solution would be C# and Visual Studio 2017 (integrates Xamarin) for Windows. With this setup, you should have a single C# codebase for Windows, Linux, OSX, Android and iOS.
Reply


Messages In This Thread
RE: Regarding other platforms, like Linux, mobile... - by megamarc - 02-20-2018, 03:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)