[ARCHIVE]

Dani's Race ( version 07-07-24 )

Archive: tar.xz 499.5 MB
Licenses: GPLv3+
Archive.org Git Repository



View TeaserComments


b3d | eevee | upbge | gamedev | danisrace | freesoftware | opensource


This is the first version of Dani's Race published with the unlock idea ( which still doesn't have a name ). Let's see how it goes.

Day Night Cycle

Since the last version of the game, I have implement a day / night cycle, by figuring out how to control values in the world material using game logic. Basically the idea is, you control an object the location values of which drive values inside of the world material.





And here is a screenshot of the nodes that make the magic happen. As you can understand, as soon as this publication is unlocked, you will be able to scrutinize it and see for yourself what exactly I did there to make it work.

Context aware Backgrounds

As you can see the world material is a bit more complex than mixing between day and night. It has also morning and evening states. And not just that, context aware state. Where you can see the racetrack being drawn to the world material if you are in the city.



And vise versa, where the city is being drawn if you are in the racetrack.



There were also alignment issues that I had to solve by moving the racetrack side to side based on where Dani is in 3D space. So that the tunnel always aligns with the real tunnel in 3D space.

Control Settings

I have introduced settings in the previous release of the game. But they didn't have any control settings. Now you can setup how you want to control the game.



And as you can see on that screenshot, you can now control the car using the mouse and not the keyboard. Which gives you way more precise controls over steering and throttle.

With that come 2 modes, both of which are optional, of how to show the mouse to you. You can either select to show the regular mouse cursor, or as in this image, to show guides that are rendered outside of the view, to not distract you from driving.



To other settings, cheat-codes could now be disabled for cheat-less mode. And you can control the speed of your day.

Multiplayer

Since forever people requested a multiplayer to be present within the game. Finally this version will introduce the concept into Dani's Race. I've implemented the most basic Server / Client configuration, good enough to more or less play together. I tried it with a few friends and it worked. I would not say that it worked fine, though. It is very early for it to be used for anything more than a few laughs about how buggy it is. But it is a start.

At the moment the feature is very manual to set up. Unless ( check the comments ) somebody had set up an actual server. A friend of mine who has servers did that for the period of testing, I'm not sure if that thing is up right now.

If not, the server software is in the "Scripts" folder and is called "Multiplayer_Server.py" . If you know how to do port-forwarding, or you want to simply play on the local network with the family, you can run this script for the server. And setup the client in the settings of the game.


All Publications | How it works? | Licenses & Credits