A couple friends and I are developing a browser based game with 3D Graphics for the Scenery, and Flash Graphics for the Characters.
We have a web developer who is coding the website, and I will be handling the Interface of the game.
My question is, what is the best language to code a browser based game? (I know everyone like Java but what are the downsides to it?)
I pretty much need to know what programs I am going to have to re-learn or refresh myself in in order to do everything I need to within the interface such as, adding the graphics to the interface and coding the control of movement abilities, etc. Please give me as much information as you can, I am willing to take the time to learn all the languages. I just need to know everything I will need.
4 replies to this topic
#1
Posted 02 May 2011 - 12:18 PM

+Friend Me | My Graphics | Forum Rules | Help Forum | Forum FAQ
|
|
|
#2
Posted 02 May 2011 - 08:30 PM
You could in fact do this in Javascript, HTML5 supporting browsers (nearly all of them now) have the canvas element, and WebGL support. That is just a suggestion.
Otherwise, with 3D Java would be your best bet as it would run on a virtual machine on their computer for performance rather than as a (slow) plugin like Flash.
Otherwise, with 3D Java would be your best bet as it would run on a virtual machine on their computer for performance rather than as a (slow) plugin like Flash.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 03 May 2011 - 06:38 AM
You will need a language that you can embed in the HTML as an applet. Java is used for this, but everyone uses Flash nowadays. Flash is programmed in Actionscript, which is a dialect of ECMAScript and therefore similar to Javascript. But the web just isn't made for 3D gaming. You'd be far better off writing an OS-based program in C/C++ with the ability to connect to the internet, or something to that effect.
Programming is a journey, not a destination.
#4
Posted 03 May 2011 - 08:35 AM
My suggestion would be Java over Flash simply because of the possibility of faster performance. (since you want 3D, and I am personally not aware of Flash's 3D capabilities.) Plus, I like Java a lot! :)
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
#5
Posted 03 May 2011 - 09:38 PM
Yes, Flash does not currently support hardware acceleration required to do much 3D work, although I believe newer flash betas are starting to bring that in for netbooks to display higher resolution videos with video accelerator cards and not the processor.
To further my suggestion of WebGL, it is based on the OpenGL 2.0 ES specification so if somebody is literate in that specification and the API language it could be a wise and portable choice soon.
To further my suggestion of WebGL, it is based on the OpenGL 2.0 ES specification so if somebody is literate in that specification and the API language it could be a wise and portable choice soon.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









