Optimization Nightmare when it comes to UPBGE Gamedev | Dani's Race | Blender 3D | Python

time2 mo agoview97 views

Working to make a game which is very hard to optimize a bit more respectable when it comes to performance. Which is easier said than done. This video is a journey of pain that is optimization in UPBGE ( the game engine chosen for Dani's Race ).

THE PETITION

https://blenderdumbass.org/petitions/release:_dani_s_race_v2025-03-17

The above link contains:

  • List of updates released after the petition is done.
  • Link to the page where the action of the petition is.
  • Links to information about why petition exist in the first place.
  • And why exactly this target for the petition.

For those unable to find them on the page:

  • To sign follow: @rowdyjoe@mastodon.social ( https://mastodon.social/@rowdyjoe )
  • What are petitions?: https://blenderdumbass.org/help?topic=petition
  • Why do I do them?: https://blenderdumbass.org/articles/libre_games_and_making_money:_introducing_petitions
  • Why RowdyJoe?: https://blenderdumbass.org/petitions/release:_dani_s_race_v2025-03-17#why-rowdy-joe
  • Short summary of changes to version 2025-03-17 ( as opposed to version 2025-01-19 ):
    • Story campaign's scene #3 is added.
    • Police now will arrests those they chase.
    • New drive-able vehicle: Scooter.
    • More performance optimizations.

For more information please go to the link above.


DANI'S RACE

https://blenderdumbass.codeberg.page/DanisRace

The above link contain:

  • Features of the game ( and goals ).
  • Links ( for download, source code and socials ).
  • Teaser trailer.
  • Installation guide.
  • System requirements.

For those unable to find them on the page:

  • Downloads ( various versions ): https://blenderdumbass.org/search?text=Release%3A+Dani&title=on
  • Source Code repository (git): https://forg.madiator.cloud/BlenderDumbass/DanisRace
  • Bugs Issue Tracker: https://forg.madiator.cloud/BlenderDumbass/DanisRace/issues
  • Matrix chatroom: https://matrix.to/#/#danisrace:tchncs.de
  • Teaser trailer ( PeerTube ): https://peer.madiator.cloud/w/6tQyMrwz8fiutxE7T1jtLP
  • System Requirements: https://blenderdumbass.org/games/Dani%27s_Race#system-requirements
  • Installation guide: https://blenderdumbass.org/games/Dani%27s_Race#how-to-install
  • Short summary of game's features:
    • Story campaign.
    • Open World.
    • Vehicle Customization.
    • Racing.
    • Damage model.
    • Cinema ( playing local videos )
    • Multiplayer
    • Police

MORIA'S RACE

https://blenderdumbass.org/films/Moria's_Race/

The above link contain:

  • The movie itself
  • Movie's Source files.
  • A story about how the movie was made.
  • Links to various things.

For those unable to find them on the page:

  • The movie itself ( PeerTube ): https://peer.madiator.cloud/w/vmPmME5XPWNc8uXSMe1xCk
  • IMDB page: https://www.imdb.com/title/tt28833689/
  • Movie's Source Files: https://blenderdumbass.org/moriasrace
  • Link with more information about the movie: https://blenderdumbass.codeberg.page/MoriasRace/

Featuring a new soundtracks for Dani's Race called "Light Driving" ( and another one with no proper title yet ) done using soundfont "Touhou" cc-by by Team Shanghai Alice. The tracks themselves are CC-BY-SA and for now a test version of them are available on my mastodon.

The video includes ( at 01:18:53 ) a section from the livestream of LogalDeveloper that happened on his Owncast on 02/05/2025.

00:00 Into 01:02 Setting up the Goal 04:54 Explaining Dictionaries 25:50 Attempting to Optimize Dictionaries 30:01 RowdyJoe and Petition 31:33 Issues with Dictionary Optimization 32:46 What is Depsgraph? 38:14 Theoretical Depsgraph Optimization 40:50 Practical Depsgraph Optimization 43:42 Depsgraph: Reuse Module 45:54 Depsgraph: Opt.GoodFPS 51:15 Depsgraph: Chunks 58:58 More Depsgraph research. 01:00:07 Geometry Nodes Experiment 01:00:29 Optimizing cars for Depsgraph 01:00:50 Experimenting with hair system 01:01:09 Reducing Buildings Geometry 01:02:45 Comparing Windows vs GNU / Linux in terms of Speed 01:04:05 More building optimization stuff 01:04:47 Fixing Bad Impact Testing for better Depsgraph 01:08:50 Redesigning the Chunk System, for better Performance 01:18:24 Making Highway Race 01:18:53 LogalDeveloper Stream ( Highlights ) 01:39:29 Strange Optimization Behaviour on Ubuntu 01:40:33 Fixing bugs that were introduces by optimization 01:42:53 Celebratory Racing ( with new music )

Loading comments...