mahdi71's Forum Posts

  • Ashley ? please help me

  • hi,

    i bought the scirra signalling server from the store but it is not connecting

    i installed it then run it (on my local machine for testing) and it says its running and showing peers are connected but in construct triggers are not working, this is my problem:

    "on connected to signalling server" condition is not working but "is connected to signalling server" is showing true

    log in and join room is like this too . triggers are not working but "is"conditions are working!

    why is that ?

    can Ashley help me?

    edite: i think the one on the store is not updated to the last version

  • All this is handled by the browser and WebRTC library. It's not directly to do with Construct, so I can't help you I'm afraid. I would guess it either figures out which one performs best and uses that, or alternatively goes through them in order, connecting to the first one that successfully accepts the connection (i.e. only proceeding through the list if a server is down). It might even depend on the browser, and use different strategies on different platforms.

    thanks for the answer it was really helpful

  • anybody ?

  • is your server windows or linux?

    if windows and if you have wamp then you have to config a domain and export your construct project as html then put it in htdocs folder (C:\xampp\htdocs) (backup all other things in this folder then delete them)

    if you want to have a front page and the game be like in this address "example.com/thegame/"

    then you have to put construct export in a sub folder with the name of "thegame"

  • I don't see why you don't go and confirm it yourself

    its a really hard test . i think scirra has to be more clear on that. on the manuals

  • Sure ice candidates are given a priority that depends on multiple things like local network and peer connection and turn server latency and then it attempts a connection with the highest priority first to get the best connection quality and it keeps trying to make a connection with the next best candidate if it fails

    thanks for the answer.

    so if i use multiple turn and stun servers (with add ice action) then multiplayer plugin will use the most stable and less latency server for that client. (for example it use a usa turn server for a usa peer and host and use a uk server for uk and so on...)

    if anyone else can confirm that i will be so happy...

  • is anyone know this ?

    can construct team answer this for me ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • i think unity ads is a good option

  • Hi,

    check this event :

    On start of layout >

    add ICE server "turn server1"

    add ICE server "turn server2"

    what does this event do ?

    is construct use both or just use "turn server2" or choose a random one and use that or choose the one which is up (if server1 is down so choose server2) ?

    thanks

  • You do not have permission to view this post

  • You do not have permission to view this post

  • hi

    as you may know the chromium from version 60+ use webassembly and after test a little complex game on it (compare version 53 and +60)

    you can see performance is really good (with a game which use more than 1000 sprites (particles are included))

    chromium version 53 : -30 frame

    chromium version 60+ : 60 frame !!

    but the bad news : crosswalk does not upgrading anymore !

    but i find this link : https://github.com/tenta-browser/crossw ... hromium_64

    as you can see its using chromium 64 crosswalk but i really don't know how to use it

    if anybody can solve this,he/she really solve every problem we have with construct ! (in android performance, since ios is already ok!)

    since probably ashley will come here and say why using crosswalk , i want to use crosswalk because :

    1. its stable: webview can broke my game if new update change something

    2. it's embedded in my project so users don't have to update some other service to use my app

    __

    another question : if nobody can find how to use that link say to me how to check webview version.

    thanks.

  • hi

    update your chrome browser (chrome version +60 ) and then preview your game on it it have a really great performance like +100% perfromance boost

    but we can not use it because when crosswalk performance could be greate then crosswalk was stopped! yes we can use webview but how about they who don't update everything to last versions !? i mean in crosswalk you could trust, but webview ?! depends on user so i am sad and it i thing you are too!

  • Sorry for gravedig. Anything come out of this?

    hi

    sorry guys its not happening anymore...

    not enough people support this idea and i find out performance problem is the eventsheets are act in an way wich is not optimized

    so this eventsheets in c# will not help and i get to a conclusion which unity is not good for 2d ! (so complicated for that)