I'm working on a game that uses angelscript as its scripting language. Is there any way to interface database functionality like persistent game data aside from the file object? (MySQL, Sqlite3 etc..)
Jump to content
Posted 13 April 2013 - 02:33 PM
The is no pre-made implementation at this moment. But I'm sure it wouldn't be too difficult for you to implement something,
Posted 15 April 2013 - 09:31 PM
Thanks for getting back. I like angelscript's syntax, like c/c++. Unfortunately, I'm still new to it and have no clue where to start or how it works, plus it's integrated tightly to the engine I'm using so creating some tests has been difficult.
Posted 16 April 2013 - 01:14 PM
Posted 18 April 2013 - 06:36 PM
I'm afraid I can't help much. I know of Urho3D, but I haven't had any time to play around with it myself.
AgentC here at GameDev.net is the author of Urho3D. I suggest you reach out to him. He should be able to point you in the right direction on how to expose an API to the script that will allow the scripts to have access to a database. Maybe if you're lucky Urho3D already has this support.
Posted 22 April 2013 - 08:42 PM
Ok no worries, thanks anyways. Yes, I'm currently in contact with him as I'm an active member of Urho3D groups forum. As I have mentioned, I'm new to creating wrappers yet alone integrating it both on engine and the scripting system (Angelscript) being used.
More power on this project.
Edited by rasteron, 22 April 2013 - 08:42 PM.