Persistent Data/Database Interface

Started by
5 comments, last by rasteron 10 years, 11 months ago

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

Advertisement

The is no pre-made implementation at this moment. But I'm sure it wouldn't be too difficult for you to implement something,

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

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.

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?

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

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.

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

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

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

This topic is closed to new replies.

Advertisement