Release: Dani's Race v07-07-24
December 05, 2024
π 21
https://blenderdumbass.org/articles/the_challenge_of_writing_npc_characters_for_games : π 1
https://duckduckgo.com/ : π 1
https://blenderdumbass.org/petitions : π 2
https://blenderdumbass.org/ : π 2
https://blenderdumbass.org/search?text=Release%3A+Dani&title=on : π 1
https://blenderdumbass.org/articles/a_rant_about_making_a_multiplayer_game : π 1
https://libregamewiki.org/ : π 1
Petition
397 / 200 Signatures
Last updated: 364265 minutes ago
Sign
This petition is signed by increasing the number of
Blender Dumbass Followers on Mastodon
Continue
by Blender Dumbass
Aka: J.Y. Amihud. A Jewish by blood, multifaceted artist with experience in film-making, visual effects, programming, game development, music and more. A philosopher at heart. An activist for freedom and privacy. Anti-Paternalist. A user of Libre Software. Speaking at least 3 human languages. The writer and director of the 2023 film "Moria's Race" and the lead developer of it's game sequel "Dani's Race".
From 2 years ago.
Information or opinions might not be up to date.
3 Minute Read
Day Night Cycle
Since the last version of the game, I have implement a day / night
β© Reply
cycle, by figuring out how to control values in the world material
β© Reply
using game logic. Basically the idea is, you control an object the
β© Reply
location values of which drive values inside of the world material.
β© Reply
And here is a screenshot of the nodes that make the magic happen.
β© Reply
As you can understand, as soon as this publication is unlocked,
β© Reply
you will be able to scrutinize it and see for yourself what exactly
β© Reply
I did there to make it work.
β© Reply
Context aware Backgrounds
As you can see the world material is a bit more complex than mixing
β© Reply
between day and night. It has also morning and evening states. And
β© Reply
not just that, context aware state. Where you can see the racetrack
β© Reply
being drawn to the world material if you are in the city.
β© Reply
And vise versa, where the city is being drawn if you are in the racetrack.
β© Reply
There were also alignment issues that I had to solve by moving the racetrack
β© Reply
side to side based on where Dani is in 3D space. So that the tunnel always
β© Reply
aligns with the real tunnel in 3D space.
β© Reply
Control Settings
I have introduced settings in the previous release of the game. But they didn't
β© Reply
have any control settings. Now you can setup how you want to control the game.
β© Reply
And as you can see on that screenshot, you can now control the car using the mouse
β© Reply
and not the keyboard. Which gives you way more precise controls over steering and
β© Reply
throttle.
β© Reply
With that come 2 modes, both of which are optional, of how to show the mouse to you.
β© Reply
You can either select to show the regular mouse cursor, or as in this image, to show
β© Reply
guides that are rendered outside of the view, to not distract you from driving.
β© Reply
To other settings, cheat-codes could now be disabled for cheat-less mode.
β© Reply
And you can control the speed of your day.
β© Reply
Multiplayer
Since forever people requested a multiplayer to be present within the game.
β© Reply
Finally this version will introduce the concept into Dani's Race.
β© Reply
I've implemented the most basic Server / Client configuration, good enough
β© Reply
to more or less play together. I tried it with a few friends and it worked.
β© Reply
I would not say that it worked fine, though. It is very early for it to be
β© Reply
used for anything more than a few laughs about how buggy it is. But it is a
β© Reply
start.
β© Reply
At the moment the feature is very manual to set up. Unless ( check the comments )
β© Reply
somebody had set up an actual server. A friend of mine who has servers did that
β© Reply
for the period of testing, I'm not sure if that thing is up right now.
β© Reply
If not, the server software is in the "Scripts" folder and is called "Multiplayer_Server.py"
β© Reply
. If you know how to do port-forwarding, or you want to simply play on the local network
β© Reply
with the family, you can run this script for the server. And setup the client in the
β© Reply
settings of the game.
β© Reply
0
Find this post on Mastodon