How do I load file from database(don't know about any database)?

0 favourites
  • 3 posts
From the Asset Store
Basic Plugins for Firebase Authentication, Realtime-Database, Firestore, Cloud Storage
  • hii everyone i am making a quiz game i am trying to make a game which load all of its questions from any database or server (which make game lite and load fast other than all the questions in form of text file in game).

    thanks for suggestions

    Tagged:

  • (which make game lite and load fast other than all the questions in form of text file in game).

    Not actually true, since you are downloading the content from an external source instead of having already your content contained in your game.

    Moreover unless you do have a text file of hundred of megs (and even in this case, this is still quick), text data won't be what makes your game "heavy" or "load slow".

    Anyway, to make an actual quiz game, there is a quiz template contained in Construct, you can find it in the Start page in the Templates category.

    Then in order to communicate with a distant server, use the AJAX plugin.

    You can find examples of implementation in the how do I FAQ for C2, look for "AJAX" in the page.

    If you are not familiar with building and maintaining an external server, possibly consider embedding your content directly in the game instead of going the more complicated route of external hosting which possibly has no added advantage.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • how do i make cross domain ajax request

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