Tutorial: Making Android Game. Setup Rajawali – Show Earth

And God saw everything that he had made, and behold, it was very good. And there was evening and there was morning, the sixth day.

Second video about making game for Android. In this video we are going to rotate Earth!
Contact me if you have questions, or you want to add something interesting to video course.
This is Rajawali Basic Setup & Sphere (Maven) video tutorial for russian viewers, but also it have english subtitles. Original article link:
http://www.clintonmedbery.com/basic-rajawali3d-tutorial-for-android/

Rajawali Engine: https://github.com/Rajawali/Rajawali

Plan, commands, links:
1. Install VirtualBox Guest Additions

sudo apt-get install dkms
sudo apt-get install linux-headers-$(uname -r)

2. Add Rajawali library to project
File build.gradle (Project: Demon’s Cave)
Add mavenCentral(into buildscript/repositories section
Add
maven { url “https://oss.sonatype.org/content/repositories/snapshots/” } into allprojects/repositories section

File build.gradle (Module: app)
Add compile ‘org.rajawali3d:rajawali:1.0.306-SNAPSHOT@aar’ into dependencies section

3. Create Renderer class, setup scene, add sphere and rotate it!
Renderer.java source code:
https://github.com/clintonmedbery/RajawaliBasicProject/blob/master/app/src/main/java/com/clintonmedbery/rajawalibasicproject/Renderer.java

4. Integrate Renderer into MainActivity
MainActivity.java source code:
https://github.com/clintonmedbery/RajawaliBasicProject/blob/master/app/src/main/java/com/clintonmedbery/rajawalibasicproject/MainActivity.java

Earth texture:
http://www.clintonmedbery.com/wp-content/uploads/2015/04/earthtruecolor_nasa_big.jpg

0

Tutorial: Making Android Game

To Learn, to Learn and to Learn Once Again

Game Demon’s Cave is going to be released for Android.
I started making video course about porting Demon’s Cave to Android, it has English subtitles.
Contact me if you have questions, or you want to add something interesting to video course.
Also you can make subtitles for your language here: http://www.youtube.com/timedtext_video?ref=share&v=rx7NYkAJB2I

Plan, commands, links:
1. Install VirtualBox https://www.virtualbox.org/wiki/Downloads
2. Install Xubuntu http://xubuntu.org/getxubuntu/
3. Install Oracle Java 7

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

4. Install 32bit libraries

sudo apt-get install lib32ncurses5 lib32stdc++6 zlib1g:i386

5. Install Chromium

sudo apt-get install chromium-browser

6. Install Android Studio http://developer.android.com/sdk/index.html

0