Typescript transcompilation in browser

Typescript transcompilation in browser

So I contributed to the typescript-compile repo for which you can acquire in terminal with this command:

git clone https://github.com/niutech/typescript-compile.git  

At any rate, typescript was backed by the Angular team and it's been steaming along, leaving this in-browser compiling library behind. I don't particularly support this repo anymore at any rate because I feel it's much easier to just use the official ts compile library by acquiring it via `npm. I thought it was important enough to mention here since i've been getting a lot of emails about updating to the newest ts version or

Read More

ETB v4 Showcase

ETB v4 Showcase

Update, January 7th 2017

This showcase is now a debugging: true flag inside of Exploring The Bleak on engine.scene.viewport.

Original Post

Since beginning the fourth version of this game, I've always had it in my mind that testing, particularly Test Driven Development should be a guiding factor in how it should be made. Many projects get scrapped because their scaffolding is bad or their design lacks the proper structure to allow growth. Exploring The Bleak is not a tiny Javascript game, so structure is important.

I'm scaling a testing application for ETBv4 as features are added to the

Read More

Object Collision With Spatial Hashing

Object Collision With Spatial Hashing

I ran across a great article today by Christer Bystrom that talks of the difference between Quadtree's and Spatial Hashing at implementation and subsequently alludes at the performance implications. I've made a more appropriate demo (in my opinion,) than the confusing code in the spatial hashing implementation on the page to make it more simple to see and understand. I thought that it was worth taking a look at. In my code example I do not show his spatial mapping library. You'll have to use this link to gain access to that. I merely show how I implemented the library.

Read More