Gemini000 wrote on 2025-05-27, 00:06:
Interesting... I was not aware that was how it worked... although it makes sense from a technical standpoint. 😮
It's a VERY bizarre way to even implement this. You'd think enemy spawns would be something they'd throw into the level definition file itself but for some reason they designed it to revolve around checking for actors marked as "copycat" and spawning those around the player so long as said "copycat" enemies continue to exist in the level, which results in their spawning permanently becoming disabled if those enemies die for any reason.
Usually for this reason, atleast according to level editor docs; the "copycat" enemy is typically placed somewhere well out of reasonable action zones to effectively prolong the spawning enemy as much as possible.
Another thing that is VERY bizarrely coded are the "cavern systems". Tunnels in Terminal Velocity are separate maps the game travels to/from as seamless as your memory and filesystem bandwidth permits. However: A tunnel system can be flagged to come out in what is considered a "cavern" which is a specifically built area in the main level where the terrain tiles reach all the way to the cloud layer. Adjacent tiles define the textures to apply to the "ceiling" of this cavern. When a tunnel is flagged to exit into a cavern area, the engine is still loading back into the main map but in a special use case where instead of displaying clouds and sky, the tiles adjacent to the "cavern" are "folded over" to form the roof of the cavern using the textures assigned by those adjacent tiles.
Because the cavern system exists in the main map, if you know the X and Y coords to reach them there is literally nothing stopping you from turbo'ing (or even proceeding without turbo!) to those caverns and pre-emptively destroying everything that would have been there. In the case of the world end boss being located in a cavern, usually the tunnel exiting the cavern is still marked as active. If you take that tunnel and follow it out as normal you COMPLETELY skip the boss fight!
“I am the dragon without a name…”
― Κυνικός Δράκων