- My own game engine project. Code once, build for both Windows and Android.
- Relavant game engine source codes are in
{repo_root}/engine
.
- Sungmin Woo, An University Sturent
- woos8899@gmail.com
- All the C++ codes for game are here.
- Git submodules are here.
- You shouldn't touch anything inside it.
- Some submodules does not include CMakeLists.txt so I make ones myself.
- Those CMakeLists.txt are here.
- Android Studio project to build apk to run on Android platform.
- It contains some java codes to define some Android views.
- It uses C++ codes in
{repo_root}/engine
via CMake.
- Resource files such as 3D models, images, texts, fonts are here.
- WASD : Horizontal movement
- Keyboard arrows : View direction
- Mouse click AND drag (not OR) : Same as touch control on phones, which controls view direction.
- White point on lower left side of the screen : D-Pad
- Rest of the screen : View direction
- Clone this repo with
--recurse-submodules
option like below. git clone --recurse-submodules -j8 https://github.com/SausageTaste/Little-Ruler
- Install python interpreter and add it to PATH environment variable. (GLAD lib requires it)
- Open
{repo_root}/LittleRulerAndroid
folder on Android Studio and just click build.
- Build
{repo_root}/engine/LittleRulerWindows/CMakeLists.txt
with CMake. - I only tested on Visual Studio 2019 and mingw-w64 8.1.0.
- I don't know why but you need to do
Build Solution (F7)
several times or see error message saying "zlibstatic is not found".
Windows | Android | |
Render | OpenGL 3.0 | OpenGL ES 3.0 |
Window Creation | GLFW | Java GLSurfaceView |
Filesystem | Windows API | Android Asset Manager and std::fstream |