The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

Hi.

I’m a complete beginner teaching myself Godot with their tutorials and YouTube because I’d like to make a football manager type game. But more of a focus on trading so no match engine just lots of data.

I was wondering if there are any tutorials out there that could help? Specifically how to set up the databases of players, teams etc and how they can be manipulated, buying and selling, training and development.

Any help or advice would be great.
Thanks

in Engine by (16 points)

1 Answer

0 votes

If you want to create online (multiplayer?) game, you can simply learn how to databases works, read about mysql queries.
here I found the way to connect Godot with DataBase: https://github.com/khairul169/gdsqlite
and when you have a database in server (there are some free hosts) you can decide how to build a trade system. For better performance you can create one table to UserNames and general user values (and their ID's as primary, auto-increment column), one for footballers (and their ID's, names, price, quality)
One for players available fotballers and connect the two db with inner join(idk if you know how to DB (MySQL) works).
If you are creating a singleplayer game it's better to use local data storage system, thats does not have to be local database.

by (32 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.