SimCar Screenshot 3D car simulation game ( software rendering )

3D game with the objective of simulating the action of driving a vehicle on a road. SDL library is used for display and there is no requirement (or support) for a 3D accelerator card.

License: free
Requirements: SDL - www.libsdl.org

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnonononoyes
Suggest an update

Comments

It's not an easy task to make a 3d game in raw SDL, including a fog and even on-the-fly sound generation. I know something about it.

5 stars because of a valuable code contribution and -1 star because of little playability, but I myself care less about it :)

What? What! 3D in SDL? :D I must try it.
Re: Wow. posted by Thud on Jan 3 2010 8:02 PM
Bravo! My rating is 5.
But wheres all the real games? I want a game, not an experiment that usually wont compile very easily, and once it does i can fiddle with for 2 minutes and never touch it again!
Re: Sorry posted by jamyskis on Jan 4 2010 3:17 PM
It's experiments and engines like these that help programmers and creators with less programming experience but more creative talent to create good games.
Very cool, it reminds me of "Stunts" by broderbund, an ingame level editor, a simple HUD and making the car a bit fater outside the track, and we have something enjoyable :)
Re: SimCar posted by enjomitch on Jan 5 2010 10:07 AM
Yes. Matei, if you are interested in knowing what to do to make the game playable, then I'm also with making this game more Stunts - like. Hills, ramps, tunnels, and other stuff. Check out ultimatestunts.nl . Your game has the same potential.
Thank you for this amazing game

http://www.haikuware.com/directory/view-details/games/3d/simcar

Re: Ported to Haiku OS posted by michaelvoliveira on Feb 9 2010 5:56 AM
Thanks again! version 2.0.0 runs smoothly on Haiku!
Plays much better now, thanks!
Still, I also think that friction on grass is too big. I've seen your code. It's just a parameter, isn't it?
Re: Better now posted by Matei on Feb 6 2010 8:58 PM
Variable "drg" in file "simcar.c", lines 178 ... 180. You may have also noticed that there are no collisions with trees, houses etc. Actually, you can even get inside the houses, right through the walls, and see what's inside, since there's no backface culling either. However, the game does work on my Pentium 2, 400 MHz (not that it's my only computer) at 320x240, displaying 30 .. 35 frames/second, depending on the track. Currently, there are very few free 3D graphic card drivers, most computers don't even have usable 3D acceleration available in Linux (or any other free operating system for that matter) and proprietary drivers are incompatible with the GPL license, under which Linux is available. Free game, free operating system, proprietary driver with restrictive license to spoil everything. Anyway, 10 years ago, there were lots of 3D games with software rendering engines, which didn't look so bad. Today, with computers 10 times as fast, there is definitely some potential, which unfortunately appears to be almost completely neglected ...
If the horrid sound would be replaced by some nice motor hum, I would be able to enjoy this much more.
Getting stuck on the grass is very annoying..
The new content is great :)
Re: SimCar posted by qubodup on Feb 6 2010 10:17 PM
PS: I'm getting Unable to get AUDIO_U8 or AUDIO_U16 format all the time.
Re: SimCar posted by qubodup on Feb 6 2010 10:18 PM
PPS: the controls are much better :)
Re: SimCar posted by qubodup on Feb 6 2010 10:28 PM
PPPS: When you stop, while trying to get up a mountain... you can't accelerate.. Bug or feature? You decide! :D
Re: SimCar posted by Matei on Feb 6 2010 10:48 PM
When you stop, while trying to get up a mountain, press "R" for "reverse", go back and try again with more speed. So it's a feature, also mentioned in the "README" file. For more engine power, change the value of "pmax" in "simcar.c" at line 143. To avoid getting stuck on the grass, you can stay on the road, or, alternatively, look at the previous comments and assign some smaller values to variable "drg". I thought you might get some problems with the sound. Delete line 194 in "game.h" and change some numbers at line 208 in the same file if the horrid sound is too intense. Also, you can delete or comment lines 122...125 in "simcar.c" and listen to some music instead. The sound is probably horrid because none of the audio formats supported by your soundcard are supported by my soundcard. And the whole idea with free software is that I publish it, other people improve it, and then give it back to me so I can enjoy the modified and improved version ... or maybe not :)
Open Source development opinions posted by enjomitch on Feb 7 2010 9:36 AM

"And the whole idea with free software is that I publish it, other people improve it, and then give it back to me so I can enjoy the modified and improved version ... or maybe not :)"

That's true, but having a cenrtalised development is better than running diffs on various versions of the same files and trying to get it all working together.

That said, I like the project so much that if I had time, I'd help cleaning the source a bit (no offense), making it more library-like, or maybe even port it to C++. This by the way would help others improve your code. But do you see? You said it yourself: "... so I can enjoy the modified and improved version ... or maybe not", hence the need of being in touch, and doing everything in consent with the main developer, because if you dislike something, all my work will be forgotten. Too many forks is are bad as not getting code back from the community.

Re: Open Source development opinions posted by Matei on Feb 7 2010 11:43 AM
No offense taken; I'm a civil engineer (well .. at least I have a degree in civil engineering), not a programmer / computer scientist and I learned programming almost 100% in my spare time. I like C very much and I find C++ unnecessarily complex for what I need. Also, its standard is not very well established yet, from what I read. And what I meant was more like "other people improve it, and then give it back to me ... or maybe not". I would probably enjoy any 3D game that actually runs on my computer. And as far as I'm concerned, 10 games are better than one. If you don't want your work to be forgotten, publish it. I don't know anything about CVS, SVN etc. All I care about is that the program runs, has as few non-standard library requirements as possible (i.e. SDL, which is 100% necessary because otherwise we could not see any image), is as easy to install as possible, all files are under GPL (including 3d models) and that it can be compiled with gcc and openwatcom (almost) without any modifications.
Re: Open Source development opinions posted by qubodup on Feb 8 2010 12:07 AM
Your ideals are very nice ones. It might be useful to use a code repository though, if other people want to get involved.
Re: SimCar posted by qubodup on Feb 8 2010 12:06 AM
Sorry, I didn't write the criticism well. Unfortunately I'm no programmer and my physics vocabulary is lacking, so I couldn't experiment with variables.
br/> So the humm sound isn't horribly annoying (regarding volume, compared to listening to music)? Is anyone else having problem with the audio?
The game is a demo so we can forgive it's shortness, but the code is pretty cool and the openoffice made graphics show that you can make cool stuff out of nothing
I like the new content and the new grass behavior is very much pleasant!

Just an idea: direction and/or speed limit signs.
Ok it's not a real game it is a simple demo of an engine but i love old school fascioned graphic so GOOD JOB!
Re: Fine demo posted by Matei on Mar 1 2010 7:27 PM
Well ... it doesn't have menus, or racing ... and you don't get to save the girl in the end (or the planet), so it definitely fails in providing the user with a sense of accomplishment, but now it has (almost) everything that I ever cared about in games with cars (by the way, I don't like real cars .. I even hate them). AND it runs on my Pentium 2, 400 MHz, which has no 3D drivers for the graphics card. Those features which would make it "a real game" are just annoying from my point of view. I don't need to kill pesky enemies for an hour before I can finally look at the landscape, or to race frantically to the finish and then be upset that I only got 3rd place. As far as I'm concerned, computer games are for spending 5 ... 10 minutes with them and then finding something more interesting to do. So "demo" is really just a matter of perspective.
I love this project. Software rendering should get more attention imho. Not everyone has a nice videocard that can do 3d accel, and for that SW is the answer. Plus if more people used software rendering, we'd be less dependent on video card companies! HAHA. Keep it up man!
Re: love software rendering posted by xteraco on Mar 4 2010 11:47 AM
Oh almost forgot DONT port it to C++ for the love of god. I saw someone suggest it and turned pale.
Re: love software rendering posted by enjomitch on Mar 7 2010 12:34 PM
You sound like a priest. Why not?
Re: love software rendering posted by Matei on Mar 7 2010 4:31 PM
Well, I must agree with him, the main reason being that I know nothing about C++. Also, I had a lot more trouble compiling programs written in C++. There are a lot of things to add to the game and also to the engine (ex.: backface culling, which I just did this morning), but don't count on me for anything related to C++. Truth is ... I don't like it at all (maybe I'm not smart enough for it).
Re: love software rendering posted by xteraco on Mar 8 2010 11:23 PM
@enjomitch

The reason not to port it to C++ is that there is no reason. C doesn't have any limits that will cause this project not to move forward. The recommendation of porting it to C++ seemed to be for the sake of porting, and no real reason beyond that. Also part of the reason I like this project is because its written in C.

@Matei

Its not stupid that you're not learning C++. The only real "new" thing that C++ brings to the table is OOP, and you can make good programs without that. People have been making good programs in C for years ( Quake 1,2, and 3 for example ).
Re: love software rendering posted by binkzz on Jul 29 2010 12:51 PM
In the old days, when I was young, all 3D was rendered by software. It's unthinkable now because you need at least 30Ghz worth of central processing units to equal a high graphics card's capabilities, that's why you won't find it in games anymore.

However, even a low end 3D card can do pretty impressive things.

Re: love software rendering posted by jamyskis on Jul 30 2010 7:56 AM
If you look at the Unreal 1 engine (used in Unreal, UT 99, Nerf Arena among others), you'll be amazed at the software rendering that can be performed with a processor that is about 20% the speed of modern processors. The Unreal engine had a crude form of bilinear filtering, light flares, curved models and textures. Imagine what you could do with 3GHz of processing power with a software engine today...
Re: love software rendering posted by gouessej on Aug 2 2010 2:55 PM
We don't need software rendering, it is already possible to display a lot of things even on the most crappy graphics chip and optimizing the performance does not only depend on the hardware acceleration. Spatial subdivisions are useful whatever the kind of rendering (software or hardware accelerated). You're completely wrong. Investing any resource in software rendering is a waste of time and you will always get better performance with a low end graphics card by using the hardware accelerated rendering than with the software rendering with a low end CPU.
Reminds me of Streets of Sim City :) I like it a lot

But I found it very difficult to steer properly, especially when going fast... I guess the physics could do with some work?

Log in or register to rate this game or post a comment.