Dev Log #1 – Grasping the Basics of Pygame
.
Since I’m new to Pygame, my first goal has been learning the fundamentals and applying them to build the foundations of my game.
.
So far I’ve implemented:
.
.Basic gravity
.Collision detection with the floor
.Upward player movement using mouse input
.Loading and displaying sprites and backgrounds
.
Building these simple features helped me understand how the game loop works, how collision is detected using rectangles, and how offsetting the player’s y-coordinate can be used to create gravity.
.
At the moment, the player is represented with a placeholder sprite, as my focus is on the code behind my game (and art has never been my strong suit).
.
I’ve been using the following tutorial, a learning resource that has helped me greatly:
.
https://youtu.be/AY9MnQ4x3zk?si=x9KrrOI12N1CwT29
.
Now that I have an understanding of the basics, I’m going to start moving towards creating the mechanics required for the actual game.
.
My goal before the next dev log is to have a basic title screen completed and, if possible, implement the recoil mechanic for my player.
.
Progress is slow at the moment, but every feature I build teaches me something new. Hopefully, the next update will be bigger and come together more quickly (as long as all goes well 🤞).
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.