Documents
Systems
Enemy Spawner
Description:
A dynamic system that spawns a fish into the scene to actively pursue and attack the player.
Explanation:
The system utilizes a For Loop to randomly select a fish from an array of available options. Once a fish is chosen, it is spawned into the game environment to engage the player. After the loop concludes, the system triggers the spawning of another fish to maintain continuous gameplay tension.



Time Slow
Description:
Certain enemies possess unique abilities that activate upon their defeat. For instance, when the seahorse is defeated, it temporarily slows down time, altering the flow of gameplay for a few seconds.
Explanation:
The system detects the enemy's defeat using the Any Damage node. Once confirmed, it triggers a time-slowing effect by manipulating the global time scale through the Set Global Time node, creating a dramatic and strategic gameplay moment.

