Forum: Blender


Subject: Blender Battleship...

Reddog9 opened this issue on Jun 01, 2008 · 7 posts


Reddog9 posted Wed, 11 June 2008 at 7:47 PM

I finally got the peg placer working today.  Aaarhh..  'instantAddObject()' That's the key!.  I had to look over some of my old code before to get this.  for some reason, it's not in the docs and doesn't come up when you ask for a directory of the object...   print dir(wpact)

Peg placer..
You punch in your coordinates.. hit return.. your client contacts the server to check the shot with the other players grid which was created at the beginning of the game.  The server responds with 'hit' or 'miss'.  The the client's peg placer adds the appropriate peg.

Reddog9
Tutorials, Samples and Models
www.blender3dclub.com