Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Tempest multiplayer example

Author
Message
Mr X
19
Years of Service
User Offline
Joined: 25th Sep 2005
Location: Universe, milkyway, sol-system, Earth...
Posted: 11th Jun 2007 22:59 Edited at: 17th Jun 2007 16:01
Hi all.

I've taken a look at how to create an LAN multiplayer system using the tempest plugin. The game supports at last 2 players (10 at the top). It's not very fun, but is a good example in simple multiplayer.

Code (old version!!!):


Hope you find it usefull.


UPDATE:

I've updated the code. It works much better now. You are now in an environment built of boxes (collision system is made with sparkys collision plugin). You can run around, jump, kill the other player/players to score and even get a list of who is on the server. Ohhh, and there is one thing more. Do not touch the ground .

Hope you enjoy the update. Here it is:


Controlls:
w - move forward
s - move backwards
a - strafe left
d - strafe right
spacekey - jump
y - chat
tab - view players

left mousebutton - fire

And move the mouse to look around.

Login to post a reply

Server time is: 2024-11-22 18:24:13
Your offset time is: 2024-11-22 18:24:13