Ambiera ForumDiscussions, Help and Support. |
|
[ 1 2 3 4 5 ] Page 1 of 5 |
|
|||||
|
New Example Ex. 1 https://brainxcode.cl/thegame/mu... Ex. 2 https://jaime.zegpi.cl/lab/coppe... Test: open link in 2 tabs , one in incognito mode. //---------------- Download Example. Multiverso Multiplayer test. https://github.com/jaimezegpi TEST HERE https://brainxcode.cl/thegame/mu... |
||||
|
@jaimezegpi I try'ed it and nothing is happening can't move or do anything using Chrome : Version 42.0.2311.90 m Also will not work on firefox. ![]() |
||||
|
I guess those those gray models are the positions of the other players? Seems to work for me, although they don't seem to update and remain static (Chrome, WebGL) Just an idea: Browsers are usually caching requests, so maybe this might be the reason. For working around this, do each request with a senseless, upcounting parameter. |
||||
|
Seemed to work for me fine. Great looking plugin! Looking forward to this. Great work jaimezegpi! This is the kind of plugin I'd be willing to pay for. Ed. |
||||
|
Wow looking great... |
||||
|
theelk, use the link in the post. this open in a new window and work fine, thank for your coment. niko; yes the gray objects are other players. for prevent caching response i put a random value in request and response. like ?rand=747747. same i use for no caching a css. If you dont move in 30 seconds your player is eliminated from others players view. edkeyte, thank , this is a basic integration, is for fun. ;) . the ideal is make a node.js or ape integration for support more than 30 players. thaks bob. Todo. avatar integration to model. and chat for webgl, window and macOS. |
||||
|
Yes it finally worked for me..did not see the link.....lol my bad ![]() |
||||
|
very cool. I just tested this on a Samsung Galaxy Tab 4. Chrome for android (latest version). Ran very well. |
||||
|
Hit enter too quick. All was good until I ran off the platform. A kill zone/respawn would be good for that area. I only think of "kill zone" because I was mapper for my Unreal Tounamemt clan for a long time and map glitches were all over and a "kill zone" helped. |
||||
|
Thanks JDM, this is only a basic test, i study the most easy way to add a respawn zone. But the first alpha only have Actors: obj_position, obj_rotation, obj_name, obj_conn_status and obj_msg_text 2do obj_life obj_model obj_animation obj_* Scene (server controled) obj_position, obj_rotation, obj_name, obj_destructible, obj_life, obj_animation 2do obj_texture obj_* (i try to integrate to node.js to have a more speed in response) |
||||
|
OK.. now you can download original files to test in your system. 1.- Import scene and mod object , use same names and folders. 2.- you need install multiplayer plugin in cc 3.- If you like you can use the php files direc in your server. You need change links in multiplayer plugin. ccbDoHTTPRequest("http://brainxcode.cl/develop/id_generator/unikey.php", finishedRequest); (asign unique name to your client, can be replace for a facebookId, names, usernames etc...) ccbDoHTTPRequest("http://brainxcode.cl/develop/comet/backend.php", finishedRequestData); (this file make the magic. you can mod them. -after 30 seconds delete unactive clients-) This is ultra beta but work. DOWNLOAD http://brainxcode.cl/develop/mul... |
||||
|
Works perfectly for me. I used your PHP files on my shared server space and worked fine. Very impressive indeed! Looking forward to using this properly. One question though. I couldn't understand what path to change this: ccbDoHTTPRequest("http://brainxcode.cl/develop/id_generator/", finishedRequest);on my server. Thanks. Ed. |
||||
|
Sorry spoke too soon. The plugin was still pointing to your server not mine. Doesn't seem to work when pointing to the php files on my server. |
||||
|
Sorry edkeyte http://brainxcode.cl/develop/id_generator/XXX.php this generate a unique id, is for generate a name for the objects. You can use to asign names to your clients. sorry i forgot include that file only have one line //--------------------------------xxx.php echo md5(uniqid(rand(), true)); //------------------------------- Fixed |
||||
|
Great thanks! Works well on my server space. |
[ 1 2 3 4 5 ] Page 1 of 5 |
|