Sign in to follow this  
rasteron

Persistent Data/Database Interface

Recommended Posts

Hi,

 

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..)

Share this post


Link to post
Share on other sites

Hi Andreas,

 

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.

Share this post


Link to post
Share on other sites
Ah. I thought you were writing the game engine itself. Since that is not the case, you will have to consult the engine author. AngelScript will not allow you to do anything else than what the engine exposes through its script API. May I ask what game engine it is?

Share this post


Link to post
Share on other sites

Hi Andreas, yes I basically got a template but still new to the engine. Can you help? ;-) It's Urho3D, a nice lightweight engine. I know there are lots of discussion here at gamedev.

Share this post


Link to post
Share on other sites

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. :)

Share this post


Link to post
Share on other sites

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.

 

Ron

Edited by rasteron

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this