DEV Community

Mario_V
Mario_V

Posted on

Flatiron Phase 5 Dev Blog

Hello to whoever might be reading this. This will be my final Flatiron Dev blog but hopefully not the last Dev blog I write I plan on making games so I'll probably use this as a way to make updates about them. Either way, though I need to talk about my project that I am very proud of even if as of me writing this it isn't complete.

Monday I started off by fixing a bug with Ursina where the code couldn't find my monitor I had to add this line of code after line 39 self.monitors[0].is_primary = True in window.py for Ursina to identify my primary monitor as my main one and run the code properly. After that, I tried fixing another major issue which was the fact that the player could not turn at all and I realized that the reason for that was that I was missing code that could rotate the model of the car but would not let the player move on the X axis.

Tuesday was me fixing networking on my server because I hadn't realized I indented code incorrectly and just forgot to add a way for the player to call on my multiplayer.py script that was supposed to handle all the communication between A. the clients to servers and B. the servers to clients and I can not lie after this I was too afraid to touch the game in fear that a change in a completely different script would break the server and stop the players from seeing each other.

Wednesday I spent most of the day thinking of a script and slides for my presentation the next day because again I was too afraid of touching my project in fear that it would break so there wasn't much in terms of development really. The slides I ended up making that day I didn't end up using anyway because I just didn't like them and decided to make new ones the next day.

Thursday, presentation day, was spent making last-minute adjustments to my code so that the window would open on a specific monitor to make it easier to record, you can use the code I talked about earlier for that just change the value of zero to any monitor you want, and once the recordings were done I finished my slides along with my script and got ready to present. Oh, and if the people attending read this I ended up forgetting about the script and used what I remembered to sort of wing it.

Anyway thanks for reading this and I hope it was useful or at least informative if you would like to see the project here's the link to the repository I created for it.

Top comments (0)