Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Pulling data from every user in the playerbase.

A topic by KevEatsCheese created Aug 02, 2023 Views: 319 Replies: 4
Viewing posts 1 to 3

Hello Everyone. I'm working on a game called Haunt: https://keveatscheese.itch.io/haunt

In this game, you can build a haunted house and upload it to the internet. You can then go online and play through a random haunted house. I need some way to get a random base from the internet. I have the data formatted how I want it, I just need to figure out where to store it so that it is easily retrievable for all clients.

(+1)

If you only need a random blob storage (no database) you can buy it very cheap at any cloud provider. For instance 1GB blob storage on azure costs 0.02$ per month. You can make this readable by anyone. But if you want your players to upload data themselves you will need some form of authentication (i.e. some server application).

(+1)

I would put both reading and writing behind one highly restrictive layer, say an HTTP server, which would expose two endpoints: “get random mansion” and “upload mansion”. The latter would also authenticate the user through Itch’s API.

Letting random anonymous people upload mansions is a one-way ticket to getting your server/database shutdown.

Hey thanks for responding. You talked about using Itch's API for authentication. Currently I have things set up to authenticate the player via UnityPlayerAccount, that would be fine too right?

(+1)

Both should be fine.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.