• 0 Posts
  • 21 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.



  • I’m in pretty much the same boat. My past 2 laptops have been dell inspirons with a touchscreen. I use the touch screen for game programming to make sure touch events work. The one I got was $500, but probably should have gone a bit higher.

    It has a i5 processor 16gb ram, 1 tb ssd. It does indeed run tf2, guild wars 2, and other not graphically intensive games. I’m satisfied and it does work well, but below are some of the negatives of my new laptop vs my old.

    It’s missing key backlights, a fingerprint to unlock, and the bodyvis much more plastic and feels not as secure as my wife’s lenovo.

    Be sure to check out pics for keyboard arrangement. My new laptop has a numberpad…which is nice, but the arrow keys got shrunk which is not nice for programming.

    Be sure to check where the trackpad is. Centralized is better. My new one is more to the left and my wrist hits it when playing tf2 and I do occasionally get some movement from my wrist in game, but not much.

    I picked money up from amazon.











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






  • I’ve read all these series. WoT seemed to drag toward the end and i didnt care for the last few chapters. It felt like there was too much to wrap up with too few pages so it felt rushed and unsatisfying.

    I love all works by Sanderson so I’ve read all mistborn(except the new one from last November #7 I think). Excellent series. Have you read Elantris by Sanderson. I thought that was a very unique one off book that I couldn’t put down.

    I just started the final set in the farseer/liveship series. I loved the first farseer trilogy. I felt the second trilogy(live ship trilogy) had a significant change of pace and almost skipped it. I really liked the first person view of fitz. In the end it was good and there are a few tie ins to later trilogies.