Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Making a cross-platform game engine

Author
Message
AutoBot
15
Years of Service
User Offline
Joined: 25th Sep 2009
Location: Everywhere
Posted: 27th Mar 2011 19:02 Edited at: 27th Mar 2011 19:03
My goal is to create games for Windows (maybe Mac and Linux) as well as numerous phones (Android, iOS, etc). I'm currently learning OpenGL for my graphics API, which should cover all the platforms that I want (along with ES). I still need to coordinate which OS specific APIs I'm going to use, and that's what I'm sort of confused about at the moment.

I'd need to use the Windows API for the engine and game (on Windows), POSIX for linux, XCode for iOS and Mac, and many more tools for the phones out there (I know that the Android SDK is actually Java-based).

What I'm wondering is what abstraction techniques should I use when making the engine? Maybe this is just something that I'll learn about over time, maybe there's ways for Win32 to issue commands to Android SDK (or just Java in general), etc. This'll probably be a huge factor when I'm making the engine (I know that the freeglut library handles some of the platform-specific things in OpenGL, but I think it only supports Windows, Mac, and Linux).


Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 27th Mar 2011 20:47
I know GLBasic will compile down in to a couple of those (iOS included). And I'm sure there's already some engines out there that run on Windows/Mac/Linux, just not sure about mobile OS's.

TGC is working on their app game kit. Don't know what that'll be released.

The Internet: Where men are men, women are men, and children are federal agents
AutoBot
15
Years of Service
User Offline
Joined: 25th Sep 2009
Location: Everywhere
Posted: 27th Mar 2011 21:09
Yeah, I've heard of a few cross-platform engines, like the UDK (which can run on mobile and PC OS's). One of my priorities is to make an engine of my own, if possible, since that way I won't have to worry as much about publication fees (or whatever that jumble is about ), and it'll be an engine I know inside out.

One thing I'm curious about... Is AppGameKit going to be OpenGL based? That'd be cool if it was, I'd love to make a few plugins for it if I dig more into it (I'm learning GL 3.3 atm).

I just found a chapter in one of my books about OpenGL ES development, and it mentioned something about a cross platform API (EGL). It says it supports Windows, Linux, and a few mobile devices. I'll need to look more into it.


Login to post a reply

Server time is: 2025-05-22 02:31:49
Your offset time is: 2025-05-22 02:31:49