You are browsing as a guest. Sign up (or log in) to start making projects!

1h 17m 15s logged

I made some pretty drastic changes, but for the better.

  • First, I added shooting. I drew up a quick bullet sprite (also getting changed in the future). The main thing with this was that I wanted to have the Player class have its own .shoot() method, but that required me to pass the sprite Group object, as well as the actual sprite image into the function. I searched for a “better” solution for a while but ultimately couldn’t find one. The shoot() method handles the placement, the creation of the Bullet object, and adding it into the Group.
  • I have an actual file hierarchy now! I took inspiration from DaFluffyPotato, though I am using an assets folder instead of data, because I won’t be storing anything other than sprites and maybe sounds. Also, I will store the .ase files for the sprites just in case, so that I can fully edit them in Aseprite if there are any layers. The one roadblock I came across here was that the paths to the assets were kind of confusing, but I figured it out quickly.

Overall, I think it’s coming along great!

0
4

Comments 0

No comments yet. Be the first!