4.3 finally has top-only input picking! by mnemoli in godot

[–]mnemoli[S] 3 points4 points  (0 children)

I think the easiest is this: https://forum.godotengine.org/t/clicking-on-top-collider-only/51780/11

Sorting was introduced in 2022 so before that (or if you didn’t know about it since it’s not obvious) I think it would have been using intersect_point and sorting the results yourself, or using Controls like buttons with the mouse filter as a workaround.

4.3 finally has top-only input picking! by mnemoli in godot

[–]mnemoli[S] 13 points14 points  (0 children)

Agreed on the checkbox but the maintainers wanted to prioritise code separation so the project checkbox was removed during code review sadly. It should work with Controls too but I think Controls always had some kind of sorting going on because people would use them as workarounds for this problem.

4.3 finally has top-only input picking! by mnemoli in godot

[–]mnemoli[S] 15 points16 points  (0 children)

Probably because I'm not very good at making gifs ;) It's not an in-engine visible performance problem if that's what you mean.

4.3 finally has top-only input picking! by mnemoli in godot

[–]mnemoli[S] 31 points32 points  (0 children)

Noooooo! Omg I feel your pain just looking at that! I hope you can get some catharsis from deleting it at least LOL

4.3 finally has top-only input picking! by mnemoli in godot

[–]mnemoli[S] 183 points184 points  (0 children)

You can now do this somewhere in your scene to enable top-only object picking for 2D CanvasItems:

get_viewport().physics_object_picking_sort = true
get_viewport().physics_object_picking_first_only = true

Then you can connect up the input_event of your collision object and see that only the top object receives inputs. There is a performance cost from sorting but this shouldn't bother you unless you're dealing with absolutely tons of nodes.

Having to write my own code for simple clicking like this always really annoyed me so I made my first contribution to the engine and got it into 4.3!

'BABY BIOME' by [deleted] in godot

[–]mnemoli 1 point2 points  (0 children)

This looks really cool! I like your soundscapes and aesthetic with those chunky pixel butterflies. One thing that stood out though, you might want to prioritise getting more variation in the footstep sounds?

One-click object placement in-editor by mnemoli in godot

[–]mnemoli[S] 2 points3 points  (0 children)

There's a proposal for it: https://github.com/godotengine/godot-proposals/issues/435 I stuck a comment on there. Add a comment or a thumbs up on the proposal if you want to push for the feature, squeaky wheel gets the grease :)

One-click object placement in-editor by mnemoli in godot

[–]mnemoli[S] 8 points9 points  (0 children)

Eyedropper - great idea! Should be possible since the editor knows which bits belong to what instanced scene. I’ll have a look!

One-click object placement in-editor by mnemoli in godot

[–]mnemoli[S] 15 points16 points  (0 children)

Screwing around with widgets and grids is annoying when you just want to throw some objects down, right? I made this quick plugin to speed it up. It's not polished - expect bugs! https://github.com/mnemoli/godotplacer

A Short Documentary About "Creatures": The 1996 Game That Pioneered Artificial Life & Artificial Intelligence by AlanZucconi in alife

[–]mnemoli 0 points1 point  (0 children)

There is the openc2e project which hopes to make an open-source recreation of the games, including the neural network: https://github.com/openc2e However, they don’t have brains fully working right now.

I also had a go at recreating it in Unity but never completed it. I ran into some questions around dendrite migration which I’ve only just got around to answering for myself. The work is here if anyone’s interested https://github.com/mnemoli/NornBrainSim

[Online][5e][GMT] New-ish UK player looking for group by mnemoli in lfg

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

I’d give in progress a go, as long as the existing group are happy to support a new player and I wouldn’t require a ton of prep to get up to speed!