Quantcast
Channel: JavaScript and TypeScript — Photon Engine
Browsing all 162 articles
Browse latest View live

No Javascript/Html5 forum?

There seems to be a (sub)forum/topic for each client other than the js/html5 one. Where's the official place to post questions about that client?

View Article


select the Application name upon connection

By coincidence I do have a JS api question and this forum was just created today. I am not using the Lite application, and cannot find anywhere in the JS api to select the Application name upon...

View Article


Multiple Peer Clients

Hi, it seems that you cannot (or better should not) create multiple peer clients. According to the implementation the peer client stores certain properties in the its prototype (refer to lines 1551ff...

View Article

Secure websockets

Hi I'm trying to get Photon setup to receive web socket connections that are secured using our SSL certificate. Running certmgr.msc i have imported the certificate with the friendly name...

View Article

Javascript API and the blank server tutorial ?

It is normal that the javascript api when started twice (the chat demo) the two instances can't communicat with each other based on the server made form the tutorial (blank application demo) ?

View Article


Image may be NSFW.
Clik here to view.

Javascript

Good afternoon, I have a few questions as i am new to this site. I am in th process of building a game and obviously want this to b a multiplayer game. I hav noticed in the tutorials the code is in C#,...

View Article

Wish for some documentation for javascript api

Like the topic say i wish for some documentation for the javascript API and the server v3 cause im getting a hard time to understand how this server work... because of that i may go look elsewhere....

View Article

how to receive custom events?

In the C# client, I just implement IPhotonPeerListener.OnEvent( EventData eventData ) and my custom events work fine. Not the case in the JS api... Looking at the JS API docs, all the methods for...

View Article


photonpeer untied from lite

I have had an JS app which was not sharing similar operations with Lite app of photon and I was going to use PhotonPeer() , not the Lite() extension. But as many others here I ran into problem that...

View Article


JavaScript Demo on Photon Cloud doesn't work

I've tried the JavaScript SDK demo (loadbalancing & particle), but it doesn't work. The HTTP request and response header to the cloud server are: CONNECT app-asia.exitgamescloud.com:4530 HTTP/1.0...

View Article

JavaScript/HTML5 SDK for Photon Cloud?

Great news about Photon Cloud becoming Forever Free! Any chance of also getting a JavaScript/HTML5 SDK for the Photon Cloud?

View Article

delete WebSocketMain.swf file, SDK can work it?

If you delete WebSocketMain.swf file, SDK can work it? iphone does not support flash, only with pure html5

View Article

External Authentication Question

I've had success deploying and "authenticating"against the MVC app on github, but now I'm developing an api to connect with a user database hosted on parse.com (using Cloud Code with...

View Article


Port other than 9090

Hi, I cannot connect my Javascript client to photon server on a port other than 9090. Isn't it possible to use different port? Thanks

View Article

Javascript and PUN

Is it possible to view the same rooms from javascript client as a pun client? I've set the appId and gameVersion the same in the unity client as well as the javascript client and cannot see games...

View Article


Basic Startup Tips for n00bs

Hi All, I'm really excited to see Photon Cloud and Javascript/HTML5. Super exciting stuff! Unfortunately, I'm not as strong with HTML5/JS as I am with Unity/C#. I'd like to create, at first, just a...

View Article

Connection to custom server application

Hi. How can I connect to my custom server application throw JavaScript (HTML5) SDK? I cannot find information in documentation or client SDK. this.peer = new...

View Article


How to pass callback to custom event listener?

Thanks for opening this forum! The JavaScript SDK documentation gives 'callback' as the second param of addCustomEventListener(). But how do I pass it a callback? raiseEvent() sends a JSON object, not...

View Article

custom room properties and hashtable

I want to use custom room properties in my project using UnityScript. I can't seem to get anything to work. Even with: import ExitGames.Client.Photon; in my script, the simple declaration: private var...

View Article

JavaScript Demo on Photon Cloud ERROR 2004

Hi guys ... capture and link http://forotripman.esy.es/test/photon/src/demo-particle/default.htm I need help, i fail to solve the problem ... thnxs

View Article
Browsing all 162 articles
Browse latest View live