Edit 3: See post #3 for fix number 3, I'm pretty much done with it.
This bug has been around since forever, still in 2.1, but NiGHTS' position should really be reset to the Drone's position when touching the Drone in order to make time attacks consistent, end-of-level presentation, to name two things.
Illustration of the bug
Expected: NiGHTS Sonic spawns at Ideya Drone's coordinates
Actual: NiGHTS Sonic spawns at player's coordinates upon touching Drone hitbox
This bug has been around since forever, still in 2.1, but NiGHTS' position should really be reset to the Drone's position when touching the Drone in order to make time attacks consistent, end-of-level presentation, to name two things.
Illustration of the bug
Expected: NiGHTS Sonic spawns at Ideya Drone's coordinates
Actual: NiGHTS Sonic spawns at player's coordinates upon touching Drone hitbox
One way that the bug reared its ugly head: MobjCollide Lua hook doesn't fire predictably when the player is at the edge of the Drone's hitbox. Which is weird because the player still transforms, but *shrug* (edit: might be my own code because I prevent continuous calls here -- MobjCollide does fire, but not when I'm expecting it.)
Expected: "Trans NewMare" message shows immediately when touching Drone (this happens usually)
Actual: "Trans NewMare" message only shows after sinking into Drone's position for a few seconds (this happens pretty often from an upward angle, speeding fast)
Test WAD: http://digimarco.freepgs.com/SRB2/test_nights-ideyapos.wad
I think that problem would be solved if NiGHTS' position was reset, but that's just my opinion. I'd really like to not ThinkFrame my way out of detecting new mares -- but regardless of Lua, it's just cleaner from a gameplay perspective to set NiGHTS' position.
Expected: "Trans NewMare" message shows immediately when touching Drone (this happens usually)
Actual: "Trans NewMare" message only shows after sinking into Drone's position for a few seconds (this happens pretty often from an upward angle, speeding fast)
Test WAD: http://digimarco.freepgs.com/SRB2/test_nights-ideyapos.wad
I think that problem would be solved if NiGHTS' position was reset, but that's just my opinion. I'd really like to not ThinkFrame my way out of detecting new mares -- but regardless of Lua, it's just cleaner from a gameplay perspective to set NiGHTS' position.
Last edited: