David Geary's New HTML5 Game Development Series

I came across David Geary's article HTML5 2D game development: Implementing Sprite behaviors yesterday. The article ends with a download ZIP file.

I downloaded the ZIP, went to NetBeans IDE 7.3 Beta 2, and then chose File | New Project | HTML/JavaScript | HTML5 Application with Existing Sources. I then browsed to the root folder of the unzipped ZIP file and was then able to open it into the IDE. That makes understanding the source code and debugging it a lot easier because all the HTML5 capabilities of NetBeans IDE 7.3 are available to me immediately, e.g., Nashorn JavaScript editor, JavaScript debugger, bidirectional WebKit browser integration, HTML5 editor, CSS Rule Editor, etc:

Looking forward to following the rest of David Geary's series via NetBeans IDE.


When I try to run game.html NetBeans wants to start chrome. There is no way I can tell the IDE to use my installed Firefox. The Web Browser settings in the Options Window doesn't have no influence.

I don't want to install chrome ony my linux machine.

Posted by guest on January 14, 2013 at 05:46 AM PST #

You can go to the Project Properties of the project (right-click the project and choose Properties) and then use the Run tab to select the browser. Hope this helps, if not, let me know, or drop me an e-mail at geertjan dot wielenga at oracle dot com.

Posted by Geertjan on January 14, 2013 at 06:36 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« November 2015