• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: July 16th, 2023

help-circle
  • So player has all these nodes that provide abilities. Each node has a signal that the ability is activated. This is correct. What you do after the signal was your question.

    The two options i described were:

    #1 don’t just connect to one omnibus function. Don’t connect them all to a _gave_ability() function. This is what it sounds like you are doing. Instead seperate into seperat smaller functions. Connect ability As signal to functionA(), and abilityB signal to functionB(). Then yiu are not checking all 19 cases everything a signal is called.

    #2 if you are using the omnibus function _give_ability(ability), set an input parameter for the signal saying which specific signal was emitted. This can be done by code or the inspector when connecting the signal.

    Then on _give_ability(ability) do:

    match ability: abilityA: Give ability


  • Without knowing your specific situation, it seems like each of you signals should not be connecting to one master “abilities” function to dole out the effects.

    Instead each signal should connect to its own function and that function is responsible for only its specif effect.

    ====== Another thought would be if you like your setup, change the if statement to a match/case. For many simple if checks the match is more optimized.








  • My daughter and I have played through quite a few games. Here are our favorites:

    • ANY LEGO game, we have played through many of these
    • The TRINE series. They are fun puzzle platforms
    • portal 2 co-op. There is a campaign and other maps on the workshop
    • brothers: a tale of two sons. Sit right next to each other and share the controller
    • Unraveled 2, puzzle platform errors
    • It takes two is an amazing game from EA.
    • sackboy: a big adventure
    • battle block theater is a fun romp
    • bleep bloop
    • degrees of separation, mostly fun there was a few annoying puzzles, but many can be skipped
    • guacamole is a nice battle platformer
    • ibb and obb is a very unique puzzle platformer
    • octodad is pretty great fun
    • pixel junk monsters is a tower defense style co op game
    • putty pals is a fun if childish looking game
    • spelunky is a rogue like
    • toodee and topdee is a fun puzzler

    Those are our favorites!


  • I started doing diamond art. Here is a cheap set with honestly 100+ hours of content. AMAZON LINK

    I would put on a TV show and sit at my desk and Diamond art for a few hours before bed. Each picture takes 10-15 hours in my experience. When I was done I would find someone to give the picture to.

    So not only have you accomplished something and you can SEE THE PROGRESS, you don’t need a big shift in your life of watching youtube, and at the end you get to make some else happy by giving them a gift. And for a hobby it’s fairly inexpensive.