Cross Platform game development

aqsalter
Unregistered
 
Post: #1
Dear all,
I have long been a passive voyeur of the iDevGames site... now the time has come to enter into real interaction... I have my game idea!! Smile

So, basically I would like advice from a few people more knowledgeable than I - you may not be able to answer all the questions but here goes:-
I would like to create a cross-platform game - the game idea is basic enough that it could be transferred to small handhelds (like Gameboy) without tooo much redevelopment. My first question: Is there a cross-platform way to do graphics development to cover as many platforms as possible? (I want to do the development on a Mac and I want to add a few "special" things to the Mac version, but the pragmatist in me says I have to be prepared to support more than one platform). I know about SDL (although I haven't looked deeply)...

The other thing is that it will need to have scripting engine built in... I will have to do a lot of research here I think... I don't know a lot about scripting engines and then choosing one and tailoring it for the game <sigh>.. Wink

So does anybody have any suggestions as to source code I can look at? where should I start? Did any of the uDevGame entries use SDL? Is SDL the best choice for handhelds?

TIA,
Adam
Quote this message in a reply
macboy
Unregistered
 
Post: #2
Quote:Originally posted by aqsalter
My first question: Is there a cross-platform way to do graphics development to cover as many platforms as possible? (I want to do the development on a Mac and I want to add a few "special" things to the Mac version, but the pragmatist in me says I have to be prepared to support more than one platform). I know about SDL (although I haven't looked deeply)...
OpenGL works with Mac, Windoze, and *nix.
Quote this message in a reply
Member
Posts: 57
Joined: 2002.04
Post: #3
Quote:Originally posted by aqsalter
I would like to create a cross-platform game - the game idea is basic enough that it could be transferred to small handhelds (like Gameboy) without tooo much redevelopment. My first question: Is there a cross-platform way to do graphics development to cover as many platforms as possible? (I want to do the development on a Mac and I want to add a few "special" things to the Mac version, but the pragmatist in me says I have to be prepared to support more than one platform). I know about SDL (although I haven't looked deeply)...

SDL should be good for your purposes, though I doubt it supports handheld devices; I think most of those use proprietary graphics APIs. At some point you'll also want to learn OpenGL, since that allows you to use the graphics card to draw all your graphics, thus freeing up processing time and allowing you to use features such as transparency, scaling, rotation, etc. without decreasing your game's performance.

Quote:The other thing is that it will need to have scripting engine built in... I will have to do a lot of research here I think... I don't know a lot about scripting engines and then choosing one and tailoring it for the game


You may want to look at the Smiley Tag source here at iDevGames; it's a fairly straightforward example of how to use a scripting language (in this case, Lua) in a game.
Quote this message in a reply
Mars_999
Unregistered
 
Post: #4
Yes to SDL and OpenGL. Both are cross platform independent!! SDL simply rocks if you ask me, and so does OpenGL. I have used FMOD a little and seems to be a good sound/music library. SDL has music and sound support also. FMOD you will end up having to pay for it if you release a game!!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  game development using directx/cryengine codetoeternity 2 1,763 Oct 10, 2013 06:34 AM
Last Post: codetoeternity
  Multiplayer, social and cross platform API Yespapa 0 1,413 Aug 14, 2013 02:43 AM
Last Post: Yespapa
  News: Game development MMO in the works diablosandwicheater 0 2,613 Mar 13, 2012 10:33 AM
Last Post: diablosandwicheater
  Game Development Environments SethWillits 14 9,337 Feb 20, 2009 04:27 PM
Last Post: Toontingy
  Cross platform library for http communication? Najdorf 2 4,013 Jan 11, 2009 01:13 PM
Last Post: Najdorf