![[icon articles]](/icon/scene) So I Cleaned Up Some Spaghetti from Dani's Race Code
So I Cleaned Up Some Spaghetti from Dani's Race Code
![[thumbnail]](/pictures/thumbs/cleaned_some_spaghetti.png)
![[avatar]](/pictures/favicon.png) Blender Dumbass
 👁 141 💬 0
  Blender Dumbass
 👁 141 💬 0 
A few days ago I had told you that I'm stopping with making the police station in my game 
Dani's Race because it had a 
Spaghetti Code Problem. The 
main() function in the 
Main_Update.py file was 1683 lines of code long and contained way too many things in it. At the moment, the same function is down to 641 lines of code. This is still way too much stuff in the 
main() but this is a hell of a lot of reduction.
#DanisRace #MoriasRace #GameDev #FreeSoftware #Gnu #Linux #OpenSource #GtaClone #Programming #Python #SpaghettiCode #UPBGE #blender3d