Collision Detection


I put working on the master server on hold for now, since I figure Collision Detection is a more important problem. However, I’m running into problems with it; I’m trying to do it serverside, and while I do run into walls, they are invisible. Invisible is the wrong word, I suppose; the server is doing what it’s supposed to, but I think it’s a problem with what you see vs what the server has in its room coordinate/dimension arrays. For example, when I was doing respawning, it kept putting me in random spots instead of inside the rooms. I figured out that it was because when passing the room coordinates clientside, you needed to pass “32 - y coordinate of the room” because of the switched coordinate axes of 2D drawing (down is positive in the y direction). I’ll figure out what it is eventually.

In other news, I have recovered from a week-long throat infection. Not that anybody follows this blog anyway. Also, my independent study with Dr. Fomitchev at Penn State is kicking off. I’ve got a 100-page dissertation from UCLA to read, and a program to attempt to understand. Awesome.