The Main scene is both a game scene and the heart of a bzoo client.
The best way to create game scenes for your game is to accuratly configure the main scene
and copy it as many time as you want scene in your game.
Located in (0.0, 0.0, 0.0) there's an empty named ???.
This object must be present in every game scene of your game.
It is the object that is in charge of entertaining the connection with the server,
reporting current player situation, refreshing players position ???, and handling some keyboard event such as the function keys F1, F2, F3, etc .
Two camera are used in this scene.
"FPVCamera" for the first person view and "TPVCamera" used for third person view mode.
Linked avatars are on layer 5 ???
Import not already linked Avatars that you have created into previous step.
It is recomanded to put them on a non visible layer
Object that will represent other player are located around ???.
They are composed of an empty named "Base.0xx" , an armature (not used), a mesh and several
It set up the number of simultaneous player in this scene.
If you want your game to accept more people than what's provided in the Main scene, then select the last player object (the one with the highest identifier) and copy it until you reach the number of possible connection you want to accept
(Select Base.0xx and all children...Shift D)
Note that the number of possible player in a scene is also configured through the server command line option.
Grabable object are object that can be taken by the player.
An object is considered by bzoo as grabable if it has a grab collision sensor connected to the MainObjGrab.py script as shown in the figure below.
When such an object collide with the player, then it is added into his inventory and vanish from the game scene.
You can specify the amount of by setting up a "quantity" property.
, the value of the quantity property is added to the number of such object in the inventory.
They remains available for others players.