![]() To make things quickly, just enter the following on the SQL section and click OK. Navigate to the Schemas and finally Tables and right click on it. Next we select the existing postgres database and click on Edit > New Object > New Database and finally name the database gamerdb. Lets connect to an existing postgres database on Localhost. To make things simpler, we are going to use pgAdmin. Assuming you have Postgres installed with postgres as the root user let’s connect to the postgres server and create a sample database. I am using a Windows system while I am writing this tutorial. Create a Unity app that send data to store to the database and retrieve data from the database.The data will be displayed in the form of JSON. Create a Flask application where we can apply REST method to retrieve and store data to and from the database.Create a Postgres database on the LocalHost for use.Here is the checklist of things that we are going to do: Right now for this tutorial, we will create a localhost database and a webservice that will also run on localhost. However to make things more flexible and have control on how the data would be stored and how it would be maintained online, we are going to make a system, that will connect Unity game to a database using a Python webservice. Unity has its own PlayerPref library that can store player data. In some cases, we have games where we need to store various data into a database for future retrieval.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |