vagaev's Forum Posts

  • I had a talk With a programmer at uni. We both tested the stuff.

    Safari: The stuff does not even launch

    Mozilla: The 3*player2 bug

    Chrome: worked for him. (strange stuff because the first dude i tested with had chrome and it didn't work)

    He said it was a browser bug. I thought webRTC was worked on mozilla.

    Another strange stuff is that with the 3*player2 bug the cards get shuffled and placed when peer number=4. So the peer counting works even if the function that shows which player you are does not work.

    Tho I don't see why this simple functions do not work.

    Function to show the message on the right depending on your player var number.

    Player number determination

  • And I just asked another person to launch it 4 times. And she has 3*player 2. Instead of this.

    It would be cool If i find out why.

    I made a video of how i proceed and what you should have. Because there is no reason I have this and other people dont.

    http://youtu.be/_HlnMCy0ee8

    EDIT: I asked 2 more people showing them the vid and giving the link.

    Same problem. Logic gets broken and they create only "Player 2" players.

    Ashley In your opinion what can do this? (and check on your side if it works for you aswell please)

  • Ashley

    Concerning the "+2" bug

    Aparrently C2 does not like when your hostAlias is composed of 1 letter only. He ads two when you put only 1 character. It does not do it when you put at least 2 character (just try nickname "a" for the host, and enter a second time as a peer)

    The problem is that my friend cannot play. And it's not just my friend. It was 3 different persons. I was thinking of an antivirus issue but i think it would have told that it blocks something. And i have one too so I don't know.

    And he can connect, it just does not work with peer assignement for him, which is strange.

    What people get is. Player 1=host and 3 times Player 2=peer when they open hosted file 4 times and joining the same room with different nicknames.

    What I'm kindly asking to do if people want to help me is.

    Firstly: use this link to enter in the same room as 4 different peers on your computer and tell me if each player has a different number (player 1, player 2, player 3, player 4) http://jockey-miners-47580.bitballoon.com/

    Secondly: do the same with a different person. So first try to connect as a host and tell the other person to connect 3 times in the same room. And ask him if he has a different player each time. Then invert the role, ask him to be host. If it works i'm pretty sure it's not a multiplayer plugin glitch.

    Thank you!

  • Concerning the concatenation to the HOST Alias. It seemed to occur sometimes and and sometimes not.

    Is it possible that it happens when you are giving the same string to the room and the nickname.?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The problem for other people is that when they are connecting as the first peer it's okay they are host. But when they open another version they stay blocked as a player 2 for any other connection in the same room.

    I had the chance to check this. A dude entered first so became a host. I entered and became a player 2, and the following attempts stayed as player 2.

    However I once tried to enter as host player 1. The dude entered as peer player 2, THEN I opened a second window and it showed i am player 3, and i did it one more time and i was player 4. So everything went well. This was strange.

    So i don't understand why with the same code and the same browser I can emulate 4 peers and my friend can't.

    By the way i joined the capx showing my connection logic.

  • Problem Description

    I have a complex problem with multiplayer plugin.

    It's a 4 peer game. I hosted it on BitBalloon.

    It's a card game so in order for the cards to be placed 4 players need to be connected to the room.

    When I am opening the link 4 times to emulate the 4 players i have no problems.

    The problem comes when i ask my friend to do so. For some reason it does not work for him.

    Which I don't understand because it's quite the same link with the same code. And we have both CHROME.

    And yeah one more strange bug. When i try to pick the Multiplayer.HostAlias for the other players it adds a 2 to it. So if i chose Player1 as a nickname it puts Player12.

    It can be seen in the official multiplayer plugin with shooting.

    Attach a Capx

    I can't attach a capx until the game is released but i can attach this.

    http://jockey-miners-47580.bitballoon.com/

    And i join a simplified capx containing my connection logic https://app.box.com/s/s4llvctqn5g46x0uo8qf

    Steps to Reproduce Bug

      Put a Nickname Put the same room number Do it 3 more times in defferent browser windows

    Observed Result

    Depends

    Expected Result

    Should be this.

    http://www.hostingpics.net/viewer.php?i ... 3proof.jpg

    http://youtu.be/_HlnMCy0ee8

    Affected Browsers

      All of them. Chrome worked for 1 person. Safari does not support webrtc, and Mozilla has this 3*player 2 bug

    Operating System and Service Pack

    WIN 7

    Construct 2 Version ID

    r182

  • Hello folks,

    I've looked for it for a while but i can't find the information.

    Does WebRtc work on ios in safari? Apple seemed to say yes with io8 but i can't get any confirmation.

    Would be cool to know.

    And if yes does it work in crosswalk?

    Also i have a problem. I created a new dropbox account but they deleted the public folder. So i can no longer share an index.html and make it run instead of download as a single file.

    Do you have any alternative? (i don't want to use a custom server for that)

  • mp sent.

  • You can contact me at agaev.vladimir(at)gmail.com and tell me about your projects.

  • up

  • Any advices to avoid the bug you see here? (realistic collision, and no through wall passing)

    used rex plugin "rotate to"

    use arrows to move the stuff.

    Demo

    https://db.tt/1sV0f2US

    Capx

    https://db.tt/rDhq9bmW

  • Very nice plugin. I managed to get it working fine for my App using Chrome browser.

    Is it compatibly with CocoonJS? I get an error when trying to export and test in the launcher =( I am not minifying the script?

    Any help would be appreciated so I can get my android app online =) I get an error

    And then all the touch controls and games goes funny. (eg you leave the layout but the game for some reason will end you back to the layout for no reason? Odd)

    Web RTC on mobile is very buggy. I don't think cocoonjs can do that.

  • You can contact me aswell

    [quote:1mal1zz4]agaev.vladimir@gmail.com

    I have skills in multiplayer games using webrtc technology

  • up

  • Do we have any equivalent in C2?

    http://www.stencyl.com/help/view/image-api