ManchmalScott

14 Followers
32 Following
44 Posts
Software Developer // Hobbyist Game Developer // Linux Enthusiast
​ ​ 
itch.iohttps://manchmalscott.itch.io/
Githubhttps://github.com/gelvinp
keyoxidehttps://keyoxide.org/4018298F66D404D5153F81686BF8451E041D0D51
@eniko take the c# route and have explicit out-parameters?

@eniko Elixir sorta does this!

and and or strictly work with boolean arguments (i.e. it is a type error to call them with non-booleans), whereas && and || work with truthy and falsey values.

@eniko

god did you see that recent fly io blog post where the author goes "uhh but actually if you're trying to be an artisan when coding you're literally doing it wrong and literally nobody will care so llms are good actually"

like damn sorry you don't actually enjoy programming i hope you get well soon

edit: actually went and read the rest of the thread and realized that was exactly the article you were talking about lmaooo

@eniko That's how I've been implementing it in my little toy engine. I have an array based hashmap per component where the entity IDs are the keys, along with bitsets so I can logical OR and get which entities have multiple components.

@eniko I didn’t even realize itch had reverse sales, that’s so funny i love that

obviously I had to buy it, I love a good sale :)

not gamedev related but I’m just losing my mind about how hot it gets here. 149 Fahrenheit inside my car today (that’s 65 Celsius), and this is the week we’ve chosen to move 🫠🫠🫠

@DamonWakes @lunacb @vozercozer

Somebody tell that to whoever is working on the snap store lmao

I went and checked, actually made a supercut of all the parts in the game awards where they actually gave awards to people.

It was almost exactly 30 minutes. Of the 3+ hour long show.

14 categories didn't even get an acceptance speech, and the ones who did were cued off in less than a minute, but yeah I really wanted to spend 15 minutes hearing kojima say nothing about a game that doesn't exist.

I'm glad I didn't watch this year, I'll probably not watch again next year. This shit is ridiculous.

#TheGameAwards

@mrmandolino
It does say "If any function consumes the event, it can call Viewport.set_input_as_handled(), and the event will not spread any more", which I think is what you're asking, but the page definitely needs an actual code example of that in action in my opinion.

I'd open a PR to add one but I've had a PR open to fix one of the doc pages since actually January that's ready to merge but just...hasn't, so I'm not really inspired to try :/

Maybe you'd have better luck?

@mrmandolino There is some documentation about how input handling works, though it's a decently sized wall of text which makes my eyes glaze over a little bit.

https://docs.godotengine.org/en/stable/tutorials/inputs/inputevent.html#how-does-it-work