What is XRace(http://code.google.com/p/xrace-sa/)
XRace is a 3D car race game for the Android mobile phone platform, using OpenGL ES for rendering. More than the other classic car race games, this
... [More]
one provides additional operation modes, which is “sensor controlling”. We can use the orientation sensor to control the car. Without the real hardware you can run this game with a “sensor simulator”, which developed by Group Openintents. (Learn more from this URL http://code.google.com/p/openintents/ ).
How to Run this Game
Install the OpenIntents on your emulator. Download the openintents-binary-0.9.0.zip from
http://code.google.com/p/openintents/downloads/list
Type the follow command on your console
cd $Android-sdk-home$/tools
emulator -wipe-data
2)When Emulator opened (automaticaly by the command above).
Use the following command for installing the openintents.apk on you emulator.
Type the follow command on your console
> adb install d:/openintents.apk
3)Set up the IP address and Socket for Open Intents
Open the OpenIntents. Select the “Settings” Tab.
Check the Sensor simulator, and then input you IP address and Socket.
4)Test the OpenIntents.
Run sensorsimulator.jar. Which located in folder openintents-binary-0.9.0/tools/ .
And then Select the “Testing” tab and then check the connection.
Select the slide bar “orientation”. Drag it. You can find the data changing
It means you have successfully connected the simulator with OpenIntents.
5)Install the XRace.apk , the same as step 2)
>adb install d:/XRace.apk
6)Open the XRaceServer.jar. Start the Server
7)Then you can run XRace.
Focus on emulator window
Turn the “NumLock”(key board) light on, strike key “7” ,
change the emulator to horizontal screen.
Then click the "muitiple".(for now version 1.0 "single" is the same as "multiple")
8)Enter the Server IP, on which runs XRaceServer.jar.
9)Then it may take several minutes to load. Depends on your computer
)Strike “up”, use the “right” and “left” to select your car.
)Strike “Down” to finish car selecting, and then strike “Enter” to run the game.
You car control the car both by keyboard and sensor simulator.
While you are using the simulator, Sensor “Pitch” controls the direction and the “Roll” controls the speed.
Development Environment
The code is currently developed using the Eclipse with the ADT plugin.
The current Android SDK is Android-windows-1.0.
Developed upon PC with Intel® Core™2 Duo CPU E4600 2.4GHz,2.0GB RAM
Problems Found
Emulator speed. The emulator speed is very “unacceptable” when running the XRace.
2.Without Blue Tooth API.(Interface reserved for further programming).
3.Insufficient collision handle.
4.Several bugs known.
5.Game experience improving.
Project Introduction
This project was initiated by group "android research" from SierraAtlantic.
Start Time : 2008.10.7
End Time: Still active
PM: CNan
Members: Cpan Darktemplar Jlin Yyang Sliao Jhuang Yzhong Micheal [Less]