This distribution contains:
- for getting you startet developing android games.
- use maven to build, or download the jar file listed above.
- use gradle for setting up project in Android Studio
Features - Screenmanagement - Bitmaphandling (Sprite, buttons and text) - Soundmanagement - Physics (Box2d for 2D rigid body simulation) - Bitmapcaching
- simple examples of the usage of android-simple-gameapi
- Reversi Paper Blobs Free https://play.google.com/store/apps/details?id=com.machinegames.othello
- Reversi Paper Blobs https://play.google.com/store/apps/details?id=com.machinegames.othello.paid
- Raindrop https://play.google.com/store/apps/details?id=com.arconegames.raindrop
- Create folder
c:\git
and enter it - Pull the code from github
git clone https://github.com/jansoren/android-simple-gameapi.git
- Enter folder
c:\git\android-simple-gameapi
- Select the master branch
git checkout master
- Download Android Studio http://developer.android.com/sdk/installing/studio.html
- Import as Gradle project
- Done :)
- Enter folder
c:\git\android-simple-gameapi\android-simple-gameapi
- Use maven to build code
mvn clean install
- Prepare for eclipse
mvn eclipse:eclipse
- In eclipse, import using
Git -> Projects from Git
- Select your
c:\git\android-simple-gameapi
folder -> Next - Select
Import existing projects
-> Next - The
android-simple-gameapi
- project should be selected -> Finish
- Download Gradle
http://www.gradle.org/get-started
and last Android SDK versionhttp://developer.android.com/sdk/index.html
- Set environment variable
GRADLE_HOME=C:\...\gradle-1.6
andANDROID_HOME=C:\...\android-sdk
- Set/dobbelcheck path variable
PATH=...;%GRADLE_HOME%\bin;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
- Enter folder
c:\git\android-simple-gameapi\android-simple-gameapi-example
- Build project
gradle build
- // TODO: waiting for a way to build eclipse project files using gradle
- Import using
Git -> Projects from Git
- Select your
c:\git\android-simple-gameapi
folder -> Next - Select
Use the New Project wizard
-> Finish - Select
Android Project from Existing Code
-> Next - Set Root Directory to the android example code
c:\git\android-simple-gameapi\android-simple-gameapi-example
-> Finish - Enter the projects build path in the
Projects
-tab and addandroid-simple-gameapi
You are now ready for developing android games!
Please appreciate and recognize with donating or staring this project :)