It’s been a while since I made some serious progress. A lot of time was spent thinking about how I want to do things

In the end I got fed up and decided to do things suboptimally hahah

It turns out that I have a propensity to overthink and make things too perfect! Who knew?

Progress Report:

  1. Combined WeaponData and Weapon classes (one was previously holding just data, the other just code)
  2. Deleted all but one bullet models and types, and created BulletData to abstract the data away.
    1. …Wait isn’t this the same as what the weapon was previously doing? Will I later combine them again?
  3. Changed bullet architecture:
    1. From: Each feature of a bullet is a different bullet
    2. To: Only one type of bullet, it can have different features that get turned on and off
      1. Now bullets have isBounce flag and firingOffsetAngle (in degrees)
  4. Created functionality for cards:
    1. ToggleBounce (formerly SwitchWeapon) card.
      • AtkSpeed

I’m a lot happier now that I refactored the weapon and bullet system. I can finally stop thinking about it!

That said, there is one part of my bullet that’s kinda scuffed because I couldn’t quickly think of a good solution

Demos

Oh right, I wanted to create demos hahah

It needs to be short and small cause the max size for Notion is 5MB


+Attack Speed Card

Note that as cooldown decreases, each card has a greater and outsized impact until there’s virtually no cooldown anymore

2024-07-31 Attack Speed Demo.mp4