lappi357's Recent Forum Activity

  • Hi,

    Ashley I have developed a multiplayer game and i have tested this game in browser's on local server as well as live server.But when i test my game in iPad's or Android devices the game get's connected to the host room but peer is not able to respond to host that's why the game is not working . But in browsers this is working fine.

    Project Url :- 111.93.53.134/digital/test/raghvendra/multigame

    For Teacher Login:-

    There will be two buttons first one will be student btn and second one will be teacher btn.So first click to teacher btn then two input fields will be there first will peer count means total number of players in game so put 3 players and next input field is countdown timer(in minutes) so put there as 3 after clicking on next button next input field is teacher name so put the teacher name. After clicking next button the 4 digits pin will be generated.

    For Student :-

    When you click the student btn then you will required to fill the two fields the first one is the 4 digit pin that you have generated when the teacher is logging to the game and the second field is student name and click join btn .

    So in this way create 2 student that will join the game . Now when the total peer count is 3 then go to the teacher screen where the 4 digit pin is generated click the play btn down the pin. Now the game starts and turn goes to the first peer.

    So please help me to find out the issue that why this game is not working on ipad or android devices.

    Regards,

    Raghvendra

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • blackhornet Thanks your solution worked in my case. But what happen if the player is getting 0 score then it is not showing the player score and name if i have only 3 player the one has scored and other has not scored any number.

  • Kindly please take a look,

    Hi I am creating a multiplayer game, where i have an array named ary_marks which is a 2d array.At the ary_mark x position i am putting the player marks and at the y position i am putting the player name.So when the game is over i am looping the ary_marks foreach at xy and comparing the 3 highest values which gives me the correct answer. In the same above loop where i am comparing the values to find the largest 3 values i am also fetching player name in all 3 conditions using ary_mrk.At(ary_mrk.CurX,1) . But sometimes it gives me the name and some time it is not.

    I really dont understand why this is happening.

lappi357's avatar

lappi357

Member since 7 May, 2018

None one is following lappi357 yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies