February 24, 2007

Collision Detection

Collision detection is still really hard. I reckon I’m getting somewhere, though, mostly by ignoring what the big book says and implementing the least efficient algorithm I can understand. And then guessing what values need to be negative and which need to be positive so he doesn’t end up falling upwards. And then drawing intricate diagrams on scrap pieces of paper to understand what’s going on, only to find that the exact opposite happens for no readily apparent reason. And then re-reading my code for the 15th time, realising it’s a horrible mess but knowing that any attempt to tidy it up will break just about everything I’ve done so far, and to be honest it’s not that great anyway; I might as well break it, then I’d have an excuse to start from scratch. But then I realise that even if I were to start from scratch, it would just take me another week to get back to where I am now, and the new code would probably be even worse.

So yeah. Totally getting somewhere.


- No comments Not publicly viewable


Add a comment

You are not allowed to comment on this entry as it has restricted commenting permissions.

New blog location

After a hiatus of several years, I’ve started blogging again at blog.draknek.org.

My website

Looking for more information about Alan Hazelden? Follow me on Twitter or go to my website.

February 2007

Mo Tu We Th Fr Sa Su
Jan |  Today  | Mar
         1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28            

Search this blog

Blog archive

Loading…

Most recent comments

  • Knife game: No actual cutlery involved. A single player starts with the "knife" by clasping his or h… by Noyb on this entry
  • My friends and I have taken to this one very silly game lately that's probably altogether too insula… by Ian S. on this entry
  • Great, thanks for those! That first one I would know by the name of Wink Murder, usually with a sing… by on this entry
  • I don't know the names for these games, so I'll make them up: Sniper. Randomly choose who is the sin… by zep on this entry
  • I recommend checking out Project Sprouts from Luke Bayes. It makes obtaining and configuring the fla… by Duncan Beevers on this entry

Tags

Not signed in
Sign in

Powered by BlogBuilder
© MMXIX