Ver Mensaje Individual
  #8 (permalink)  
Antiguo 15/08/2012, 06:24
Avatar de dontexplain
dontexplain
 
Fecha de Ingreso: junio-2012
Mensajes: 536
Antigüedad: 11 años, 10 meses
Puntos: 127
Respuesta: Javascript y HTML5, creando un juego multiplayer

Cita:
Iniciado por Alex265 Ver Mensaje
Entiendo, entonces no hay ninguna forma de hacer un multiplayer en tiempo real en un web hosting común sin sobrecargarlo a peticiones, ¿no?
En un Webhosting estándar con mysql y php en apache, la única buena alternativa posible es usar peticiones AJAX contínuas, como planteaste al principio.

En PHP léete esto si te interesa averiguar cómo crear sockets

http://www.lampdocs.com/blog/2008/12...upport-in-php/

y

http://www.php.net/manual/es/intro.sockets.php

UN saludo.
__________________
21añero.
HTML/CSS, PHP, JS/jQuery, Mysql; NodeJS/Socket.io (& V8); C++ ; Python (wxpy); Ensamblador.
Músico (clarinetista/pianista) y compositor