How do I create login system?

  • i was building a game i want player to create account and login and the player name appear in the game and if possible the player load money to play premium level in the game, and money will activate in the game, and as the player playing the game money reduce till fade so i want to integrate pay stack API i d don't know anything im new to construct 2 and i find this software strong like unity game engine i love it so much i don't know if this will work out and also create the login screen with authentication will this be possible pls i need advice and tutorial any help will be strongly appreciate

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In general you will need backend mechanics. There are three routes to achieve this:

    1. Get a hosting server and write your own backend in php, mysql etc.

    2. Get a hosting server and a self-hosted backend system (such as Parse Server).

    2. Get a backend-as-a-service thing that handles all technicalities and lets you send/receive data using Construct's actions. Google Construct Firebase.

    Route 1 can easily amount to more work than the game itself, and it will be very hard to to make it secure, reliable, scalable etc. so you can skip it upfront. Route 2 will also require skill and then you will need to use third party plugins or JS. So the best option is to use route 3 to create an online database for storing users and then create a system of sign-up/sign-in within your game.

    Just a heads up: this is an undertaking that still can prove more cumbersome than coding the actual game.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)