Game Backends?
Hi!
Looking for opinions on "game backends" my understanding is everyone used PlayFab or Firebase (or no backend at all)?
Also how many people would be interested in a free local and cheap cloud service with a rules engine simple formulas (like health = health - 10) or other basic state that can also affect other users all at once (with say a condition like location = 123)? Is this something anyone would be interested in and is it a painful problem for you (backend for your game, do you avoid making multiplayer games because its not worth making a backend for it, etc.)?
Thanks!
About this post
- Posted
- Archived
- Score
- 0 · 10% up
- Kind
- Text
- ID
- 1pgpr49
20 comments
Another hilarious thread.
15 years in games and I don't understand the OP.
?
What you are describing isn't really enough to be a full product.
I'm not sure how you would make it free if it was sufficient enough to be a product either without pumping in VC cash like Playfab did.
It will be released as free (free for commercial and personal use) except for managed hosting (that will be us). We have alternatives to VC cash.
I'm confused, what part is free and what part is paid?
Just build your game backend in rust and deploy to digitalocean
What you describe would not be helpful no
Yes, we are looking at multiple distribution channels like Docker, Tauri, npm package and so on
EDIT: Sorry also Godot/Unity/Unreal plugins as well depending on what the market likes
Im so confused with the mixture of local and cloud.....
Do you mean "local" to my City? Or local like in my own computer (in which case ir won't be cloud anymore) ?
Ahhh, new account, no karma, NVM, proly a script kiddie then.
I think OP meant "free to self-host (aka local), affordable SaaS"
Yes, running locally for yourself (or packaged in your own binary we are thinking of a Tauri starter with pglite as the embedded database) will be free forever with no limits. We think that is fair and solves a lot of problems for us with adoption (what if they are gone in a few years, what if it dies, etc.)
Ah that makes sense, selfhost would have been easier to understand.
Gonna stop you right there.
There is a good way to make rules engines like this. The good way is to use a programming language, and to write the code yourself. A programming language like C#, Java, Go, Rust, or one of the other languages suitable for writing backends.
There are a lot of bad ways to do this. Some of the bad ways to do this are to try and make some kind of web app, configuration file, graphical interface, or node-based system. Or a rules-based engine, for that matter.
What ends up happening with rule-based engines is that you discover, after painful experimentation, that you have basically reinvented programming, but not as good. The problem is that you quickly end up with more and more complicated rules with conditions and triggers. Programming languages are the main way that people are comfortable writing complicated rules, conditions, and triggers.
Yes, we are being very careful to avoid the "reinventing programming language" issue. It will not be Turing complete or anything near that, and will have escape hatches for the edge cases our DSL won't cover. We are developing the rules engine in TypeScript and the source will be available and very high unit and other test coverage.
Generally the idea is to create a declarative over imperative paradigm. You're going to say functional programming, but functional programming is a hill to climb. Basically we are looking at making a product like Terraform or React, but for backend logic (describe what you want, not how to do it). It is a very interesting little project / product that may have a very limited use case (or only useful for us) but we will be making it regardless.
Declarative is a much higher hill to clime than functional, for sure :-)
I’m very skeptical. Declarative barely works for situations like Terraform in the first place (how much have you used Terraform?) and for something like a game backend, if I saw that it was based on declarative rules, I would be curious but incredibly skeptical. You have a lot of problems to solve, that you would not have to solve if you were writing ordinary code.
Having trouble understanding this post tbh