Feb
02
2009
0

FYP Technology: Subversion You Saved My Life

I just managed to break my Xcode project. For some reason, the GCC 4.0 build options aren’t coming up anymore, so I can’t play with garbage collection or change any other settings.

“svn revert *” and I’m back with a working copy again. Phew. Thanks Subversion. Thubversion.

No comments »
Written by in: University |
Feb
02
2009
0

FYP Technology: Faking TCP

I feel like my progress is slowing a bit, but it’s probably just because I’m pretty much past the prototyping stage and actually into real development, so I’m not seeing results as quickly anymore.

I spent a good bit of time yesterday mucking around in 3ds Max, putting together the bones of a new scene, getting the right scale, and hooking up a sphere to the accelerometer input so waggling around the iPod will make it roll around the room, bumping into things.

I spent some time today adding a polling mechanism to my protocol, since I’m using UDP instead of TCP. Without TCP’s connection state, I’ve added “goodbye” and “noop” messages: goodbye is a hang-up message, telling the other device that it’s not communicating anymore. The noop (“no-operation”, in case you haven’t heard it before) is just a 1-byte datagram every second. The PC responds with the same datagram if it gets it, and if either side doesn’t get a noop packet for a few seconds it will assume the connection has dropped.

Here’s a song Arnaud from Havok showed me one day while I was working in the Tokyo office. Capsule had a very similar sound to Perfume: a group that’s doing pretty well for themselves in Japan right now. The only difference between the groups is the vocalists anyway. Check out Sugarless Girl:

No comments »
Written by in: University |

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com