Level Database for procedural generation?
I was reading different approaches to procedural level generation, while reading how the Dead Cells developers achieved it using a tool called CastleDB I noticed how useful it could be for a project in which I'm currently working on.
Alas I couldn't find anything on how CastleDB could be used with Unity. Does anyone know any how to implement a CastleDB database in unity or any similar alternatives to it ?
Answer by SamCropper · Jan 17, 2018 at 07:17 PM
Same, I just found out about it today and it looks like exactly what I'm after. Trying to work out how to use it now, if I work anything out I'll let you know.
EDIT: The information you enter is stored as JSON. Cahnge the extension from .cdb to .json, then open it with a text editor to see it in JSON form. Then it's just a chase of using it as you would any other JSON with Unity.
Really?!
That seems awfully convenient!
I'll give it a shot :) !
I've been searching for a way of pulling off a project for ages and happened to stumble upon CastleDB yesterday which provides everything I'm after (and way more). I'm only using it for storing character information, not so much the level generation side of things.
Since I'm here I may as well ask: have you used JSON with Unity before? If so, what do you use? I've heard bad things about Unity's JSONUtility. I'm a noob so I have no idea.
Answer by gamefish · Sep 15, 2018 at 03:46 AM
And now you have it! http://gamasutra.com/blogs/KyleKukshtel/20180820/324272/Beyond_Scriptable_Objects_Unity_Data_Management_with_CastleDB.php
Your answer
Follow this Question
Related Questions
Infinite Top Down 2D Procedurally Generated Terrain (Help) 0 Answers
How do you make a random 2D shape in Unity? 0 Answers
How do I make a game like line zen style 0 Answers
On 2D TOPDOWN RPG on the depth of sprites and players 0 Answers
Script for keeping background from moving and inputs for buttons 2 Answers