Re: What exactly are Map Engine Triggers?
Reply #5 –
That bug has been the bane of existence for my Blockman game. I had my brother playtest the game and he ran right between two triggers, and I had to explain to him something was supposed to happen there. I must say, it's actually a very serious bug and cripples any game that has it. So I've created a workaround that basically just executes the trigger by using it's tile coords instead of it's pixel coords.
I think the Sphere C++ implementation suffers from this:
if (px > x && py > y && px < x + tw && py < y + ty) {
// trigger the trigger.
}
Notice the first two > symbols will skip that beginning edge. The fix would be to add >= x and >= y checks to include the starting lines of a trigger.