Monday, May 17, 2010

GAME PROGRESS

I picked a demo game project called "Collision with a Heightmap" from Microsoft's XNA website.  Here's the link:  http://creators.xna.com/en-US/sample/collision3dheightmap

I plan to modify the game to have multiple balls (network players) on the screen, where each ball is controlled by a different player.  When 2 balls collide, they explode!  It seems like a good starting place for our game.  After we get the multiplayer networking stuff working, we can just replace the ball with a player's character and then animate it's running motion as it moves around. 

I finished adding my non-blocking UDP Client code to a demo.  I need to update the UDP Server to match, and then begin testing.  The idea behind adding the UDP Client code to the game is for the game to periodically send my player's position to the game server.  The server will collect everybody's position and send it back to each networked game.  As each game get's other player's position information it can move the position of the other players ball in it's own screen.

Here's a picture of the game screen:


Russ DeWitt

1 comment:

  1. If you compile this game and get a runtime error "This device does not support 32-bit indices", try this fix: http://forums.xna.com/forums/t/8342.aspx
    That worked for me.

    Or, try this fix: http://forums.xna.com/forums/p/9686/50677.aspx

    Here's a nice overview of how the program works: http://ilovevb.net/Web/blogs/vbxna/archive/2007/12/28/heightmap-collision-sample-posted.aspx

    Russ

    ReplyDelete