ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:    
Ambiera Forum > CopperCube > CoppperCube Open discussion
Multiplayer online test
Author Text

jaimezegpi
Registered User
Quote
2014-08-26 23:32:42

Ok This is a "TEST"..

Need a lot of work..
_ Push engine for javascript (not free need $$ ha ha Not Ready.) now i use comet.
_ Improve the chat system (working in that.)
_ FaceBook (Ready in develop version)
_ File interchange (Not ready)
etc.....

Test Link.
http://www.brainxcode.cl/portal/...

Source Code and all files
http://www.brainxcode.cl/portal/...

If you like test open link in 2 diferent browsers.
i use phpsession for identificate a user, in develop version i use Facebook Connect.

- in example you can see debug information, like pos and session id in realtime , don't worry is not a bug ;)





niko
Moderator
Quote
2014-08-27 06:01:17

Nice!


misterpaint
Registered User
Quote
2014-08-28 12:28:37

you are great!!
question... push engine? Comet? what are they?
I am a beginner in these things

to create a multiplayer system like yours, what do I need?


jaimezegpi
Registered User
Quote
2014-08-29 06:43:50

hi misterpaint
Push is used by facebook or watsup to instant send msg to users..
In Javascript you can simulate this using a comet tecnic.. is a simply long poling conection..

there are push engines for javascript like ape (very good) and you can integrate to mysql5 trigers (and store proc.)..
In this example only i use comet tecnic, php and plain text to store data like pos, angle, msg and time in scene..

Here is and excelent example
http://jsjoy.com/blog/197/simple...


jaimezegpi
Registered User
Quote
2014-09-01 20:59:50

source code:
http://www.brainxcode.cl/portal/...


skullboy99
Guest
Quote
2014-09-02 09:25:07

@jaimezegpi.Thank you so much .


misterpaint
Registered User
Quote
2014-09-02 12:22:57

you are too kind!!!!! Thx!!!! This pack is great!! I have tested on my server and work very well! You are a genius ^_^


ovladi
Registered User
Quote
2014-09-02 14:14:47

gran trabajo , muchas gracias por su aportación


jaimezegpi
Registered User
Quote
2014-09-02 17:30:49

I hope works well in yours servers...
If you can use a "REAL" push engine, you have more better results and can manipulate more clients. This develop works well under 10 clients.

Cracias ovladi, espero te funcione bien la integración.. OJO! que no estoy usando un motor Push real, sino que un simple comet u/o conexion persistente.


misterpaint
Registered User
Quote
2014-09-02 18:10:54

This method is good also for flash game? Or only webgl?


jaimezegpi
Registered User
Quote
2014-09-02 18:19:04

Mmmmm.... flash ??? test them .. i think not...
in Android can result using "webView" as .APK


misterpaint
Registered User
Quote
2014-09-20 21:49:24

This is a great pack! :) you are great! work it!


jaimezegpi
Registered User
Quote
2014-09-22 22:10:30

Thanks MisterPaint.. you can add more clients in realtime using Sockets.
like this.
http://socket.io/
..
please the code is not very beautyfull, is only a test.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Forum Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   





Software: Ambiera Light Forum. © 2008-2015 Nikolaus Gebhardt, Ambiera e.U.