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
|
|
11 年之前 | |
|---|---|---|
| bin | 11 年之前 | |
| engine | 11 年之前 | |
| exporters | 11 年之前 | |
| premake | 11 年之前 | |
| samples | 11 年之前 | |
| third | 11 年之前 | |
| tools | 11 年之前 | |
| utils | 11 年之前 | |
| .gitattributes | 11 年之前 | |
| .gitignore | 11 年之前 | |
| .gitmodules | 11 年之前 | |
| COPYING.txt | 11 年之前 | |
| Doxyfile.doxygen | 11 年之前 | |
| README.md | 11 年之前 | |
| makefile | 11 年之前 |
##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:
Android:
Windows:
##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:
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=<install-path> -DCROWN_BUILD=<read-below>
$ make install
'CROWN_BUILD' valid values are:
Windows:
Create a folder named 'build'
Open a terminal and:
cd build
cmake.exe .. -DCMAKE_INSTALL_PREFIX=<install-path> -DCROWN_BUILD=<read-below>
Open the generated Visual Studio solution and build/install from there
'CROWN_BUILD' valid values are:
Android:
$ cd utils
$ ruby crown-android.rb --target <android-target> --name <project-name> --path <project-path> [--res <res-path>]
You can also use the GUI front-end of CMake which can, less or more, simplify the overall 'complexity' of building from the terminal.
##System requirements
In order to be able to run the engine, no particular configurations are needed:
Linux:
Windows:
Android:
##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
Engine initialization and shutdown.