Hi,
I am building a client/server based android game with LibGDX and Kryonet extension. The server will only be run in desktop mode, maybe i'll even setup the server completely loose from libGDX/android if that is possible with Kryonet. Anyway, i'm looking and weighing my options for a system to track player data, from login credentials to message logs and collections to player status.
Only the server side will communicate with the database directly. Kryonet supports http requests so i could setup a PHP script that communicates with the database and posts back data. But there must be a better more direct way I think. Is it possible to setup somekind of DB and sent/receive queries directly to/from the database.
- Plus points if this works with libgdx, since i have my server side working already in the LibGDX environment i would prefer to do it this way.
- I have a lot of experience with MySQL, so a SQL based solution is probably better. I don't know how much other DB's defer from SQL though.
Any input is welcome, if you think it would be common sense to just write binary data to disk to store stuff then say so. It is my first client/server game and i want to make it a success, just this storing of data gives me headaches.