fireside at March 9th, 2013 21:55 — #1
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.
reedbeta at March 9th, 2013 23:27 — #2
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 at March 9th, 2013 23:27 — #3
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 at March 10th, 2013 00:06 — #4
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.