savvito123's Recent Forum Activity

  • You do not have permission to view this post

  • Just talking to my self :/

    I try a lot of disconnection compination.

    But everytime when a peer leave i get this error.

    Im doing something wrong?

  • Here are some errors i get if anyone know what this are and want to help.

  • Hello,

    4 players join and wait 10 seconds for the game to start.

    If 2 players leave before the 10 seconds and join back , sometimes the system not create their players and the game starts but the players are missing.

    Short video show my issue.

    dropbox.com/s/a0eulyaws7jf9q0/screen-capture%20%2829%29.mp4

    My question is, this is normal to happen or is something wrong from my part?

  • Using filechooser and ajax plugins.

    User using filechooser choose a picture and with ajax send it to database.

    Other users retreive the database and can see the picture.

    My database picture row is set to text and right now users can store Facebook URL and show it to everyone get the database.

    So how i can send a picture from filechooser to database?

  • I didnt use mysql before so i dont know the differnces, I just remember i watch some tutorials with mysqli (not the one you watch) and didnt work. After that i read how to update from mysql to mysqli and the codes start working.

  • MySQL is the old database driver, and MySQLi is the Improved driver. The "i" stands for "improved" so it is MySQL improved. MySQLi can be done procedural and object-oriented whereas MySQL can only be used procedurally. Mysqli also supports prepared statements which protect from SQL Injection

    I remeber i was trying for something with sql but didnt happen , after i change to sqli worked.

  • Its n action and its execute at any way.

    If you check in debug mode you will see that if you typewrite "hello world" in 5 seconds , at next click the text is "hello world" and not "h".

    If you want to stop the typewritting on timescale = 0 just set the text to spritefont.text but then when you set the timescale to 1 you have to re-typewritting from start.

    I didnt found any way to continue the typewritting.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When i was reading last year for this i found out that you need mysqli instead of mysql.

    I have some leaderboards running in my games and i gave an answer to this topic if it helps you

    construct.net/en/forum/construct-3/how-do-i-8/implement-fb-instant-game-156652

  • Not necessary to be in one layout.

    At "menu" layout just send the players to the "game" layout with not involve multiplayer connection.

    When a player navigated to the "game" layout connect him to the signaling server.

    After that logged in him with an alias.

    And finally on logged in join him to a room.

    So everything has to deal with multiplayer object connection must done at "game" layout.

    Thats all.

  • Players and peers are the same thing.

    How many players can join the room?

    Do you navigate players to another layout for start game or in the same layout the start button is?

    Multiplayer is too complex,its not only to send some players at same room.

  • Thank you guys...

savvito123's avatar

savvito123

Member since 6 Dec, 2017

Twitter
savvito123 has 2 followers

Trophy Case

  • 7-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies