Multiplayer game

Game Engine, Players & Web Plug-in, Virtual Reality, support for other engines

Moderators: jesterKing, stiv

snapygapi
Posts: 1
Joined: Mon Jul 24, 2006 8:51 pm

Multiplayer game

Postby snapygapi » Fri Oct 13, 2006 8:49 pm

does anyone know how to make a blender game multiplayer?
snapy

lucky3
Posts: 132
Joined: Thu Oct 17, 2002 6:08 pm

Postby lucky3 » Fri Oct 13, 2006 10:44 pm

You can split the window to make a 2 player game (maybe more) with python :)

I know someone who tried to make an online game with blender, i remember he had succeeded with python scripts... But i don't know anything about this script :?

JiBe
Posts: 14
Joined: Sat Aug 27, 2005 11:29 am
Location: France
Contact:

Postby JiBe » Mon Oct 16, 2006 10:02 am

In my opinion, the easiest way to create multiplayer game is to use BZoo.

BZoo is a virtual world creation kit for Blender.

Image


Find out more about Bzoo on following threads :

BZoo Thread on BlenderArtists section Python and Plugins

BZoo Thread on BlenderArtists section GameEngine

A web site is currently being created for BZoo :
http://www.ascensionwars.com/bzoo/

See you

Jean-Baptiste

littlebob
Posts: 6
Joined: Thu Sep 07, 2006 9:30 pm

Postby littlebob » Mon Oct 16, 2006 8:26 pm

contact saluk and talk to him about his project Creasant Dawn( :lol: but he probably won't tell you to much, hes put quite alot of work into it)

Saluk
Posts: 166
Joined: Wed Oct 16, 2002 6:52 am

Postby Saluk » Tue Oct 24, 2006 7:48 pm

Yeah it's doable, and it's really not that much harder than writing multiplayer for anything else (if you have to write it from scratch).

But yeah, I've put a year into it so far and I am planning to go commercial (in a few more years), so no source. Bzoo looks pretty good to me for casual use.

Also, these sorts of questions are better asked at blenderartists.org in the game engine section. A better related question to ask here is "are there any plans to add multiplayer into the game engine?" although the anser to that is pretty much going to be "no". :)

blenderartists.org - using blender
blender.org - blender engine itself

thunderthunder
Posts: 14
Joined: Tue Oct 24, 2006 8:53 pm

Postby thunderthunder » Tue Dec 19, 2006 7:28 pm

Yes if you want a split screen python here a little tut:


Create a script for the top screen with the following: (you can name

it"top_screen")

import *

own = GameLogic.getCurrentController().getOwner()

own.enableViewport(1)
own.setViewport
(0, 384, 1024,768)

Now create a camera or use the defult one. Now in the logic key create a sensor then

a controller. Make sure the controller is a "python" and name the script

"top_screen" (or whatever name you have for the "top screen" script you

created)("note" Case sensitive names so make sure where it says (Script:) in the

"controller/python" it is typed exactly the same as the name of the script you

created)

Now create a script for the bottom screen with the following: (you can name

it"bottom_screen")


import *

own = GameLogic.getCurrentController().getOwner()

own.enableViewport(1)
own.setViewport
(0, 0, 1024, 384)

Now create another camera. Now in the logic key create a sensor then a controller.

Make sure the controller is a "python" and name the script "bottom_screen" (or

whatever name you have for the "bottom screen" script you created)

There now test!!! Atleast make sure you have like a stage or something that is colorful
or atleast so you can tell its split screen

(Make sure your header is pulled all the way down for full results of the split

screen code)

now you can play around with the python and see what it does pretty simple yet

complicated... (oh yeah the thing to play around with is highlighted

green)


need any help just let me know i'll tell ya :?



One last thing if you do anything big could you give me some credit(its my first help tut on scripts)



thunderthunder oh yeah!!!!


Return to “Interactive 3d”

Who is online

Users browsing this forum: No registered users and 0 guests