Wednesday, January 16, 2008

Errata

In my posting yesterday, the calculation that determines that map you are in should have taken into account the row, you are scrolling over in the WorldMap. The row can be determined from your vertical scroll and a calculation to determine that.

So, the code should look like...

// determine the map we're in
nMap = nRow * nMapEntries_x + (nWorldPos_rx / nRegionSize + 1);

Where, nRow is going to be calculated from the vertical scroll. When, its all done I will post it.

Oh, just wanted to give a shot out to one of my co-workers, he works with me on the project we do for our day jobs, he's part-time, still in college. His name is Steve Taylor, this guy is already internet famous, with the indy game he released, 'Plasma Pong.' Atari got upset and made him pull his site down, since he used the name, 'Pong,' because there can be no infringement of two paddles hitting a ball across the screen. Atari wasn't the first to do that or patent that.

If you want to see the game, go to youtube, search for 'plasma pong,' it is very cool. Steve uses fluid dynamics in real time in the game. We've talked about the math intensive calculations he had to do for it. He's shown me a demo of one of his other ideas using soft-body (rag doll) physics.

As a side note, here's some 6 degrees of separation for you. I use to work for Nolan Bushnell the original founder of Atari, and creator of Pong. I worked at PlayNet, where Nolan was part-owner.

So Atari get off Steve's back and, "let me see that Pong! That Pong, pa-pa-pa-Pong!" (sing it to the beat of what's that singer's name, is he even still recording, you know, the Thong song dude).

No comments: