Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - ollioikarinen

Pages: [1]
Support / Dynamic texture loading?
« on: March 13, 2008, 10:58:04 pm »
Hi again!

Nice to notice, that I come and go, seek and seek, try different things (jmonkeyengine, ruby with several 3D native bindings, Jirr etc.), but I always come back here - at home! ;)

Do you think it's possible, even easy enough to load and change 3D object's texture "on-the-fly" using JPCT?


Support / multiplayer: send and receive coords and angles
« on: May 27, 2007, 10:11:24 pm »

After about 5 years I'm back - things have come and go but JPCT stays and stays strong! ;)

I have a question about multiplayering, how to send and receive object's coordinates and angles. I have a game (an applet) with a planet and 2 ships. The applet creates a socket connection to my which receives strings and sends them back to both.

I manage to send a string like this:


...where id is an unique int (so you don't deal your own coordinates). But I have a trouble to find a way to "set" this translation to the other ship. And the same for the angles...

Any help - a code-snipplet with Float.valueOf(thewholemessagewhichneedstobeparsed.trim()).floatValue(); parsing examples - would be great!

Thanks everybody, especially Helge!

P.S. It's late and too many lines of code, maybe I'll figure it out tomorrow by myself. ;)

Pages: [1]