I am a PHP developer wanting to learn Android game programming.

I tried java with ADT and android SDK, but I found Java confusing because of its complex Object-Oriented structure.

I've heard we can develop mobile games with PhoneGap or Appcelator using HTML5 and JS. I know both of those very well, so I'd ratehr not use Java.

What tool or language should I start my Android game development in?

  • \$\begingroup\$ Did you read the FAQ? "How to get started"-questions are off-topic because only you can really answer them. \$\endgroup\$ – Anko Feb 19 '14 at 13:41
  • \$\begingroup\$ this is a question related to this community. I havent broke any rule in how to get started. I just wanted opinion that which language/tool should I prefer as per my experience in javascript/html5/php .. dont know why you "BIG REPUTED" people just try to interfere everywhere. If you dont want to give answer .. than please let someone else do it.. its a kind request to all the "BIG REPUTED" persons. @Anko \$\endgroup\$ – Nishant Solanki Feb 19 '14 at 13:47
  • \$\begingroup\$ Sorry if it seems harsh, but the rules exist for good reasons. This question definitely falls under "What tech should I use". There are links at the bottom of the rules page with ideas for where to ask subjective questions instead. \$\endgroup\$ – Anko Feb 19 '14 at 13:56
  • \$\begingroup\$ its okay bro.. but still I am new user in this site and I didnt know the rules, if this site user cant give me suggestion than where should I get my answer? @Anko \$\endgroup\$ – Nishant Solanki Feb 19 '14 at 17:19
  • \$\begingroup\$ I have read the FAQ and I read that we can ask about... game-specific programming issues (engine architecture, game-related APIs, networking, tools, etc) \$\endgroup\$ – Nishant Solanki Feb 19 '14 at 17:27

In my own case, I found it extremely valuable to develop my game using (almost) pure JavaScript, using Dojo to facilitate some more mundane tasks (event publish/subscribe, browser sniffing, DOM manipulation) as well as adopt its AMD design methodology.

Apart from this, I've written my own sound, graphics, sprite and network-packet modules, and linked the game client to a node.js game-server (actionHero, to be specific). My own model is client/server, which differs from your mileage. I wanted to include that here to illustrate that HTML5 game development is entirely in the realm of "possible", if you're structured and using technologies available to you to make your development tasks simpler.

In terms of pure JavaScript, check out http://mobile.smashingmagazine.com/2012/10/19/design-your-own-mobile-game/ ... it seems to be most of what you're looking for. I don't have experience with PhoneGap other than to suggest to continue to look into it, as it seems to be the right direction to go for your intended platform.

The trade-off of going the HTML5/JS/PhoneGap (cross-platform capability at reduced performance) route over the Java/Android SDK (better performance, but limited to Android devices) route is fairly obvious, but is also worth mentioning here.

  • \$\begingroup\$ thanks so much for your response.. I appreciate it and will sure look forward to your suggestions... :) \$\endgroup\$ – Nishant Solanki Feb 19 '14 at 17:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.