How do I >browser game<

0 favourites
  • 4 posts
  • [quote:208zoyoe]

    Hallo,

    ich habe mich eine Zeitlang im Forum umgesehen aber keine Lösung für mein Problem, bzw. meine Frage gefunden.

    Ich habe angefangen auf dem Papier und im Kopf ein Browsergame zu gestalten. Dabei bin ich auf ein Problem gestoßen über das ich mir so noch keine Gedanken gemacht hatte: der Server.

    Ich habe aktuell noch keinen Ansatz, wie ich die Handlungen der vielen Spieler über einen Server vereinen kann.

    In einem Singleplayer Spiel würde es reichen bestimmte Daten online von einem SQL Server zu lesen oder zu schreiben.

    Aber wie bekomme ich globale Aktionen umgesetzt?

    Angedacht war ursprünglich, dass einige Aktionen der User im 5 Minutentakt durchgeführt werden, z.B. Ressourcen Verteilung.

    Außerdem sollen natürlich Aktionen auch weiter laufen wenn der Spieler offline ist.

    [quote:208zoyoe]

    Hi,

    after I was searching for a while the forum and couldn’t find any solution for my problem, I’ll just ask my question here.

    I’ve started to design a browser game, beginning with some mind storming and working on paper. In the process I encountered a new problem I wasn’t thinking of before. The server.

    So far, I haven’t figured out any approach to handle the actions of all players on one server.

    In a single player game, it would suffice to read or write distinct data online of a SQL server.

    But how can I make global actions possible?

    The original idea was that some actions of the users were to be executed at 5 minute intervals, e.g. resource allocation.

    Of course, all actions should be continued while the user is offline.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Parse was a popular method before it became discontinued as a service (you can still set up your own parse server), and I believe Firebase has the same basic functionality. You can get plugins for these platforms.

    I don't have much experience with them myself so maybe someone else can give you more info or other suggestions.

  • [quote:1h4867hr]

    Danke ‘oosyrag’ für deine schnelle Antwort.

    Ich habe mir “firebase” mal grob angesehen, aber ich bin mir nicht ganz sicher wer nachher die Hoheit über den Server und die Daten hat. Ist es eine reine SaaS Anwendung?

    Ich habe noch einige Hinweise hier im Forum gefunden:

    AppWarp S2 Game Server

    • http://appwarps2.shephertz.com/

    Photon

    • https://www.photonengine.com/en-US/Photon

    SmartFox Server

    • http://www.smartfoxserver.com/

    appwarp

    • http://appwarp.shephertz.com/

    Ich selbst betreibe aktuell einen virtuellen Server mit einem Linux Betriebssystem und habe zum Testen auch einen smartfoxserver installiert. Allerdings fehlt mir das wissen im Umgang damit um ihn zu nutzen. Außerdem stellt sich mir immer noch die Frage, was ich in C2 umsetzen muss und was ich auf einem Server umsetzen müsste.

    [quote:1h4867hr]

    Thanks oosyrag for your quick answer.

    I was having a rough look at Firebase, but I’m unsure who will be in control of server and data in the end. Is it simply a SaaS application?

    I found some advice in this forum:

    AppWarp S2 Game Server

    • http://appwarps2.shephertz.com/

    Photon

    • https://www.photonengine.com/en-US/Photon

    SmartFox Server

    • http://www.smartfoxserver.com/

    appwarp

    • http://appwarp.shephertz.com/

    I’m running a Linux virtual server at the moment myself and installed a smartfoxserver for testing purposes. However, I don’t have the practical knowledge to really make use of it. In addition, I’m still asking myself which I’d have to implement by using C2 and which I’d have to run on a server.

  • Firebase is SaaS, basically a hosted database for its simplest use.

    I'm not familiar with the other services you linked, but generally speaking you'll need a plugin for C2 that will let you authenticate/log in to those hosted services and manipulate the data.

    If you are putting up your own server, I'd say again that Parse was very popular, and there are tutorials online about how to build your own parse server. Then you can use the Parse plugins that exist on the Construct 2 side.

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