• Stars
    star
    559
  • Rank 79,673 (Top 2 %)
  • Language Haxe
  • License
    ISC License
  • Created about 12 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A structured database with a local web service to edit it

CastleDB

Important Note: CastleDB editor has been rewritten to be integrated with HIDE. Castle library is still being developped but the editor here is legacy.

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

More Repositories

1

webidl

Haxe support for WebIDL
Haxe
90
star
2

hxsl

Haxe Shader Language, a high level 3D shader language for Haxe
Haxe
86
star
3

ld24

24th Ludum Dare compo entry. Theme : "Evolution"
Haxe
85
star
4

ld40

Ludum Dare 40 - Theme : "The more you have, the worse it is"
Haxe
58
star
5

hxWiki

Haxe Wiki/Blog/Forum CMS, used by haxe.org
Haxe
39
star
6

hxsdl

SDL Bindings for Haxe/CPP
Haxe
38
star
7

hss

High Level CSS preprocessor
Makefile
28
star
8

ld32

Ludum Dare 32 - Theme "An Unconventional Weapon"
Haxe
28
star
9

hlos

A toy operating system for HashLink VM
Haxe
27
star
10

dbadmin

Database Admin interface for Spod Macros
Haxe
25
star
11

archives

Old sources, for historical/nostalgic purposes
C
21
star
12

ld28

Ludum Dare #28 Entry "You only got one" theme
Haxe
20
star
13

templo

Templo is a powerful template engine for Haxe
Haxe
19
star
14

physaxe

2D Physics Engine for Haxe
Haxe
19
star
15

xml-light

fork of Xml-light
OCaml
18
star
16

mtasc

AS2 compiler
OCaml
16
star
17

ld22

LudumDare #22 compo : a game made alone in 48 hours
Haxe
15
star
18

hxslides

HTML5 Slideshow for Haxe Presentations
HTML
14
star
19

ld37

Ludum Dare 37 - Theme: "One Room"
Haxe
13
star
20

hxods

Small Open Office ODS parsing and data extraction library
Haxe
11
star
21

ld25

Ludum Dare 48h #25 Compo - Theme is "You are the Villain"
Haxe
11
star
22

ld23

Ludum Dare 23 competition sources, theme = TinyWorld
Haxe
10
star
23

markaxe

Customizable markup-to-Html parser/formater library
Haxe
9
star
24

hxtasks

Task Manager in Haxe
JavaScript
8
star
25

neko2ml

A try to compile neko bytecode to native OCaml for potential speedup
OCaml
7
star
26

ld27

LudumDare 27 - Theme "10 seconds"
JavaScript
5
star
27

sheeter

Split sprite sheets, edit and preview animations
Haxe
5
star
28

hxpad

GamePad support for Haxe
C++
5
star
29

screenweaver-hx

Automatically exported from code.google.com/p/screenweaver-hx
C
4
star
30

hxchrome

Chrome Embedded Framework for Haxe
C
4
star
31

ld30

LudumDare 30 - Theme "Connected Worlds"
Haxe
4
star
32

hltml

HL Partial HTML Emulation in Domkit
Haxe
4
star
33

hxtml

Haxe HTML/CSS parser and renderer
Haxe
4
star
34

haxevideo

FLV streaming server
Haxe
4
star
35

xcross

Statically linked version of neko+std for cross compilation
C
2
star
36

labs

Random experimental stuff
Haxe
2
star
37

haxe3d

Flash10 3D engine (outdated)
Haxe
2
star
38

ld31

Ludum Dare 31 - Theme "Entire Game on One Screen"
Haxe
2
star
39

mongodash

MongoDB Dashboard Manager
Haxe
1
star
40

ld38

Theme : "A Small World"
Haxe
1
star
41

scripts

various scripts
JavaScript
1
star
42

ncannasse.github.io

Pages
1
star