Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Rally game from scratch

Author
Message
Bedford
18
Years of Service
User Offline
Joined: 23rd Apr 2007
Location:
Posted: 23rd Apr 2007 11:16
Hi all,
I've to create a rally car game from scratch. The original idea was to create it in Flash, but they are too many limitations and the resource needed to get it to work in flash is huge. As I bought db classic some years ago and it's still in the box, I'd like to have a try.
Since I don't know how or where to start, the best way to have something working would probably be to get the basic courses and tutorials, but this will direct me to a very long process and doesn't answer one simple question I've: can DB manage the game ?
I know it's a powerfull program, but having to put 1 month to learn it, 2 months to write the game then in the middle, see that I can't do half of what I'd like to do...will be very annoying.
So here is the link of a screenshots of what I'd like to achieve:
http://www.jeuxvideo.com/screenshots/00013/00013245_001_finale.htm
The purpose of the game is commercial. I won't sell the game, I want to provide a platform to create a game for advertise my website that is about cars classified ads.
The features:
- Rear view, the camera must follow the track, not the car.
- Not a close circuit, but a track
- rich environment: trees, houses, road borders...
- Best track time, best total time (many tracks).
- The possibility to edit many tracks further.
- arcade car physics and easy to drive, but with jumps for fun.
- different track physics on ground, grass, snow, ice, asphalt, rainy roads...

On my website, the gamers will be able to download the game with the first track. Then he must register to the game (user, password, email, some personal informations) and an account is created to let him play the game. Once he has finished the first track, the game downloads the next track and so on. At the end of every track, I've to save track time on a mysql database on a webserver.
If somebody can help me out. I've searched on car game source code, but none (from wich that have screenshots) seems to respond to my needs. Oh, I don't want a full written game (if it exists, I'll love to ear from you...) but none seems to be really advanced like managing tracks, environments and so on.
So if you could give me advices on the possibilities, some screen shots of good looking 3d games...maybe the game can be done in "pseudo" 3d and will then be faster: the car can be a sprite with a shadow on a 3d matrix and tree or building on the track border only may be in 3d.
Thanks for any help you may give me...and also has somebody an idea on how long it will take to create such game ? (graphic will be done by somebody else...only how long you estimate the time necessary to create such game)
Bob
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 23rd Apr 2007 21:38
ok, the camera is easy to do, no problems there. the problem you will have is with the physics and collision. there is no way that you can write a physics engine in a month. I would recommend using one of the free plugins available for this sort of thing.


Deathead
18
Years of Service
User Offline
Joined: 14th Oct 2006
Location:
Posted: 23rd Apr 2007 21:40 Edited at: 23rd Apr 2007 21:41
Camera is easy But i think the multi side may be hard(if you are doing multiplayer!)

JOIN NOW!Or be square!
Bedford
18
Years of Service
User Offline
Joined: 23rd Apr 2007
Location:
Posted: 23rd Apr 2007 21:50
Thanks to your both answers.
Physics and collision: I don't like to re-invent the wheel. I plan to use as much as possible existing stuffs. The problem is to find the correct one. Also I've seen that DLL's are faster than DB code...so.
There is no multiplayer. The server connection is only for saving best time on a web server page. But I've first to create the game ;
The actual problem is how to manage the track ? I've seen so many demos on the site I've downloaded (mainly car game demos) but none seems to manage a real terrain. They are all flat matrixes (and matrixes are slow to manage by DB...)
I've seen there is a .x terrain possible, but since I've never created anything with DB, and I really must start, what's the best way to get started:
The game seems simple: a track, a car and arrow management. Once I've everything working, creating objects around the track shouldn't be as difficult. I know I must manage dynamics and collision....but first I'd like something that moves and see the result I can achieve.
Thanks for help.
Bob
chafari
Valued Member
19
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 24th Apr 2007 00:17
of course it is very possible to make such a game but that depends
on the time that you dedicate to it, and if you have the knowledge for do it...

You could animate a object in a 3D program with its track and then in the game just put cars to follow this hidden object.If you want to manage dynamics and collision it is a bit more difficult, and you will need some dll.. but you could simulate it...

For someone who programs, it is possible to do it in just a couple of weeks...Here if you read...you will find a lot of snippets where there are all kind of examples... good luck !!

oh my god
Bedford
18
Years of Service
User Offline
Joined: 23rd Apr 2007
Location:
Posted: 24th Apr 2007 15:57
Ok guys, start point: I've a 3d modeler wanting to join the project. He has grabbed some free cars and is able to start the track design.
He uses 3dsmax but he'd like to know how to build the track. If you could give an explanation wich cover some points it would be great.
Also for testing purpose, if somebody could point me to a code to load the track and create a simple box to drive on it. The goal is to have the box follow the ground created with max.
Thanks for helping.

Bob
The Wilderbeast
19
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 24th Apr 2007 19:28
that question would be best asked in the 3d modeling board, but i'll try my best to answer it. the best way to do it would be to find a terrain building program, http://forum.thegamecreators.com/?m=forum_view&t=31257&b=5. This program is very easy to use and already has most of the textures you will need. You simply create the landscape by raising/dipping the ground, and then export it as a .x file. load it into DB, finished. One problem you would have is that DBC doesn't support alpha blending, so you cant have more than 1 texture at a time.


Login to post a reply

Server time is: 2025-05-29 07:25:48
Your offset time is: 2025-05-29 07:25:48