Jump to content

  • Log In with Google      Sign In   
  • Create Account


Cross platform mobile development


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 Sparkon   Members   -  Reputation: 350

Like
0Likes
Like

Posted 29 January 2013 - 07:02 AM

Hello, i'd like to know what are th options if you want to develop a game that runs on every mobile device ( ios and android mainly ) except for c#\XNA/Mono. I don't want to use an engine either so i was looking at a cross-platform 2d graphic library.

Thank you for your time and good day!

Sponsor:

#2 Karsten_   Members   -  Reputation: 1366

Like
0Likes
Like

Posted 29 January 2013 - 09:29 AM

We use OpenGL and C++. It works fine. On iOS you need a very small Objective-C shim but Android supports 100% native activities so you can go straight to C++.

Luckily Windows phone isnt your main target because as an indie developer, you are not eligible for the native SDK and would be pretty much stuck with C#.

Another solution is SDL but I find it really faffy to get working compared with OpenGL.

Edited by Karsten_, 29 January 2013 - 09:35 AM.

Mutiny - Open-source C++ Unity re-implementation.
Defile of Eden 2 - FreeBSD and OpenBSD binaries of our latest game.


#3 Sparkon   Members   -  Reputation: 350

Like
0Likes
Like

Posted 29 January 2013 - 10:39 AM

We use OpenGL and C++. It works fine. On iOS you need a very small Objective-C shim but Android supports 100% native activities so you can go straight to C++.

Luckily Windows phone isnt your main target because as an indie developer, you are not eligible for the native SDK and would be pretty much stuck with C#.

Another solution is SDL but I find it really faffy to get working compared with OpenGL.

Great! thank you. I'll go for OpenGL and C++



#4 Dan Mayor   Crossbones+   -  Reputation: 1712

Like
1Likes
Like

Posted 29 January 2013 - 01:16 PM

Just wanted to point out that there is also Cordova from Apache which creates a native stand alone HTML5 / Javascript app that you can very easily port to any platform including iOS, Android, WinPhone, Blackberry and all flavors of PC as well.  Might be something to look in to, especially considering it is a mobile game and you are already limited by size and hardware performance issues I would assume that the project itself isn't very complicated.  I have ran my own tests on app's (not games) and have found that using Cordova with jQuery you actually get smoother / faster translation animations using Cordova then you do using the native tool kits.  With all of that said it's also worth mentioning that the HTML5 canvas element is already using the devices preferred hardware acceleration API (which in these cases in OpenGL).

 

I'm sure many people will disagree with this approach and of course you should do your research and pick what works best for you.  I would just recommend that you at least give my solution a try and see if it's something that can help you.  HTML5 games take minutes to setup and get started, within a couple hours you could code up the most complicated part of your game and run it inside an emulator on your PC, if it runs satisfactorily then you can rest assured it will run great on the device.  (An android emulator on PC is slower than a first gen android, same with iPhone emulation).

 

Some reading for you...

http://www.html5gamedevelopment.com/html5-game-tutorials

http://thecodeplayer.com/walkthrough/html5-game-tutorial-make-a-snake-game-using-html5-canvas-jquery

http://www.netmagazine.com/tutorials/build-cross-platform-html5-game

(plenty of others just google "HTML5 Game Tutorial")

 

http://cordova.apache.org/ (AKA PhoneGap)


Digivance Game Studios Founder:

Dan Mayor - Dan@Digivance.com
 www.Digivance.com


#5 Ravyne   Crossbones+   -  Reputation: 6473

Like
0Likes
Like

Posted 29 January 2013 - 01:17 PM

Luckily Windows phone isnt your main target because as an indie developer, you are not eligible for the native SDK and would be pretty much stuck with C#.

 

Not true of Windows Phone 8, which supports C++ and DirectX. Unfortunately I don't think OpenGL ES is supported, and IIRC DirectX for WinPhone8 is not quite "Big DirectX" but its close enough.

 

Granted, WinPhone in general is a smallish market, and WinPhone 8 even smaller, but its a nice system, its growing, the app store (from a developers standpoint) is one of the least restrictive and offers a better share of profit, and is less saturated.



#6 frob   Moderators   -  Reputation: 18371

Like
0Likes
Like

Posted 29 January 2013 - 02:15 PM

I don't want to use an engine either so i was looking at a cross-platform 2d graphic library.

cocos2d-x.


Check out my personal indie blog at bryanwagstaff.com.

#7 Sparkon   Members   -  Reputation: 350

Like
0Likes
Like

Posted 30 January 2013 - 05:55 AM

HTML5 was my first thought, but the game i'll be creating won't be THAT easy, it will probably be 2.5d or even 3d. And Cocos2d it's... well... 2d. :)






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS