Jump to content

  • Log In with Google      Sign In   
  • Create Account


Choice of Programming Language: Frontend for a turn-based single player game


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
5 replies to this topic

#1 Raptor Kwok   Members   -  Reputation: 104

Like
0Likes
Like

Posted 05 January 2013 - 08:55 AM

I am working on a turn-based single player game. Requirements:

  • Sprites move & rotate in turn
  • No need 3D
  • able to view it in mobile (can separate into 2 languages, one for desktop, one for mobile)
  • connect to server-side to save & load game data
  • server-side is written in PHP5 & MySQL
  • Apache web server (with Ruby-on-Rail & Perl support)

I have the following choices of programming languages:

  • Flash / ActionScript 3 : it was the best game frontend programming language. It was, but it is fading out
  • Ruby / Ruby on Rails ? my web server supports this, but I'm not sure if it fits
  • LUA ? same
  • HTML5 + JavaScript + CSS : good fit for animations, not good to guard from game hackers
  • Objective-C / Java with Cocos2D / Cocos2D-x : a promising game engine for iOS & Android, but it is mobile only
  • Silverlight / C# / XNA / WMF : Microsoft's Flash replacement. Mine is a Linux server, so can't.
  • OpenGL + C++ : it is supported in modern browsers, but development time may be longer
  • Unity 3D or other game engines with browser plugins : possible, but I prefer a free solution. Also, I only need 2D.

Game Developers, please advise.



Sponsor:

#2 Yrjö P.   Crossbones+   -  Reputation: 1412

Like
0Likes
Like

Posted 05 January 2013 - 05:48 PM

Which mobile platforms do you want to support?

Qt seems like a potential fit. It covers desktop (all major platforms), Symbian, and Android support has just gone into beta (see Necessitas).

UI dev with Qt Quick 2.0 is nice and fast. "Sprites moving and turning" can be handled with QML built-in animation (it's got everything from basic transitions to particle systems) and/or integrated Javascript. For efficiency and/or anti-hacking, you might want to stick the client logic and communication in the C++ back-end. If the client logic is lightweight, you won't need much C++. You also have the option of writing logic in Javascript and sharing it with a HTML5 or other client.

Edited by Stroppy Katamari, 05 January 2013 - 05:49 PM.


#3 Raptor Kwok   Members   -  Reputation: 104

Like
0Likes
Like

Posted 05 January 2013 - 11:42 PM

My ideal support platforms are :

- Browser ( Facebook game )

- Mobile ( iOS & Android )

 

but they can be separated into 2 phases . I will try to look into Qt .

 

UPDATE: Looked into Qt . It seems it's not suitable for browser games ( it produces desktop applications instead ) . Any alternatives ?


Edited by Raptor Kwok, 06 January 2013 - 02:39 AM.


#4 Yrjö P.   Crossbones+   -  Reputation: 1412

Like
0Likes
Like

Posted 06 January 2013 - 05:32 AM

Ah, so you don't want a desktop client (which is what you said in the original post) but a web client.

#5 Dwarf King   Crossbones+   -  Reputation: 1741

Like
0Likes
Like

Posted 06 January 2013 - 09:55 AM

Torque 3D has a browser plugin and is free. Go to garagegames and see for yourself. Also the engine is free to download from github smile.png


"The only thing that interferes with my learning is my education"

Albert Einstein

"It is a miracle that curiosity survives formal education"

Albert Einstein

 


#6 Raptor Kwok   Members   -  Reputation: 104

Like
0Likes
Like

Posted 08 January 2013 - 03:19 AM

Torque 3D has a browser plugin and is free. Go to garagegames and see for yourself. Also the engine is free to download from github smile.png

 

Thanks for recommending Torque 3D. However, I work in 2D only.

I tried to look into Torque 2D, but it is non-free ( costs me US$128 ).

 

Latest Update:

I'm looking into cocos2d-javascript ( http://www.cocos2d-javascript.org/ ) , cocos2d-iphone & cocos2d-x .

They seem working well in both web client & mobile phones.

Do you guys recommend cocos2d series libraries ?






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