mirror of https://github.com/auygun/kaliber.git
readme
This commit is contained in:
parent
7c148d7555
commit
66990f26ba
|
@ -5,7 +5,7 @@
|
|||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "(gdb) Launch",
|
||||
"name": "Debug demo - Linux",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/out/debug/demo",
|
||||
|
@ -25,7 +25,7 @@
|
|||
"preLaunchTask": "Build project",
|
||||
},
|
||||
{
|
||||
"name": "C/C++: cl.exe build and debug active file",
|
||||
"name": "Debug demo - Windows",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}\\out\\debug\\demo.exe",
|
||||
|
@ -34,6 +34,7 @@
|
|||
"cwd": "${workspaceFolder}\\out\\debug",
|
||||
"environment": [],
|
||||
"externalConsole": false,
|
||||
"preLaunchTask": "Build project",
|
||||
}
|
||||
]
|
||||
}
|
18
README.md
18
README.md
|
@ -1,21 +1,20 @@
|
|||
# Kaliber
|
||||
|
||||
A simple, cross-platform 2D game engine with OpenGL and Vulkan renderers.
|
||||
Supports Linux and Android platforms.
|
||||
Supports Linux, Windows and Android platforms.
|
||||
This is a personal hobby project. I've published a little game on
|
||||
[Google Play](https://play.google.com/store/apps/details?id=com.woom.game)
|
||||
based on this engine. Full game code and assets are included in this repository.
|
||||
|
||||
## Pre-requisites:
|
||||
|
||||
**GN build system** is required for all platforms except Android (support for
|
||||
APKs, Java code etc. is to be added to the GN configuration). \
|
||||
Building GN from source:
|
||||
https://gn.googlesource.com/gn/ \
|
||||
Pre-built GN binaries:
|
||||
https://chrome-infra-packages.appspot.com/p/gn/gn/
|
||||
**GN build system** is required for all platforms except Android:\
|
||||
https://gn.googlesource.com/gn/
|
||||
|
||||
Linux is the supported host platform to build Android. **Gradle**,
|
||||
**Build Tools** is required to build for Windows. if you prefer, you can install
|
||||
**Visual Studio** which includes the **Build Tools**.
|
||||
|
||||
Linux is the supported host platform to build for Android. **Gradle**,
|
||||
**Android SDK** and **NDK** are required. If you prefer, you can install
|
||||
**Android Studio** which includes all the requirements.
|
||||
|
||||
|
@ -33,6 +32,9 @@ ninja -C out/debug
|
|||
./out/debug/hello_world
|
||||
./out/debug/demo
|
||||
```
|
||||
Building and debugging from VS Code:
|
||||
* Select "Debug demo - [platform]" from the "Run and Debug" drop down.
|
||||
* Press F5.
|
||||
### Android:
|
||||
```text
|
||||
cd build/android
|
||||
|
|
Loading…
Reference in New Issue