Skip to Navigation | Skip to Content



Cube Defense! (WebGL TD Game) | November 6th, 2009

This is a playable demo of a game I’ve been working on with WebGL. As per usual, this will only run in WebKit Nightlies build. No bias or anything, but WebGL runs too slow for the game to work in FireFox Minefield. (It will work in both WebGL enalbed WebKit and Firefox, but WebKit will perform better.) This is also my first take on trying to make a tower defense style game, so don’t expect too much.

Posted in WebGL, fun, game, javascript, openGL | 12 Comments » | Add to Delicious | Digg It

This entry was posted on Friday, November 6th, 2009 at 7:22 am and is filed under WebGL, fun, game, javascript, openGL. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

12 Responses to “Cube Defense! (WebGL TD Game)”

  1. Alexei Says:

    Wow.. that is pretty damn cool Yohei. wow. If you could just work Chuck Norris into that.. it would be perfect.

  2. Tweets that mention Yohei Shimomae’s Blog » Blog Archive » Cube Defense! (WebGL TD Game) -- Topsy.com Says:

    [...] This post was mentioned on Twitter by Shazron Abdullah and Fil Maj, rob_ellis. rob_ellis said: HOLY COW – Check out this WEBGL Demo Yohei put together 3d Tower Defense http://blogs.nitobi.com/yohei/?p=62 #webgl #nitobi #awesome [...]

  3. Jim Pick Says:

    Congrats! This is the first really playable WebGL game I’ve seen.

    The interface for placing the towers seems a little confusing, but it works!

  4. semanticist Says:

    There’s a bug in selling towers; it will also remove all towers after the selected tower in towerArray. You should use towerArray.splice(currentIndex, 1);

  5. WebGL around the net, 9 Nov 2009 - Learning WebGL Says:

    [...] Shimomae has come up with another excellent demo, a game called Cube Defense. Sadly it’s WebKit-only — it works on Chrome and presumably Safari, but not on Firefox [...]

  6. WebGL Musical Solar System | Buddy's Blog Says:

    [...] been some nice progress around the web as well, most recently with Yohei Shimomae’s Cube Defense, a tower defense like game built with JavaScript and WebGL – probably the first WebGL game [...]

  7. WebGL Musical Solar System | Guilda Blog Says:

    [...] been some nice progress around the web as well, most recently with Yohei Shimomae’s Cube Defense, a tower defense like game built with JavaScript and WebGL – probably the first WebGL game [...]

  8. Robert Schultz Says:

    Works for me in Firefox under Linux.
    Latest trunk as of 10 minutes ago :)

  9. Play Cube Defense, a WebGL Game Says:

    [...] by our reader Nox. Just like similar games, you have to build towers and defend yourself. Author recommends running it on latest WebKit nightly builds, as WebGL might run slow in other web [...]

  10. Mike Says:

    This is not working for me…

    WebKit Nightly r50918, Safari 4.0.2 (5530.19, r50918).

    I get: ReferenceError: “Can’t find variable: CanvasFloatArray” in in utils3D.js at line 163

    OS X 10.5.8, build 9L31a.

  11. yohei.shimomae Says:

    I just updated it so it should work in the latest WebKit now.

  12. Tower Defence Games Says:

    Just to let you know man, I get some error when I try to play this video … My browser is FF..

    Cheers

Leave a Reply


Search Posts

  • Links

  • Categories