Lightweight and flexible cross-platform game engine. ===== [![Build Status](https://travis-ci.org/taylor001/crown.svg?branch=master)](https://travis-ci.org/taylor001/crown) [![Build status](https://ci.appveyor.com/api/projects/status/dabkwdxjr456hl52?svg=true)](https://ci.appveyor.com/project/taylor001/crown) ##What is it? It is a general purpose data-driven game engine, written from scratch with a minimalistic and data-oriented design philosophy in mind. It is loosely inspired by Bitsquid (now Stingray) engine and its design principles; the current Lua API is similar to that of Bitsquid but this engine is *not* meant to be its clone *nor* to be API compatible with it. It is written in [Orthodox C++](https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b). ##Supported platforms * Android (14+, ARM) * Linux * Windows ##Documentation Lua API: http://taylor001.github.io/crown/lua_api.html C++ API: http://taylor001.github.io/crown/doxygen/modules ##Screenshots [WIP] Level editor. ![level-editor](https://raw.githubusercontent.com/taylor001/crown/master/docs/shots/level-editor.png) [WIP] Node editor. ![node-editor](https://raw.githubusercontent.com/taylor001/crown/master/docs/shots/node-editor.png) ###[00-hello-world](https://github.com/taylor001/crown/tree/master/samples/00-hello-world) Engine initialization and shutdown. ###[01-physics](https://github.com/taylor001/crown/tree/master/samples/01-physics) ![01-physics](https://raw.githubusercontent.com/taylor001/crown/master/docs/shots/01-physics.png) ##Building ### Getting source $ git clone https://github.com/taylor001/crown.git $ cd crown $ git submodule init $ git submodule update ### Prerequisites ### Prerequisites for Android Android NDK (https://developer.android.com/tools/sdk/ndk/index.html) $ export ANDROID_NDK_ROOT= $ export ANDROID_NDK_ARM= ### Prerequisites for Windows GnuWin32 make (http://gnuwin32.sourceforge.net/packages/make.htm) GnuWin32 coreutils (http://gnuwin32.sourceforge.net/packages/coreutils.htm) GnuWin32 libiconv (http://gnuwin32.sourceforge.net/packages/libiconv.htm) GnuWin32 libintl (http://gnuwin32.sourceforge.net/packages/libintl.htm) ### Building $ make Configuration is `-[arch-][32|64]`. E.g. linux-debug64, linux-development64, linux-release64, android-arm-debug, windows-debug32 etc. ##Samples To run a sample on 64-bit linux debug mode: $ cd build/linux64/bin $ ./linux-debug-64 --source-dir --bundle-dir --compile --platform linux --continue Contact ------- Daniele Bartolini ([@aa_dani_bart](https://twitter.com/aa_dani_bart)) Project page: https://github.com/taylor001/crown Support ------- I'm an independent developer and your contributions are invaluable to me. If you like the work I do, please consider supporting Crown development by means of a small contribution. I'm also available for hire to work on or with Crown or somewhat related technologies/projects. [![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6FQMPUQQ8KQKW) Contributors ------------ In alphabetical order. Michele Rossi ([@mikymod](https://github.com/mikymod)) Simone Boscaratto ([@Xed89](https://github.com/Xed89)) License ------- Copyright (c) 2012-2016 Daniele Bartolini and individual contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.