March 25, 2007

Physics engines are complicated

I’m trying to actually read the Game Physics book rather than just skimming through it. That helps it make more sense, but there’s still far too many equations in it.

I’m finding that I have learnt a lot of the stuff it’s talking about. But not in Computer Science lectures, oh no. The only useful maths has been from the optional modules I took last year like Mathematical Programming 1 and Introduction to Quantitative Economics. Which is annoying, because IQE was rubbish and I’d hate to actually use any of it.

Working on Operation Meltdown, I was shocked to find code comparing strings with == rather than equals(). That broke horribly (as it ought to) when I changed things. The compiler really ought to give warnings for that type of thing.

I now have the code to iterate through all images in a directory in a jarfile, though, so I no longer need to manually load each image by name.

- 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

My website

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

March 2007

Mo Tu We Th Fr Sa Su
Feb |  Today  | Apr
         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 29 30 31   

Search this blog

Blog archive


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


Not signed in
Sign in

Powered by BlogBuilder