Yes, it's prebaked here, but realtime generation is somewhat similar. You can use a shader with a stencil buffer to form the shape of the creep, which will be filled across the ground plane behind it. In this case, the build map will be filled with the shape of this stencil layer instead of textures. It takes some time to create and set up, so we don't use this technique within jam time limits.
Augenblick848
Creator of
Recent community posts
Hi! We are glad that you like our game.
A creep is a number of textures that replace each other on a ground plane like frames. We also have something like a “build-up map” which is a low resolution grayscale texture where black pixels are free to build up and white pixels are not. It is generated at runtime from the creep textures and the position and size of towers in the game logic, and is used to check when the player wants to build something. This could be implemented in more lightweight way by using a bool[,] map instead of a texture, but Unity has some useful functions for dealing with textures, so we'll use them to speed things up.
Сегодня обнаружил, что игра сильно подвязана на FPS и соответственно на частоту обновления экрана, который ограничивает их по v-sync. Весь баланс по итогу заточен под мои 165 гц, на которых игра гоняется весьма динамично, а на чём-то поменьше всё словно в киселе.
Обидно, но я давно не делал ничего масштабного на Godot. Не думал, что он мне такую подлость устроит. ಥ_ಥ
Ещё можно умереть от нехватки кислорода / воды / еды, и должна была быть концовка с озвученной катсценой и титрами в конце пещеры (на глубине около 370 метров), но игра там вылетает. Можно считать за концовку :D
Пока планируем доработать постджем версию до того состояния, в котором игра задумывалась изначально, а после уже будем смотреть на сторы по ситуации.