
Hello, dear friends!
Last week we told you about such an interesting mechanic as Plant, and exactly how it will be implemented in the game itself. Today we want to delve into the technical part of this system and talk about how it all works in practice.
📌 Part 2.
The Plant system is designed to solve 2 main tasks:
1. Creating zones for the appearance and disappearance of many monsters at specified points.
2. Changing the behavioral characteristics of Plants.
Let's talk about each item separately.
1. The feature of this system is the activation of habitat zones and the nth number of points of appearance of creatures in it. When the player's character crosses the border of the zone, the spawn points are activated in it, which in turn create in their place related Plant instances. In addition, the zones themselves may overlap with each other. That is, when one of the zones is activated, Plants appear not only in the corresponding zone, but also at the point of contact. At the same time, each zone will use the contact zone as its own. At the moment when a player leaves one of the intersecting zones and moves to another without leaving both at once, the Plants in the area of contact do not disappear. In the rest of the area, the zones that have just been touched appear, and in the zone that has just been left they disappear.
2. The behavior of the Plants depends on which zone the player is in at the moment. There are 4 such zones in total.
- Neutral. Plant does not react to the player in any way.
- Preparation. The Plant begins to feel the player, move and reach out its tentacles.
- Attacking with medium damage. The Plant attacks in a circle in the range.
- Attacking with maximum damage. When the player is directly under the Plant, he attacks it straight down with all his strength.
In addition, our team does not forget about optimization. We try to correctly place habitat zones, do not load the system with unnecessary areas, and also monitor the balance of difficulty and the number of enemies on the level so that you feel comfortable and interesting playing our game!)
🔷 You can support our project:
• Boosty - https://boosty.to/ovnru
• DonationAlerts- https://www.donationalerts.com/r/ovnru
• VK Play - https://vkplay.ru/play/game/pigeon_ovnru/
🔷 Subscribe to our social networks to learn more about us:
• Discord oVnRU - https://discord.gg/EEqZGQmqvK
• Twitter oVnRU - https://twitter.com/oVn_RU
• Website oVnRu - https://www.ovnru.site/
• YouTube oVnRU - https://www.youtube.com/channel/UCj_SJnOtyYUyS2QF2zGuxCg
