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 eff6fb9a89 Pass AAssetManager explicitly před 11 roky
bin 44a9d75901 Add premake4 binaries před 11 roky
engine eff6fb9a89 Pass AAssetManager explicitly před 11 roky
exporters 4c6753b2c3 Use pixels for regions in sprites před 12 roky
premake a84c01113c Reorganize os stuff prior to next move před 11 roky
samples db59ac2ff5 Delete CMake stuff před 11 roky
third 63e3d8966d Update bx and bgfx před 11 roky
tools f005af0a38 replace '+=' with '=' před 11 roky
utils fe899723c0 Reorganize third folder před 11 roky
.gitattributes b52970d768 Build luajit from makefile před 11 roky
.gitignore b52970d768 Build luajit from makefile před 11 roky
.gitmodules b951f08d02 Add bgfx and bx to third před 11 roky
COPYING.txt 007af36927 update license před 11 roky
Doxyfile.doxygen 02bc926e82 Fix documentation build před 11 roky
README.md b242206c47 Update README.md před 11 roky
makefile 7802811088 Merge branch 'master' into bgfx před 11 roky

README.md

Lightweight, cross-platform game engine that tries to Keep It Simple.

##What is it?

Lightweight cross-platform game engine. You can write games in Lua and/or C++ for Linux, Android and Windows with it.

##Y u do dis, there's UE4 for 19$ a month.

Because it's fun.

##Dependencies

Crown Engine depends on a number of third-party libraries. Some of them, like luajit, are included in this SDK, so you do not need to worry too much. However, some other libraries are not included due to their excessive size or for some other particular reasons. In order to be able to successfully build the engine, you have to install and/or properly configure the following packages:

Linux:

  • Xlib
  • Xrandr
  • nVidia PhysX 3.3.0+

Windows:

Android:

  • Android NDK and SDK
  • nVidia PhysX 3.3.0+

##Building

The steps required for building the engine in a default and pretty safe manner are summarized below for each supported platform. All the commands and/or operations must be performed in the root directory of the project (i.e. the same as this file):

Linux:

$ export CROWN_INSTALL_DIR=/path/to/install/dir
$ export PHYSX_SDK_LINUX=/path/to/physx/sdk
$ make <CROWN_LINUX_BUILD> 

'CROWN_LINUX_BUILD' valid values are:

  • linux-debug32
  • linux-development32
  • linux-release32
  • linux-debug64
  • linux-development64
  • linux-release64
  • linux

Windows:

export CROWN_INSTALL_DIR=/path/to/install/dir
export PHYSX_SDK_WINDOWS=/path/to/physx/sdk
make.exe <CROWN_WINDOWS_BUILD>
Open the generated Visual Studio solution and build/install from there

'CROWN_WINDOWS_BUILD' valid values are:

  • windows-debug32
  • windows-development32
  • windows-release32
  • windows-debug64
  • windows-development64
  • windows-release64

Android:

$ export CROWN_INSTALL_DIR=/path/to/install/dir
$ 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
$ make <CROWN_ANDROID_BUILD>

'CROWN_ANDROID_BUILD' valid values are:

  • android-debug
  • android-development
  • android-release
  • android

##System requirements

In order to be able to run the engine, no particular configurations are needed:

Linux:

  • 32/64-bit distribution
  • x86/x86_64 CPU
  • The latest driver for your GPU (OpenGL >= 2.1)

Windows:

  • 64-bit Windows version (Windows 7+)
  • x86_64 CPU
  • The latest driver for your GPU (OpenGL >= 2.1)

Android:

  • Android 2.3.3+
  • ARMv7 CPU
  • OpenGL|ES 2 compatible GPU

##Examples

When running a sample you current directory has to be <install-path>/bin. To run a sample:

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

###01.hello-world

Engine initialization and shutdown.