Jump to content
  • Advertisement
Sign in to follow this  
Legendre

HTML5 or Java?

This topic is 2563 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have some experience with Python and Actionscript 2.0. Was thinking of making a simple browser based game, say a Chess Variant (with knights, dragons and spells etc) that has a chatroom next to it, for 2 players.

Which is the better language to learn to do this? Java or HTML5?

Share this post


Link to post
Share on other sites
Advertisement

I have some experience with Python and Actionscript 2.0. Was thinking of making a simple browser based game, say a Chess Variant (with knights, dragons and spells etc) that has a chatroom next to it, for 2 players.

Which is the better language to learn to do this? Java or HTML5?


I'd go with flash(client) + python(server) since you know those allready and flash is installed on almost all systems (Java and HTML5 capable browsers are not as common)

Share this post


Link to post
Share on other sites
To add on, HTML is *not* for game development. It is largely used to define a layout for web pages and link other HTML documents together. Additional technologies like Flash can be embedded in pages for games (as Simon mentioned), but you could honestly use just about anything you wish server-side as long as you have a set standard to allow clients to talk to the server.

Share this post


Link to post
Share on other sites

To add on, HTML is *not* for game development. It is largely used to define a layout for web pages and link other HTML documents together. Additional technologies like Flash can be embedded in pages for games (as Simon mentioned), but you could honestly use just about anything you wish server-side as long as you have a set standard to allow clients to talk to the server.


HTML5 is meant to compete with Flash and can be used to make games.

E.g. http://html5games.com/

Share this post


Link to post
Share on other sites

[quote name='Sage Gerard' timestamp='1310314962' post='4833373']
To add on, HTML is *not* for game development. It is largely used to define a layout for web pages and link other HTML documents together. Additional technologies like Flash can be embedded in pages for games (as Simon mentioned), but you could honestly use just about anything you wish server-side as long as you have a set standard to allow clients to talk to the server.


HTML5 is meant to compete with Flash and can be used to make games.

E.g. http://html5games.com/[/quote]

Huh, I stand corrected. Although, I am curious as to why W3 would step away from the philosophy of separating concepts into other syntaxes. Sorry, I'm seeing this in a web dev perspective.

Share this post


Link to post
Share on other sites

[quote name='Legendre' timestamp='1310314196' post='4833370']
I have some experience with Python and Actionscript 2.0. Was thinking of making a simple browser based game, say a Chess Variant (with knights, dragons and spells etc) that has a chatroom next to it, for 2 players.

Which is the better language to learn to do this? Java or HTML5?


I'd go with flash(client) + python(server) since you know those allready and flash is installed on almost all systems (Java and HTML5 capable browsers are not as common)
[/quote]


I haven't tried writing multiplayer games in Flash or Python. But I have been told that if I decide to upgrade/improve my game in the future, I won't get as far as I would be if I were to use Java. True? Google seems to think Java is the future for browser based apps.

Well, the iPad doesn't support Flash. :(

And I think Flash isn't as powerful as Java? (not sure about vs HTML5) I thought this way because all of the big browser based games seems to be written in Java while those written in Flash seems to be on a much smaller scale.

Share this post


Link to post
Share on other sites

I haven't tried writing multiplayer games in Flash or Python. But I have been told that if I decide to upgrade/improve my game in the future, I won't get as far as I would be if I were to use Java. True? Google seems to think Java is the future for browser based apps.

Well, the iPad doesn't support Flash. :(

And I think Flash isn't as powerful as Java? (not sure about vs HTML5) I thought this way because all of the big browser based games seems to be written in Java while those written in Flash seems to be on a much smaller scale.



I don't think you will be in hot water if you chose to use Java, but I won't speak for a market, either. tongue.gif I do know that Runescape has expanded and prospered well using Java. I at least would call it a viable option!

I wouldn't be as worried about the question of "power". What works for you? See how your options relate to your needs and work habits. Anything W3 introduces has a tendency to be approachable, but Simon's mention of HTML5 not being widely and fully supported (for a good damn long time) will be a bugger.

Share this post


Link to post
Share on other sites
Java isn't supported on the iPad either; nor is Silverlight nor Unity Web Player.



So, if iPad is among your targets, and you want it browser based, HTML 5 is your only choice.



That said, developing in HTML5 seems like a gigantic step backwards, but then I really do not like Javascript.

Share this post


Link to post
Share on other sites
HTML5 for the chatroom, with FLASH for the game. FLASH for the simple fact that it will handle multiple players if your making an multiple enviroment. HTML5 + asynchrounous users = very bad tech right now.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!