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

asked May 15 in Projects by Blooobird (15 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.

answered May 16 by TheLoraxPl (24 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 How to use this Q&A? before posting your first questions.