Skip to content
/ castle Public
forked from ncannasse/castle

A structured database with a local web service to edit it

License

Notifications You must be signed in to change notification settings

yjpark/castle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CastleDB

A structured database and level editor with a local web app to edit it.

Why

CastleDB is used to input structured static data. Everything that is usually stored in XML or JSON files can be stored and modified with CastleDB instead. For instance, when you are making a game, you can have all of your items and monsters including their names, description, logic effects, etc. stored in CastleDB.

How

CastleDB looks like any spreadsheet editor, except that each sheet has a data model. The model allows the editor to validate data and eases user input. For example, when a given column references another sheet row, you will be able to select it directly.

Storage

CastleDB stores both its data model and the data contained in the rows into an easily readable JSON file. It can then easily be loaded and used by any program. It makes the handling of item and monster data that you are using in you video game much easier.

Collaboration

CastleDB allows efficient collaboration on data editing. It uses the JSON format with newlines to store its data, which in turn allows RCS such as GIT or SVN to diff/merge the data files. Unlike online spreadsheet editors, changes are made locally. This allows local experiments before either commiting or reverting.

Download

Windows x64

http://castledb.org/file/castledb-1.5-win.zip

OSX x64

http://castledb.org/file/castledb-1.5-osx.zip

NWJS Package

http://castledb.org/file/package-1.5.zip

To run the package, download http://nwjs.io and put package.nw into the nwjs directory

Compile from sources:

  • Compile with Haxe
  • Download and copy NWJS from http://nwjs.io into the /bin/nwjs directory
  • Run bin/cdb.cmd on windows or ./nwjs/nwjs from /bin directory on Linux/OSX
  • Enjoy!

To re-compile please install https://github.com/HaxeFoundation/hxnodejs

More info

Website / documentation: http://castledb.org

About

A structured database with a local web service to edit it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haxe 43.0%
  • JavaScript 41.2%
  • CSS 8.6%
  • HTML 7.2%