Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm new to game development (but not new to software development). As a personal/learning project, I'm designing an overhead-view 2D online RTS game (static, no scrolling). The first cut will pretty much only require simple sprites, with typical menus, text, and buttons.

Most of the game logic will happen server-side, with unit positions and other vitals sent to the browser at about 30 fps. The client won't do much, aside from the display and UI. The server stuff is easy for me, but I need a little guidance on the browser display.

Having read up on several new browser technologies/HTML5 libraries, I'm getting more overwhelmed by the options, not less! I don't necessarily need the absolute best tool; what I want is a technology that will make it easy to implement a simple sprite-based game, and do a decent job of it.

I know JS itself well enough, but not any of the fancy graphics/game libraries. I know Flash/AS3 (doing what I want in Flash would be easy enough, but the mobile browser support concerns me--should I steer clear if I want iOS support?). I have the entire Adobe suite (subscription), if that helps. I'm not averse to learning a new language/API/tool, of course, but the more I can put what I know to good use, the better.

So, my question (yes, there is one in here somewhere!) is, what are my (best) options today for implementing the in-browser (display) part of said 2D online browser-based game, based on the above goals and stated skillset/available tools? Since it may be difficult to be completely objective, please do include a little rationale on why you believe your answer is the right tool for this job. I'm not asking for a doctoral thesis, here, just a paragraph or two. :-)

share|improve this question

closed as off-topic by Anko, bummzack, Byte56 Sep 18 '13 at 23:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions that are about "which tech to use" are outside the scope of the site. For more information, see this meta post" – bummzack, Byte56
If this question can be reworded to fit the rules in the help center, please edit the question.

    
What technologies or languages are you familiar with? –  ashes999 Sep 17 '13 at 3:04
    
I believe I outlined that in the question, or are you asking something else? I guess I could add that I have a tiny bit of experience with jQuery, but very little, which is why I didn't include it. –  Luk232 Sep 17 '13 at 15:07

2 Answers 2

up vote 0 down vote accepted

You may want to take a look at this, the speaker is giving an overview over different technologies.

I have done some small games with HTML Canvas and found it very easy to pick up. I think it should be sufficent for your amount of sprites.

If you program your game with HTML and JS is should be quite easy to port it for mobile platforms. Again I was able to port a browserbased game into a native Windows 8 Store game with just one line of code change.

If you want to dig a bit deeper into game engines I suggest you take a look at this overview, most of tem are JS based and can offer you some nice additions.

share|improve this answer
1  
Good answer (and links). Thanks! –  Luk232 Sep 18 '13 at 19:42

hm, quite a lot of ambition for your first game. Most people find tetris a challenging enough game to implement when they don't have experience with game engines. That being said; I would probably go for simple jQuery and maybe something a plain as gifs for animations.

I am fully aware that HTML5/CSS3 provides better functionality though, but that is beyond my experience (I have mostly done XNA games)

share|improve this answer

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