qicai11's Forum Posts

  • 4 posts
  • here is my solution, it might be totally wrong though:

    i use mysql as database, it stores everthing i want, like player name. nick name,birthday, or something else.here is a pic of one of the database table, sorry i need hide something

    [attachment=1:1mwwaqo9][/attachment:1mwwaqo9]

    i use php to write my login and verification, if user login, use session to keep the login status.

    set login redirect to your game url, so it acts like after login you can play.

    now after loading the game, use ajax to read another php page, that page check the session, if user logged in already, it grab some information and echo as text message. if not logged in, user browser function to redirect to login page

    some gloable variable to save those messages in your game

    [attachment=0:1mwwaqo9][/attachment:1mwwaqo9]

    tell me if you get better idea

  • Thank you ashley

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sorry i am a noob, i am trying the multiplayer plugin, its awesome, but here is my problem, how can i make it work among different layouts? seems need reconnect everytime my character goes to another layout.

  • Problem Description

    ____ A concise description of your problem here ____

    i updated to the new beta version, found the "set mirrored" action not work anymore,

    Affected Browsers

      [yes] Chrome: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    windows7 32bit

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

    r-167.2

  • 4 posts