Hi forum! I'm brand new at Godot, and I really like what I've seen so far in various tutorials. So now it's time to move onto my own projects. Day one … and I already have some very basic questions:
I think I'll try to keep my code as type safe as possible, so the whole static typing thing is quite clear. It's nice to have the green safe line number indicator in the editor. Sometimes, however, the code seems to become a bit verbose to achieve that? For example just to let the editor know that $Shape
is a Polygon2D
I need to write:
( $Shape as Polygon2D ).color = Color( randf(), randf(), randf() )
It's fine if that's the only way, I'm just wondering if I overlooked something.