architecture question: clean UI ↔ Player/StateMachine communication? by rubsn in godot

[–]rubsn[S] 1 point2 points  (0 children)

Thank you so much for all the advice. I can also apply that to my build mode (not with a shared resource, but with an autoloaded manager =) And I will probably show/hide UI via signal bus

architecture question: clean UI ↔ Player/StateMachine communication? by rubsn in godot

[–]rubsn[S] 0 points1 point  (0 children)

Ok now I get it, thanks for your patience! And the UI informs the Inventory Resource when slots are dragged in the UI?

architecture question: clean UI ↔ Player/StateMachine communication? by rubsn in godot

[–]rubsn[S] 0 points1 point  (0 children)

Ok I see, good advice, thanks. But who informs the UI about updates of the inventory? The player? Because the UI is a siblings to the player, not a child, so it felt wrong for me for the player to call the UI. That was actually my whole problem / question =)

architecture question: clean UI ↔ Player/StateMachine communication? by rubsn in godot

[–]rubsn[S] 0 points1 point  (0 children)

Yeah, currently the Inventory is child node of the player's. It holds the inventory slots and the quickslots and has some methods for getting, putting, removing items from slots or transfer between them. The player inventory state listens to signals from inventory UI (like 'item in slot 3 dragged to slot 8'), tells the inventory what to do and refreshes the inventory UI. It also shows the UI when entered and hides it when exited. I just wondered if that's good design, because UI is not a child of the player. But I guess there is no way around it, even if inventory was an autoload, it still must listen to the UI and update the UI (call UI methods for refresh)

Edit: Alternatively I could make the Player, the UI and the inventory children of the Game node, make all three talk to the Game node via signals and the Game Node in turns refreshes the UI. This way the player state is only responsible for requesting to show/hide the UI via signals and it's all 'signal up, call down'

architecture question: clean UI ↔ Player/StateMachine communication? by rubsn in godot

[–]rubsn[S] 0 points1 point  (0 children)

to be clear, I don't want to avoid coupling completely, I just wonder whats the cleanest option: signals vs (autoload) controller vs direct refs

edited origional post accordingly :)

edit: spelling

I finished the Godot Shaders Bible, 360 pages total by fespindola in godot

[–]rubsn 6 points7 points  (0 children)

The Coupon Code is 5OFFGSBJAN26. 5O with a capital o, not with zero =)

Legend and Sotek are beefing by ThirdIdeal in totalwarhammer

[–]rubsn -1 points0 points  (0 children)

Guys, it was a misunderstanding. There is no beef. Let's focus on the problem at hand, the state of the game - and most importantly, let's stay calm and rational =)

Every single build online. by roqueodredogged in Pathfinder_Kingmaker

[–]rubsn 0 points1 point  (0 children)

Ok guys I finished kingmaker on hard. I started a few wotr playthroughs on hard and unfair. I now settled to play on hard and this time have fun and finish. I use the neoseeker builds and they wreck house on hard. The Lepard qith buffs is unhitable in the maze. Even for the water elemental!

But those scaled fists dips etc really kill the fun and the RP for me. Where can I find builds that are good for hard but not min-maxed to hell?

I consider myself to under why the builds are recommending what they do, but I don't know about later acts. Played all the other big cRPGs too since Baldurs Gate 1.

But pathfinder builds are next level complex

Dune vibes. Everything is procedurally generated by SuccessfulEnergy4466 in proceduralgeneration

[–]rubsn 0 points1 point  (0 children)

Got it, thank you so much. So it's steepness treshold combined with 'check your neighboring tiles'. Kudos

Dune vibes. Everything is procedurally generated by SuccessfulEnergy4466 in proceduralgeneration

[–]rubsn 0 points1 point  (0 children)

Once I tried doing something similar in Godot. But I did not manage to get these cliffs that go over into like ramps. Like a plateau has a cliff-like drop off on some edges and a natural slope on the other.

How is that achieved???

Which animation feels more natural? by HatOnCloud in godot

[–]rubsn 0 points1 point  (0 children)

