I’m Preparing!

Posted by (twitter: @charlottegore)
December 4th, 2014 7:28 am

Three.JS isn’t a game engine. It’s great for very easy 3d in browsers, but… sheesh… you kinda have to do everything else from scratch.

To get ready for this Ludum Dare I want to already have the ability to import geometry from Blender and then actually interact with that geometry. Three.JS doesn’t have any collision detection stuff built in so… a bit of work is required.

So I found a cool javascript SAT library and a nice Spatial Hash grid implementation then wrote some code to convert the imported geometry into SAT convex polygons and generate bounding boxes for the grid. I threw it all into my stub game library thing and I got:

bounce

It kinda feels like cheating though, doing work like this before the competition itself. If I used Unity I’d get this sort of thing for free though.. so it’s okay, right? Right? *guilt*

Tags: , ,


5 Responses to “I’m Preparing!”

  1. Managore says:

    I think so, as long as the code is publicly available before the compo starts.

  2. jhice says:

    Very nice rendering you’ve got here.

  3. hexagore says:

    Ah yes, I’ll publish the code first.. phew :)

  4. Larzan says:

    I felt the same way you did before my first LD, but after all, this is a GAME jam not a CODING jam, so it is about making a game, not programming like carmack or persson, so don’t worry about it.

    As long as you keep your mind open for the theme though… nothing worse than those who basically have their game done beforehand and just somehow put the theme in the already basically finished game…

  5. hexagore says:

    Larzan, yeah, I may not even use this this stuff at all! It’s just be nice to be *able* to do something platformy if that’s what the theme seems to call for :)

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]