Jump to content

Cross-Platform Porting


ConradAlistair
 Share

Recommended Posts

One thing that I would like, is to have the ability to export a project to multiple platforms from one project file. Something similar to the way Unity3D does it. Also, I don't know if this is something that doesn't need to be coded into the engine or programmed by the developer, but a way for there to be cross platform interaction. e.g. a multiplayer game with OSX and Windows users in one match, or IOS and Android in one match, etc.

 

also, as a 3D artist, I think that many people may like a similar layout to Maya. not exactly as it is set up, but just how the menu hierarchy is.

 

Any thoughts, crits, suggests?

Link to comment
Share on other sites

How do you port the rotating cube example written in C++ then?

I would think you need different Code::Blocks project files or different makefiles for each platform, but the C++ game source code would be identical.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

C++ code is identical, and like the engine itself, a "Projects" folder will be created, within which a subfolder is created for every platform, i.e. "MyGame/Projects/VS2010", "MyGame/Projects/iOS", etc. In each of these a project for XCode, VS, Eclipse, etc. are created from a template.

 

Lua projects are simpler, since no compilers or SDKs have to be set up.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

I guess I can use then sqlite, sdl_net, and glut also in Android when I code with C++, since they are available as full C++ source code, and as far I know, Android uses GNU C++ too.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

I didn't set out to to that, but I can't think of any reason different platforms would have any trouble communicating over a network. Kind of scary that you could play on your cell phone against someone on their PC. I'll have to look closer at how network communication works on mobile devices.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...