I recently made a virtual PC for my game and had to work with cursor icons. Thanks to this tutorial I know I can make the I-beam icon better using the offsets
@cashewolddewКүн бұрын
I'd love to see that game out one day! Thanks for the support 🥜
@635574Күн бұрын
Another solution for the mouse over passive elements is to add a flat button(it does not render), but that seems to block the tooltips and other properties that require focus underneath.
@cashewolddewКүн бұрын
Hey, that's really smart! Thanks for the cool tip! 🥜
@prajwalparashkar9793Күн бұрын
This is very helpful thanks
@t.e.e.j.a.yКүн бұрын
Awesome tutorial 🙏🏼
@kevinmakesgames2 күн бұрын
Great tutorial! I haven't needed to customize cursors yet but this was very well explained. Definitely a video I'll return to when I need it.
@cashewolddew2 күн бұрын
I'm so happy to hear that! I'd be glad to know it helped you 🥜
@TheWootfishКүн бұрын
This is really good stuff, and not only for working with cursors - eg the idea you use in implementing apply_cursor_to_node_type seems very broadly useful
@cashewolddewКүн бұрын
Thank you! It would be fun to see what solutions others come up with in regards to changing the cursor for complex UI components. 🥜
@danforce42222 күн бұрын
Useful videos! Subscribed
@cashewolddew2 күн бұрын
Thanks for the sub! 🥜 Glad to see you here again!
@senjos2 күн бұрын
The water at the beginning looks nice ;)
@Lowwaels2 күн бұрын
thanks
@GoDogGameКүн бұрын
I hit subscribe before the plug lol
@cashewolddewКүн бұрын
You're a real one! 🥜
@GabrielGamerFreitas22 сағат бұрын
hi! just discovered your channel, great video it isn't related to this this video theme at all, but at 8:16 it got me thinking: in other languages i was advised to avoid things like this loop which calls the get_children() function/method every single time, as function calls are expansive and in this case unessessary. so instead i was taught to declare a variable that calls this function only once, and loop through this variable. i know that some languages optimize this automatically, but i'm new to godot, so does godot script also have optimizations like this?
@cashewolddew14 сағат бұрын
That is a nice idea! I think it depends on which resources you want to use. If you want to use more CPU power, you can do it like in the video. If you want to use more memory, you store things in variables. However, in this case, optimization isn't that necessary, as the function is called only once, and it loops over around 100 elements, which is done almost instantly. 🥜 Thanks a lot for subscribing! 🥜