Code Monkey home page Code Monkey logo

castle's Introduction

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:

1. Install Prerequisites

2. Build castle.js

  • Clone this repository
  • At the root of the repository folder run haxe castle.hxml
  • This will create castle.js file in the bin folder

3. Package or Run with NWJS

  • Download and copy NWJS from http://nwjs.io into the bin/nwjs directory
  • Run cdb.cmd on windows or nwjs/nwjs from bin directory on Linux
  • On OSX, you need to copy all bin files into bin/nwjs.app/Contents/Resources/app.nw folder, then open the NWJS application

More info

Website / documentation: http://castledb.org

castle's People

Contributors

ncannasse avatar yanrishatum avatar trethaller avatar pperidont avatar deepnight avatar epono avatar thomasjwebb avatar afaur avatar dkolyesnik avatar kevinresol avatar markknol avatar mcapdegelle avatar chanon avatar

Watchers

ternence avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.