javascript html5 game develpment

fireside 141 Mar 10, 2013 at 02:55

I’m thinking about trying an html5 game engine. I know nothing about web development except some very basic html. So my question is, what is the absolute simplest free development environment to get started on? Do I need a server on my computer?

edit: After looking around, I’m thinking about using Netbeans for web development IDE. I’ve used Netbeans for Java, so I’m kind of used to it and they have some pretty good tutorial videos. Still like to hear you opinions, of course.

3 Replies

Please log in or register to post a reply.

Reedbeta 167 Mar 10, 2013 at 04:27

I’m not much of a web developer, but I don’t really use a specific IDE for it - I just use a general text editor like Notepad++, and switch between that and my browser window. Additionally, your browser may have some web dev tools built in - Firefox for instance has an element inspector, live-updating CSS editor, Javascript command line and debugger, etc.

You probably don’t need to run a server on your computer, but it can be helpful, e.g. for using server-relative URLs for links for loading resources and so forth. I’ve used Techlogica’s server, which sits in your system tray and doesn’t cause any drama. It has PHP built in too, although I’ve only used it for serving static files.

TheNut 179 Mar 10, 2013 at 04:27

For the time being, you can develop and test on your local file system. You don’t need a web server and it’s in fact much faster without one since the browser will load files directly. I just drag and drop my main index file over to the browser and refresh it whenever I make changes.

For a hobby project I’m working on, I’m testing development with Visual Studio 2012. I was going to post my thoughts about it after I was done, but for the time being I think it’s something you may want to consider. I used notepad++ previously and it’s still fairly good in its own way, but the intellisense in Visual Studio is a nice addition. It’s not perfect, in fact none of the IDEs are (I also tried Netbeans at one point), but it’s good enough so long as your objects are strongly typed. About the only thing I am mad about in VS 2012 is that Microsoft didn’t bother writing plug-ins to debug via Firefox or Chrome browsers. I hate, I mean absolutely HATE using Firebug over Visual Studio’s debugger, but it’s an unfortunate reality. Eclipse does work well with Firefox (and I believe Chrome) and that is another option, although the JS intellisense is rather poor and Eclipse sucks system resources like a sponge in water.

I know nothing about web development

Honestly, keep it that way. The less you know about HTML and CSS, the better. Those two should have died a long time ago, but the powers that be want them to stay and live on. They are not meant for writing games and apps, they’re meant for displaying pages of data. If you have the time, render your UI via the Canvas, just like you would normally do in a native game. It’s worth the effort. Don’t be fooled by JQuery UI either. It relies heavily on HTML DOM to layout the controls, and that’s where the problem is.

fireside 141 Mar 10, 2013 at 05:06

OK, thanks a lot for the information. I’ll be experimenting with different methods to see what fits the best. Good to know I don’t need CSS knowledge. I just want to write games. I’ll keep Techlogica bookmarked in case I need it. I already have notepad++, so I’ll might give that a try also. Netbeans seems OK so far, but I just started looking at it.