- Home /
Loading new missions for RPG from SQL Database
Hey all,
We're currently in the development stages of making an RPG that will query a SQL Database and search for new missions/quests.
Has anybody had experience in adding new content for a game from a server/database in unity? I'm not worried about connecting to the database or pulling information, but what about taking the data from the server/database and turning them into in-game missions?
I was thinking about using a C# class pattern to construct the missions from the data and instantiate the NPCs and objects needed.
Is this a good idea? Any comments or concerns would be appreciated.
Answer by Borgo · Jan 07, 2011 at 10:04 PM
Maybe this can help:
You can access pages in Unity with the WWW class
http://unity3d.com/support/documentation/ScriptReference/WWW.html
Maybe you can make some pages in PHP or ASP and Post data by this class. This class can also retrieve information in the page.
Your answer
![](https://koobas.hobune.stream/wayback/20220613094519im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
php, sql security 3 Answers
can firebase real-time database be used on a pc standalone game? 0 Answers
Storing data on a server to be used for player currency in a multiplayer game 1 Answer
How do I go about using a server to store and retrieve data? 0 Answers
Accessing a database though $_GET 1 Answer