💾 Archived View for devlog.thermokar.st › 2022-03-22.gmi captured on 2023-03-20 at 17:43:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

➡️ Next capture (2024-02-05)

🚧 View Differences

-=-=-=-=-=-=-

2022-03-22

Dispatching

11:00am

I mentioned a while back that the signaling system in Godot reminds me of the signaling system in Ember. The popular acronym there was "DDAU" - data down, actions up. I'm sure variations of it exist in other languages and frameworks, but it was _everywhere_ in the ember 2 days. Its a nice concept for reminding developers how to model unidirectional dispatch in a disciplined way. The way this works in ember 2 is that parent components/controllers should pass any data they own into their children's constructors, methods, etc. If a child needs to mutate the parent, then they should do that through a function curried to the child. Unfortunately in godot we don't have first class functions. It's possible to cut a reference to a function and pass it around, but I suspect there's a reason no one does it that way. Instead, we use signals to communicate up the scene tree. The annoying thing about that is signals are global - you have no easy way of knowing who is emitting or observing a signal. I hope this changes in godot 4.

12:00pm

My new office chair showed up a few days ago - I love it. It was relatively cheap, moves/customizes in the way I need it to, and offers pretty great head support.

12:45pm

Did I mention that I bought a GameShell kit? I'm really stoked for it. I should be able to target godot builds to this platform (with a bit of work). Plus, I would love to play with writing gameboy assembly some day, so this is awesome. I think it said 60 or 90 day lead time on delivery, though, so it'll be a while before I see it.

GameShell Kit

Home

© 2023 Matthew Ryan Dillon