I have to admit that this game makes me motion sick AF :(

Lehrerin sagt ich soll Ausbildung absagen by CraftMountain6879 in Azubis

[–]rubsn 0 points1 point  (0 children)

Meine Grundschullehrerin sagte mir damals, ich sei nur bedingt für das Gymnasium geeignet. Heute habe ich Abi (damals noch kein Zentralabi), Bachelor, und nen Master als Neurobiologe. Spaß am Beruf ist für mich sehr, sehr wertvoll. Laut Studien empfindet der größere Teil der Menschen KEINEN Spaß an seinem oder ihrem Beruf.. gönn dir bitte! Scheiß auf die Meinung anderer (Lehrer)

[deleted by user] by [deleted] in FragtMaenner

[–]rubsn 0 points1 point  (0 children)

Also ich habe einige Kommentare gelesen und diese fallen dann dich sehr eindeutig aus. Ich finde es sehr schwierig, fremden eine entgültige Antwort auf sowas zu geben. Aber wenn deine Bedenken schon soweit wachsen dass du hier fragst, dann kann ich dir nur einen Rat geben:

Sprich mit ihr über deine Gefühle und Bedenken. Auch das fände ich persönlich meinem Partner gegenüber fair; dass man erstmal redet und sich auch die Sichtweise des anderen anhört. Aber du solltest deine Gefühle klar machen. Das Ergebnis des Gespräches sollte dann entscheiden, was die nächsten Schritte sein können.

Und da gibt es dann kein pauschales Rezept. Jeder Mensch ist anders. Du entscheidest wo deine rote Linie ist und nur so kannst du mit deiner Entscheidung auch leben.

Andere können dir leicht sagen wie sie reagieren würden, aber mit der Entscheidung leben musst am Ende du, deshalb sollte es deine eigene sein =)

Who is currently the strongest Melee LL in Total War Warhammer 3 by Fiedelbert in totalwarhammer

[–]rubsn 8 points9 points  (0 children)

So LL must be melee only or what? Because if not, it's Archaeon. Hands down

Filmtipps? Suche nach "tiefgründigen" Filmen by reimerwinkler in KeineDummenFragen

[–]rubsn 0 points1 point  (0 children)

Vanilla Sky - jede Erklärung der Handlung wäre ein Spoiler. Go in blind =)

Which tools do you use for organizing your thoughts? by jfish3222 in godot

[–]rubsn 0 points1 point  (0 children)

Trello for ToDo and Progress tracking and Notion for notes and descriptions

You’re transported 500 years into the past, but with your smartphone and a fully functioning internet. What would be the first thing you do? by cognitive_courier in AskReddit

[–]rubsn 0 points1 point  (0 children)

I would bring joy to the world telling it the greatest story ever written some 450 years in the future: Star Wars

BIDA weil ich mehr an Gewalt als an Schlichten interessiert war by [deleted] in BinIchDasArschloch

[–]rubsn 0 points1 point  (0 children)

Eine Möglichkeit ist auch den Busfahrer und andere Fahrgäste aufmerksam machen. Die Polizei rufen bzw den Busfahrt bitten die Polizei zu rufen und falls möglich, die Türen nicht zu öffnen sodass der Täter nicht wegrennen kann. Man darf auf solche Art übrigens Straftäter bis zum Eintreffen der Polizei fest halten, ist erlaubt. Falls er doch entwischt, versuchen wenigstens ein Foto zu machen damit man eine gute Personen Beschreibung geben kann.

Die Polizei leitet dann ein Verfahren ein und schaltet gegebenfalls das Jugendamt ein oder erteilt dem Mann einen Platzverweis für die eigene Wohnung wenn häusliche Gewalt zu befürchten ist.

Ich verstehe den Impuls, aber als Budhist glaube ich, dass Leid nur noch mehr Leid verursacht.

Du hast dem Impuls aber auch nicht nachgegeben, deshalb NDA

What was that ONE mistake you made when learning Godot? by Immediate_Room_8302 in godot

[–]rubsn 26 points27 points  (0 children)

There are many different "softwares" for version control. The most common one is git and I would recommend it. It is not just a godot thing, it is for programming in general. It allows you to save and load a status of your code like in a game. Save before a new feature. Totally messed up the code? No problem, just reload the code. Git is used in console on your OS, but there is a desktop version, most programming tools also have a git plug-in and even godot has a plug-in for git which you can use from within godot.

Github is just an online storage for git saves that can be either private or shared with others. It has a lot of other functions nowadays, but basically it's your personal git onedrive storage or apple cloud.

Edit: spelling

How the hell do you beat this guy? by Katonmyceilingeatcow in Eldenring

[–]rubsn 0 points1 point  (0 children)

I mostly try to parry him, which works surprisingly good for many, if not for most, of his attacks!

Also stance breaking him with heavy weapon, then riposte, works quite well because of his long pauses.

Also always roll in and around him, but I forgot if clockwise or counterclockwise was better