Click here to Skip to main content
12,701,854 members (35,918 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked

Power Drive

, 22 Oct 2012 CPOL
Rate this:
Please Sign up or sign in to vote.
A game which gives the player a simulation of sitting in front of the steering wheel and driving a car.
This is an old version of the currently published article.

Editorial Note

This article is an entry in our AppInnovation Contest. Articles in this sub-section are not required to be full articles so care should be taken when voting.


This is a game which gives the user a simulation of sitting in front of the steering wheel and driving a car 
in the streets.


In this game, i will be using Accelerometer and Gyroscope to capture the motion of the ultra-book and
tilt the steering wheel based on the movement, so that the car moves in that direction, just as 
a real car moves.  

Using the code 

This game is not merely like a normal car game found in lots of in mobile app market. It actually gives
the user a feeling of sitting right with the steering in hand and driving the car. The user needs to tilt
the ultra-book based on which side he/she wants to turn the steering and the car moves that side.
The background of the app can be set to change dynamically and randomly between a set of photos. 
The traffic on the roads will act as obstacles to this car and the player has to avoid these obstacles 
in order to keep on going forward. 5 points will be awarded to the player as he overtakes a car.
And every 5 cars the player overtakes he/she will be awarded bonus points of 10 or 20 maybe but 
also will increase the speed of the car and hence increase the chances of crashing into other cars. 
Since the player is bound to hit some obstacle as the speed goes on increasing, the game goes on 
until there is a crash. Also based on the points, new cars can be unlocked and since i am not showing 
the outer part of the car in my app, i will be incorporating different logos of cars in the steering wheel
so as to indicate that it is a different car. 

Points of Interest

I am also planning to make the side ends of the road more and more prone to crash on car touching 
then as the game continues, being not so crash prone in the beginning of the game so as to give a fair chance for the player to keep growing. I guess this is an interesting stuff to implement and experience
as well.


No changes as of now.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

India India
No Biography provided

You may also be interested in...


Comments and Discussions

Discussions posted for the Published version of this article. Posting a message here will take you to the publicly available article in order to continue your conversation in public.
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 22 Oct 2012
Article Copyright 2012 by vikyath
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid