After 3 years of tinkering with Godot I finally released something to one of the "serious" stores - Google Play. It's not a big deal if you think about it and the game is free, but still an achievement.
Not downloaded yet
In this archive from Jun 2020 to Jan 2026
Thank you for your work.
a) Yes, you should
b) No, you should reconsider it
So, regular expressions, here we go
If anyone interested, how it's done:
It takes this Simplex noise 2D implementation https://gist.github.com/patriciogonzalezvivo/670c22f3966e662d2f83#simplex-noise . To add granularity you should use octaves like here https://www.shadertoy.com/view/Msf3WH (I use 11 octaves, with non-linear coefficients instead of 0.5, 0.25, etc.). To randomize the noise I offset the noise by a random vector in the range (-50, -50) to (50, 50). I also wanted the shores to be smooth somewhere, so I added another layer of noise, "geo noise" and multiplied the coefficients of the finer grain octaves by it.
The video shows the difference between frame time measured by OS timer called in _process() and Godot Performance.TIME_PROCESS and FPS metrics. The latter two are interpolated between several frames, as I understand, and it makes it harder to understand what immediate actions cause freezes. Of course, it can be better understood by using the built-in profiler, but there are cases where this approach could also help.
Here is an asset store link https://godotengine.org/asset-library/asset/746 and github repo https://github.com/aleksandrbazhin/GdPerfMonitor
The second part of the video shows the game I am working on https://www.reddit.com/r/Sailing_west/ . In the video there are clearly visible drops on map update and even more drops caused by redrawing UI. The first drops are not shown by Performance.TIME_PROCESS or FPS at all, but may be important in some reaction based games, I guess. And the second tell us that it is not a good idea to make a lot of nested Container nodes recalculate the position of their children.
Overall it does not replace the profiler, but can act as first line when monitoring performance. Also, I am not sure if it is needed at all and the plotting is not optimized enough, but I find it convenient.