Basic game scene objects, coins, stalactites have been added.
The latest changes can be obtained from the repository:
https://github.com/demensdeum/DemonsCaveAndroid
Tag Archives: demonscave
Tutorial: Making a Game for Android. Spinning the Earth. Rajawali
‘In the beginning God created the heaven and the earth.‘
This is the second video in which we make a game for Android. Let’s spin the earth!
Please write to me if you have any questions or if you would like to add something to this course.
Video based on the article Rajawali Basic Setup & Sphere (Maven):
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 dkmssudo apt-get install linux-headers-$(uname -r)
2. Add Rajawali library to the project
Filebuild.gradle (Project: Demon’s Cave)
Add mavenCentral() < /span>to the buildscript/repositories
sectionAdd maven { url< /span> “https://oss.sonatype.org/content/repositories/snapshots/” } to the allprojects/repositories section
File build.gradle (Module: app)
Add compile ‘org.rajawali3d:rajawali:1.0.306-SNAPSHOT@aar& #8217; to the dependencies
section
3. Create a Renderer class, initialize the scene, add a sphere and spin!
Source code of class Renderer.java:
https://github.com/clintonmedbery/RajawaliBasicProject/blob/master/app/src/main/java/com/clintonmedbery/rajawalibasicproject/Renderer.java
4. Add Renderer class to MainActivity
Source code of MainActivity.java:
https://github.com/clintonmedbery/RajawaliBasicProject/blob/master/app/src/main/java/com/clintonmedbery/rajawalibasicproject/MainActivity.java
Ground texture:
http://www.clintonmedbery.com/wp-content/uploads/2015/04/earthtruecolor_nasa_big.jpg
Tutorial: Making a Game for Android
‘Learning is light, but ignorance is darkness‘
Demon’s Cave is coming to Android soon.
I started recording a course on porting a game to Android because there are a lot of people who are really interested in the development process.
Please write to me if you have any questions or if you would like to add something to this course.
You can also add subtitles for other languages: http://www.youtube.com/timedtext_video?ref=share&v=rx7NYkAJB2I
Plan, commands, links:
1. Installing VirtualBox https://www.virtualbox.org/wiki/Downloads
2. Installing Xubuntu http://xubuntu.org/getxubuntu/
3. Installing Oracle Java 7
sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java7-installer
4. Installing 32-bit libraries
sudo apt-get install lib32ncurses5 lib32stdc++6 zlib1g:i386
5. Installing Chromium
sudo apt-get install chromium-browser
6. Installing Android Studio http://developer.android.com/sdk/index.html< /p>