• 0 Posts
  • 17 Comments
Joined 7 months ago
cake
Cake day: December 2nd, 2023

help-circle

  • It’s hard to give advice about how code should be structured, since there’s many ways of accomplishing the same things, but you’re doing the right thing by thinking about scalability before you get too deep to change it.

    You could try separating eacg trigger condition into their own functions, so that if an OnAttack gets triggered it will only check and loop through OnAttack abilities.

    Something like:

    OnAttack.connect( CheckOnAttack )
    OnDamaged.connect( CheckOnDamaged )
    
    func CheckOnAttack( ATTACK_TYPE ):
              match ATTACK_TYPE:
                      ....
    
    func CheckOnDamaged( DAMAGE_TYPE ):
             match DAMAGE_TYPE:
                      ....
    




  • “Hijinks” makes me think of exactly the kind of casual mess-with-your-friends gameplay that can happen with Nintendo games. I like it.

    As a side note, I’m curious to see how the game turns out. Nintendo Land was the only game I’ve played on the Wii U that made proper use of the game pad, and the ghost mansion was my favorite minigame.












  • I had an English essay assignment senior year of high school that I didn’t want to do. I looked through my old essays (never used to delete things) and found one that was almost the same prompt, so I thought “screw it” and changed the date/class name and submitted that. I didn’t give much thought to it, but every teacher used the same essay plagiarism checker, and my essay got flagged as being previously turned in. The teacher pulled me aside in class and gave me a lecture about plagiarism and why I can’t submit other people’s work, so I told her to check the name on the original essay because it was mine. Once she realized I had “plagiarized” myself, she let it go but told me I had to redo the assignment anyway because I “can’t re-submit old work”.