Blender - MULTIJUGADOR

 
Vista:

MULTIJUGADOR

Publicado por HELP (9 intervenciones) el 13/01/2007 00:33:03
quien me puede poner aqui o mandarme por correo las lienas de codigo en python script del blender para realizar las opciones multijugador IPX, UDP etc,,,,, en blitz3d es de lo mas sencillo en el manual aparecen, porfa que halguien me ayude saludos a todos los blendemaniaticos :)
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:MULTIJUGADOR

Publicado por pepito (1 intervención) el 26/01/2011 19:03:46
from abc import ABCMeta, abstractmethod
import sys

__all__ = ["Hashable", "Iterable", "Iterator",
"Sized", "Container", "Callable",
"Set", "MutableSet",
"Mapping", "MutableMapping",
"MappingView", "KeysView", "ItemsView", "ValuesView",
"Sequence", "MutableSequence",
]

### ONE-TRICK PONIES ###

def _hasattr(C, attr):
try:
return any(attr in B.__dict__ for B in C.__mro__)
except AttributeError:
# Old-style class
return hasattr(C, attr)

class Hashable:
__metaclass__ = ABCMeta

@abstractmethod
def __hash__(self):
return 0

@classmethod
def __subclasshook__(cls, C):
if cls is Hashable:
try:
for B in C.__mro__:
if "__hash__" in B.__dict__:
if B.__dict__["__hash__"]:
return True
break
except AttributeError:
# Old-style class
if getattr(C, "__hash__", None):
return True
return NotImplemented

class Iterable:
__metaclass__ = ABCMeta

lass Sized:
__metaclass__ = ABCMeta

@abstractmethod
def __len__(self):
return 0

@classmethod
def __subclasshook__(cls, C):
if cls is Sized:
if _hasattr(C, "__len__"):
return True
return NotImplemented

class Container:
__metaclass__ = ABCMeta

@abstractmethod
def __contains__(self, x):
return False

@classmethod
def __subclasshook__(cls, C):
if cls is Container:
if _hasattr(C, "__contains__"):
return True
return NotImplemented

class Callable:
__metaclass__ = ABCMeta

@abstractmethod
def __call__(self, *args, **kwds):
return False

@classmethod
def __subclasshook__(cls, C):
if cls is Callable:
if _hasattr(C, "__call__"):
return True
return NotImplemented

### SETS ###

-*****-
* *
* *
* _ _ _ *
* *
* *
* *
* *
* *
* *
* *
* *
* *
----------------- * ** **************
* * ** *************
* ************** *
**************** *
*
*
*
*
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar