Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a good language for web-based games? [closed]

I'd like to play around with writing some very small, simple web-based games (checkers, Conway's Game of Life, etc). I started looking into Java applet tutorials, but my years of frustration with freezing Java applets had me wondering if there were better and easier development languages to invest my time on. What's a good "starter" language for web game development?

like image 406
Derek Avatar asked Sep 04 '09 18:09

Derek


People also ask

What is the best programming language for web games?

C++ is the most popular language for creating game engines—the development environments where game programmers create and host their interactive worlds. Game engines provide the technology for every aspect of a game, from graphics, physics, and sound to the behavior of AI-powered game bots.

What language is used for web games?

JavaScript, the programming language used on the Web, is blazing fast in modern browsers and getting faster all the time. Use its power to write the code for your game, or look at using technologies like Emscripten or Asm.


1 Answers

Simplest: JavaScript
Most used: Flash
Up and coming: Silverlight
On the decline: Java, Shockwave

Advice: If you're doing something simple, Javascript is fine. Flash is a good option from there, as there's a lot of examples to learn from. Silverlight is good, but you'll have fewer examples to take advantage of.

If you want to be able to take advantage of many gaming portals, however, to get your game out to more people--Flash is really what most of them have focused around, and it'll be harder (not impossible) to distribute to others if you're not using Flash.

like image 179
Brisbe Avatar answered Nov 15 '22 12:11

Brisbe