A React Native app showcasing some examples using the lightweight react-native-game-engine library.
git clone https://github.com/bberak/react-native-game-engine-handbook.git
cd react-native-game-engine-handbook
npm install
react-native link
react-native run-ios
Use
react-native run-ios --configuration Release
for release build (better performance).
git clone https://github.com/bberak/react-native-game-engine-handbook.git
cd react-native-game-engine-handbook
npm install
react-native link
# Download Android NDK version r15c from https://developer.android.com/ndk/downloads/index.html
# Unzip the the NDK into /usr/local/share/android-ndk-r15c
# IF you unzip into a different location, update the android/local.properties file with the correct path
react-native run-android
Installing a release build on an Android device is slightly more involved (requires signing). See running on device for details.
The Handbook app will be updated with new examples and content from time to time - so make sure you do a git pull
every now and then to get the latest and greatest.
If you've created an interesting example, scene or even want to contribute (or start) a chapter - please get in touch and we'll get your ideas merged into the master branch.
MIT License
Copyright (c) 2017 Boris Berak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.