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

help-circle







  • je_skirata@lemmy.todaytoLinuxWhy do you still hate Windows?
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 months ago
    1. The joy of “figuring it out” and customizing everything you want to the minutest details

    Customization is my reason. I’ve got a two-monitor setup in KDE with different panels on each one. Each one is highly customized specifically to me, and the customizations can’t be done in Windows.




  • 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.