A complete and cross-platform game engine designed for flexibility, performance, and fast-iterations.

url: www.crownengine.org

Topics:
#windows #linux #gamedev #lua #game-engine #data-oriented-design #data-driven #game-development #3d #2d

Daniele Bartolini fd642f41a9 Use setjmp based scheme to handle errors when compiling data há 10 anos atrás
docs 8c229cdfc6 Update docs há 10 anos atrás
exporters e9e3df2c86 Cleanup há 10 anos atrás
genie b3219b09a1 Rename build folder há 10 anos atrás
samples 620e3d41ae Update sample há 10 anos atrás
src fd642f41a9 Use setjmp based scheme to handle errors when compiling data há 10 anos atrás
third 5808ffbfd9 Update BX and BGFX há 10 anos atrás
tools 4079c4a121 Add tools há 10 anos atrás
.editorconfig 4c94e4cd7d Update .editorconfig há 10 anos atrás
.gitattributes 39d0e42133 Update .gitattributes há 10 anos atrás
.gitignore 4079c4a121 Add tools há 10 anos atrás
.gitmodules 89303fdf2d Add bgfx submodule há 11 anos atrás
LICENSE b574afca12 Update copyright notice há 11 anos atrás
README.md 7d26dc0628 Update README.md há 10 anos atrás
makefile b3219b09a1 Rename build folder há 10 anos atrás

README.md

Lightweight and flexible cross-platform game engine.

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 Flattr

##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.

##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/

##Screenshots

TCP/IP console with autocomplete and color-coded output highlighting.

console

[WIP] Node editor.

node-editor

##Dependencies

PhysX 3.3.2+ (https://developer.nvidia.com/physx-sdk)

##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=<path/to/android_ndk>
$ export ANDROID_NDK_ARM=<path/to/android_ndk_arm>
$ export PHYSX_SDK_ANDROID=<path/to/physx_sdk>

Prerequisites for Linux

$ export PHYSX_SDK_LINUX=<path/to/physx_sdk>

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)

$ setx PHYSX_SDK_WINDOWS <path/to/physx_sdk>
$ setx DXSDK_DIR <path/to/dxsdk>

Building

$ make <configuration>

Configuration is <platform>-<debug/development/release>[32|64]. E.g.

linux-debug64, linux-development64, linux-release64, android-debug, windows-debug32 etc.

Documentation

Prerequisites

Doxygen (http://www.doxygen.org)
Docutils/reStructuredText (http://docutils.sourceforge.net)

Building

$ make docs

##Samples

When running a sample your current directory has to be build/<platform[32|64]>/bin. To run a sample on 64-bit linux debug mode:

$ ./linux-debug-64 --source-dir <full/sample/path> --bundle-dir <full/destination/path> --compile --platform linux --continue

###01.hello-world

Engine initialization and shutdown.

Contact

Daniele Bartolini (@aa_dani_bart)

Project page: https://github.com/taylor001/crown

Contributors

In alphabetical order.

Michele Rossi (@mikymod)
Simone Boscaratto (@Xed89)

License

Copyright (c) 2012-2015 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.