PHP Game
Posted: Sat Oct 23, 2004 5:55 pm
Hey guys, I am beginning Year 12 now and Im about to start my major project. I thought I might make a little turn based game in php.
Here are the details of the game.
The game will have a racing theme.
I will create a map with maybe 10 cities, each city have their own drag circuit, and normal circuit, a car dealer, petrol station and a mechanic to fix your car.
The user buys his car from the dealers.
He may travel around the cities for a certain amount of fuel.
When his in a city, he can goto a 'racers lobby' and create races, selecting tracks within the city. And how many racers, race type, maybe class of car - so a ferrari doesnt take on a MINI. And the prize money.
The driver may pay a fee to do training sessions at the tracks, which will improve driver knowledge, as well as other skills.
The results of a race will be calculated this way - each track will have attributes, say 30% power, 50% handling, 20% knowledge for a twisty track. The driver will have skill attributes, say 7 for power and 8 for turning, 7 for braking, this is then calculated into the car is driving. So he might use from 80-100% of the cars power, and 90-100% of the cars handling. Where a high rating driver might use from 99-100% of the cars potential. When the car stats has been randomised for the race, for example 89% for power, and 93% for handling, it is then put into the track according to its importance. so it turns out power will be only 26.7% when the track is 30% power.
Finally the driver knowledge comes in, the driver gains 1% knowledge for each race, and bonus 2% for each win. This will make some people choose 1 city and stick with it (like a hometown).
After the race is done, the winner gets the amount of cash set by the race host. That money can be used to buy better cars etc. And appropiate amount of fuel is deducted.
This is the basic idea of the game, dont know if i missed anything, if you have questions please ask.
The reason i choose to do this is because i am interested in cars, and webdesign, so i will probably never use VB or C++ again in my life.
What i would like is, how long would such game take to program? (i have about a year), and what is the difficulty level? If i just implement a skeleton of the game first, will it be easy to add the features on 1 at a time?
Thanks for reading, it will also be great if we could have a chat on MSN, PM me for my details
Thanks
William
Here are the details of the game.
The game will have a racing theme.
I will create a map with maybe 10 cities, each city have their own drag circuit, and normal circuit, a car dealer, petrol station and a mechanic to fix your car.
The user buys his car from the dealers.
He may travel around the cities for a certain amount of fuel.
When his in a city, he can goto a 'racers lobby' and create races, selecting tracks within the city. And how many racers, race type, maybe class of car - so a ferrari doesnt take on a MINI. And the prize money.
The driver may pay a fee to do training sessions at the tracks, which will improve driver knowledge, as well as other skills.
The results of a race will be calculated this way - each track will have attributes, say 30% power, 50% handling, 20% knowledge for a twisty track. The driver will have skill attributes, say 7 for power and 8 for turning, 7 for braking, this is then calculated into the car is driving. So he might use from 80-100% of the cars power, and 90-100% of the cars handling. Where a high rating driver might use from 99-100% of the cars potential. When the car stats has been randomised for the race, for example 89% for power, and 93% for handling, it is then put into the track according to its importance. so it turns out power will be only 26.7% when the track is 30% power.
Finally the driver knowledge comes in, the driver gains 1% knowledge for each race, and bonus 2% for each win. This will make some people choose 1 city and stick with it (like a hometown).
After the race is done, the winner gets the amount of cash set by the race host. That money can be used to buy better cars etc. And appropiate amount of fuel is deducted.
This is the basic idea of the game, dont know if i missed anything, if you have questions please ask.
The reason i choose to do this is because i am interested in cars, and webdesign, so i will probably never use VB or C++ again in my life.
What i would like is, how long would such game take to program? (i have about a year), and what is the difficulty level? If i just implement a skeleton of the game first, will it be easy to add the features on 1 at a time?
Thanks for reading, it will also be great if we could have a chat on MSN, PM me for my details
Thanks
William