Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


- - - - -

Persistent Data/Database Interface


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 rasteron   Members   -  Reputation: 128

Like
0Likes
Like

Posted 12 April 2013 - 10:46 PM

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



Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3416

Like
0Likes
Like

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,


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

#3 rasteron   Members   -  Reputation: 128

Like
0Likes
Like

Posted 15 April 2013 - 09:31 PM

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.



#4 Andreas Jonsson   Moderators   -  Reputation: 3416

Like
0Likes
Like

Posted 16 April 2013 - 01:14 PM

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

#5 rasteron   Members   -  Reputation: 128

Like
0Likes
Like

Posted 18 April 2013 - 07:20 AM

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.



#6 Andreas Jonsson   Moderators   -  Reputation: 3416

Like
0Likes
Like

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


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

#7 rasteron   Members   -  Reputation: 128

Like
0Likes
Like

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.

 

Ron


Edited by rasteron, 22 April 2013 - 08:42 PM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS