best viewed with NetSurf
|My programs||Games||Other programs|
|GNU/Linux||Computers & programming||Music & movies|
|Other topics||What's new||Contact|
Games, C & SDL
Skunks - driving simulation with Open Dynamics Engine (current version: 5.0.0) Overview
Available at sourceforge.net; version 1.0.0 is from 2010-09-27.
The game requires only SDL 1.2 or 2.0 and Open Dynamics Engine, which are also free software. ODE is included with all versions, so it doesn't have to be downloaded separately. Because it doesn't have a lot of dependencies, the program can be and was adapted for various operating systems and devices, as shown below. Until 2012, a site called happypenguin.org (archive) existed, where I submitted a few announcements, some of which can now be found at happypenguin.altervista.org, but the discussions are missing from the new site. Around the time when I was thinking about a name I had recently discovered a somewhat similar game with cars released in 1990, called STUNTS, and I saw some skunks on TV, so...
Below is a video of version 5.0.0 running on a very expensive high-end gaming laptop (archive). The operating system is GNU/Linux (Fedora 34 MATE and I also have CentOS 6.10 installed on it):
Version 1.0.0 (phone)
Somebody from Ukraine made a menu and adapted the game for an operating system called MotoMAGX, for mobile phones, then sent me the following video:
The following table shows some results obtained with a few different CPUs and GNU/Linux distributions. The tests were made as shown in the first video from above, at 800x600x32 (in the video, the game is running at 800x480x32). Video cards aren't mentioned because they don't matter.
There are no mistakes in the table. The results are indeed not like everyone might expect, which is why they're included here.
Articles and other mentions
Skunks: un simulador de conducción ideal para niños
gizmos.republica.com (archive), 2012-04-18
Los juegos de simulación de conducción en juegos de vídeo de código abierto no abundan y entre un listado más o menos breve de éstos, encontrar un título que sea perfectamente jugable tanto por un niño como por un adulto, parece un gran desafío.
Si bien hay títulos muy interesantes como Trigger Rally o CoreBreach, sólo por escoger dos al azar, la dificultad de los comandos hacen que no sean juegos de vídeo accesibles para los más pequeños.
Skunks – 3D realistic driving simulation game
This page recommends some free books and tutorials for learning C and the game is also mentioned in another page (archive) from the same site:
To be eligible for inclusion in this list each game needed to meet the following requirements:
Raport - Cercetarea științifică în UTCB (2013)
(Report - Scientific research in TUCEB (2013))
skunks-4.2.0 (simulator autovehicul bazat pe metoda elementelor discrete)
Version 2.0.0, which is no longer available at sourceforge.net (but 3.0.0 is), was adapted for Sega Dreamcast consoles and is available at dreamcast.es (archive) and here. The archive includes the modified source code and this version has a menu made with SDL_ttf, which is now obsolete.
AROS Research Operating System
Version 4.2.0 adapted for AROS is available at archives.aros-exec.org and here.
The primary goals of the AROS project are to create an open source OS which:
Version 4.1.0, modified and adapted for Pandora consoles is mentioned at pdroms.de (archive) and can be downloaded from repo.openpandora.org and from here. Apparently it uses OpenGL ES. The files can be extracted with p7zip, according to which the archive is of type SquashFS. Version 4.1.0 was the first to include support for OpenGL.
The problems with OpenGL are hardware support (it's not supported by most devices, many of which only have support for OpenGL ES) and unreliable results, as can be seen in the picture above, which shows images displayed by 2 different video cards. With certain video cards, like the ones usually found in old and slow computers, where OpenGL would be most needed, gaps can be seen between triangles, which can be eliminated only by declaring the triangles in a very complicated way. Besides, although GPUs have many advantages in scientific applications, using them for games is, in my opinion, overkill.
This was mentioned above.
Discussions and comments
There is no "editor" itself, but to create a circuit is very easy. As easy as fuck notepad and go putting numbers
In the Readme inside explains how to do it,
There are RAM issues with this port: when you try to reload new tracks and cars, RAM increases until goes for more than 16MB.
This problem was solved in version 5.0.0, from 2018, but the message is from 2012, when I hadn't found out about Valgrind yet.
The game is not finished, its more like an interactive tech demo (or a playground). Right now I'm working on moving most of the render operations to GLES (lighting and fog were made in software, among other things).
This comment refers to version 4.1.0 adapted for Pandora consoles, which seems to use OpenGL ES; I can't be certain, because whoever made the adaptation overlooked the fact that I might be interested in the source code. I made an OpenGL version for version 4.1.0 out of curiosity and I don't understand why they used that, since this type of console apparently doesn't have such a bad CPU. I don't know what finished could mean in this case and I don't think it's a demo, because I didn't make it for demonstrative purposes. The fog from the OpenGL version isn't made in software; only the colours assigned to the vertices are calculated in software, after which the interpolation, to create the appearance of fog, is done by OpenGL (the video card, where available). I found this to be more efficient and reliable than declaring fog as such in OpenGL and many video cards can't perform lighting calculations anyway, not to mention that for flat shading it's not worth the trouble. However, a playground (archive) is something better than a game:
A playground, playpark, or play area is a place designed to provide an environment for children that facilitates play, typically outdoors.
Modern playgrounds often have recreational equipment
However, it was only in the early 20th century, as the street lost its role as the default public space and became planned for use by motor cars, that momentum built to remove children from the new dangers and confine them to segregated areas to play.
Playgrounds are good, but children should never be confined to any segregated areas to make room for cars, instead it should be the other way around (archive):
Like when the car was invented and thousands of people who couldn't afford cars were slaughtered by the tiny minority of Americans who could afford them: the auto industry did a puffery, inventing the idea of "jaywalking," blaming the dead for their own murders:
The automotive Big Lie never died: we still routinely blame "pedestrians" (another puffery!) for their personal failings when they are killed or maimed by cars. Today, people with self-driving car brain-worms are saying that EVs' propensity for running people over is a problem with people, not "AI"
Could definitely do with a reset car key when the car is toppled so I don't have to restart every time I bump a tree.
As far as I'm concerned, reset car means putting the car in the initial position and that is achieved by restarting, but from the context and considering other games I've seen, I think the person refers to magically putting the car on the road and with the wheels under it, somewhere close to its current position. I find that totally unrealistic and such a function would also encourage reckless driving, but it could be implemented by anyone who wants to, since the game is free software.