Skip Navigation
Implementing triggered abilities
  • 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

  • Implementing triggered abilities
  • 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.

  • Is it possible to safely "give away" a Steam account to a stranger?
  • Not sure about all the personal stuff, but it is against the TOS to transfer the account.

    Big answer is I DONT KNOW, but...

    For payment/address stuff you could change them then try to revert to see if it works. For payment get a $5 gift card from Wal-Mart and set that as the credit card.

  • Suggest a Laptop for me.
  • 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.

  • None of these anchors are real: Channel 1 plans for AI to generate news, broadcasters
  • I watched the whole thing. I think most anchors talked a bit too slow which seemed fake. Those hand gestures were weird especially for (I don't know his name) the black anchor. Very rigid fingers.

    The main cringe section was the movie section where they tried to have the black anchor act sassy but that's hard with a very level speaking tone and speed.

    Honestly, I'd watch something like that once a week.it was nice to get a broad cross section of news.

  • Recommend a game for me to play with my partner
  • I play a lot of games with my 10yr old daughter. Here are some of what we liked:

    -Any lego game(there are sooo many and they often go on sale)

    -trine series, much more puzzley

    -sackboy a big adventure

    -brothers a tale of two sons

    -it takes two

    -portal 2

    -degrees of separation

    -putty pals

    -ibb and obb

    -toodee and topdee

    -bleep bloop

    -battle block theater

    -chariot

    -pikunuku

    We also loved going through the monkey island games. They are not mumtiplayer but they are slow point and click games that we bounced ideas off one another.

  • Dev snapshot: Godot 4.2 beta 3
  • It really feels like the developers are shooting themselves in the foot because they are missing a lot of exposure in game jams.

    C# cant export to web, gdscript can but only on certain sites that have specific settings.

    3.5 you could export everything to everything...

  • [bug] On Android I see & instead of &( and symbol)

    !

    In this picture you can see it in the title of the one post. I have noticed itnin comments sections as well.

    I see this nearly daily.

    I remember seeing a different code on comments as well. It was something like  

    8
    godot 4 web export

    Godot 4.0 broke web exports without a webpage having certain headers(over my head content), but sites like itch have those things. I believe the explanation was because of having mulit-threaded support in the engine.

    I have held off upgrading from 3.5 because my games I publish on my simple github page and that change on 4.0 would not work on my github page.

    There was rumor of providing a single threaded web mode in future releases(4.1 was mentioned), but don't know if this happened. I check release notes every few months but haven't seen if this change has been made.

    Are web exports fixed for godot now?

    6
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)KY
    Kylamon1 @lemmy.world
    Posts 2
    Comments 49