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 87f529f267 Workaround android crash 11 ani în urmă
bin 44a9d75901 Add premake4 binaries 11 ani în urmă
engine 87f529f267 Workaround android crash 11 ani în urmă
exporters 4c6753b2c3 Use pixels for regions in sprites 12 ani în urmă
premake ac9e6e67a7 Update makefile 11 ani în urmă
samples 4741a6a99e Update hello world sample 11 ani în urmă
third 63e3d8966d Update bx and bgfx 11 ani în urmă
tools f005af0a38 replace '+=' with '=' 11 ani în urmă
utils fe899723c0 Reorganize third folder 11 ani în urmă
.gitattributes b52970d768 Build luajit from makefile 11 ani în urmă
.gitignore b52970d768 Build luajit from makefile 11 ani în urmă
.gitmodules b951f08d02 Add bgfx and bx to third 11 ani în urmă
COPYING.txt 007af36927 update license 11 ani în urmă
Doxyfile.doxygen 02bc926e82 Fix documentation build 11 ani în urmă
README.md b242206c47 Update README.md 11 ani în urmă
makefile ac9e6e67a7 Update makefile 11 ani în urmă

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.