Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Tuesday, August 20, 2013

How to Test Blender 3D Gamekit on Android Device


You need to install adb on your computer and eclipse First.
The Android SDK contains the Android debug bridge (adb) which is a tool which allows you to connect to a virtual or real Android device for the purpose of managing the device or debugging your application. Check links below
http://developer.android.com/sdk/index.html
http://developer.android.com/sdk/installing/installing-adt.html


1. set your android device to debug mode, in the video is a google nexus 7
2.connect usb to your desktop
3.open eclipse and open the blender 3d gamekit android package, this package can be download at:
4.pack and save your blender file, test on desktop.
5.copy your blender file into the asset folder under the eclipse project
6.refresh asset to confirm you've got it.
7.go to main.java change file name to your blender file name
8.click run, the apk will be send to your device and should be running in several minutes.
The android package can be downloaded from:

Sunday, July 21, 2013

How to do Background Rolling On Mobile Device Using Blender & Gamekit

This demo showing how to create a rolling background as seen on arcade platform 2D/2.5D games using blender3D and gamekit. at the end test on a real android device Nexus 7.
Following are the Steps:
1. Create a 'mesh plane' rectangular as background
2. Move and Rotate Camera
3. Import pre-modelled Plane
4. Add shadeless material to background
5. Unwrap UV,1024 x 1024
6. export UV image
7. stitch background image on UV map in photoshop or gimp2
8. save the image
9. load image into texture under material
10. add game logic to camera and airplane
11. pack external data in file and save file
12. test on blender gamekit add-on using desktop
13. copy file into gamekit android package asset folder
14.open eclipse, change the file name reference in the main.java file
15. connect nexus 7 and run the test.

the blender file can be download at