Tempo.js is a templating library for HTML (in javascript) that uses JSON to smartly populate the HTML. This makes it great for doing things such as having a file that you use to localize your app. There are probably actual localization libraries for just for JS. I don’t care. When I used Tempo.js today, there [...]
Archive for the ‘javascript’ Category
Creating Realtime Multiplayer Games using Node JS
By onedayitwillmake in gamedev, javascriptA few months ago at work, we decided to build a realtime multiplayer game for the web, and we chose to go with Node.js for our multiplayer server. It was a pretty strong success, and was up running for several months without a single crash or restart of the Node.js process. We decided to write [...]
A Finite State Machine implementation for use with Javascript games
By onedayitwillmake in gamedev, javascriptCurrently I’m working on a new Javascript/WebGL game called ChuClone. It’s been a lot of fun to work on so far. Having a good editor has been a key in that, as it allows you to write javascript in a more application like style, than strictly a series of DOM manipulation functions. For this game [...]
Component based game entities in javascript
By onedayitwillmake in gamedev, javascript, snippetI’m creating a javascript/webgl based game and would like you guys to take a look at the current entity component system which I created for it, and perhaps weigh in some opinions. On caveat I don’t like is that, sometimes a component needs to call the attachedEntities version of a function it has overridden. For [...]