Py Logs #3: Keyboard Interrupt?

nubb
2 min readSep 19, 2023

--

Hello Medium, it’s been only 5 days, but I feel like I’ve just gone through years of programming, and not just in Python. Anyways, let’s recap what’s been going on!

(You’ll know why this image is here soon!)

So What Have I Been Up To Lately?

Well, I did some more python practice, this time learning while and for loops! It was pretty fun doing stuff with them. Me personally, I definitely like the premise of for loops more than while, thanks to their ability to loop through things and return outputs. While loops are also pretty nice for just doing things over and over again for a longer period of time, compared to for loops at least (provided x is true, the loop keeps on going, which I believe is much better for larger operations like modifying something in a list, string, etc.)

Not much has been going on with Python, HOWEVER, lots of stuff has been going on with Unity. Since the last Py Log, there have been a number of additions, which weren’t specified in the previous story (unless my smooth brain forgot that they’re there). Such additions include:

  • Basics movement abilities like “walking” and jumping
  • Rotation “correction” (Basically prevents the sprite from tipping over platform edges)
  • Collision detection with Deadly surfaces to cause character respawns
  • Level progression (reaching the end of a level progresses the player to a new one by colliding with a specific block)
  • Pause menu that pauses the game (crazy, I know), and allows the player to resume game functionality through a button interaction

That’s the gist of it all, and to be honest, I can’t really be bothered to add much else to it. And something very noteworthy is that, without the help of ChatGPT and YouTube, I definitely wouldn’t have completed this project in under a week. And finally, before the closing message of this log, that image from before? Yeah, that’s the sprite (BTR is my life now as it seems…)

Final Thoughts

Another Py Log down for the count! I’ll be starting up some 3D development soon, since my 2D project is effectively finished now. However, if you guys do want me to add something to the project, feel free to comment your thoughts!

Anyways, I’m going to chill for the rest of the day. Have a good rest of your day, Medium!

(I’ve finished the anime a few days ago. Honestly, 11/10. It’s freaking amazing.)

--

--

nubb

Some guy programming and telling the world about it || Check out my projects here: https://github.com/nubbsterr