Deef, on 07 April 2012 - 09:29 PM, said:
Not everyone remembers to implement the most important part of the insta shield.
Good game though. I especially like the improvement to how the lightning shield looks.
What is the most important part of the instashield? The one in this game extends Sonic's reach, and if you time it just right, reflects projectiles.
Edit: Meant to reply to this hours ago
Blivsey, on 07 April 2012 - 11:26 AM, said:
And yeah, I noticed the time trial ghost problem, too. I wonder how you implemented it, because it seemed as though my ghost was losing a lot more rings than I did while recording, but it didn't desync otherwise.
Basically, Damizean's original ghost recording system only kept track of button presses, but despite his best efforts, things would still desync. I completely re-wrote it in Sonic Forever so that it keeps track of just about everything. What buttons are being pushed, the player's X/Y, angle, velocity, current animation number, current animation frame, score, time, rings, etc.
Even if something desyncs, the replay will follow the exact identical path the player did. So if, for example, dropping rings desyncs, it doesn't matter, because it will always have the correct ring amounts. It's probably the best a Sonic Worlds fangame can manage.
The time trial bug came because as you noted, time keeps running until the score tally comes up. Recording works so that as long as time is running, it's recording input. When it came time to calculate the results for a ghost race, Player 2's (the ghost) time would be based off of the final frame in the replay file, which was usually anywhere between 2 and 10 seconds after they had actually finished the level.
Meanwhile, Player 1's time would be based off of what the clock was at when they touched the end sign.
So now, in Act 3, even if the clock keeps counting up until the score tally comes on screen, the replay time it records is based on the moment you finished the level.
This post has been edited by BlazeHedgehog: 07 April 2012 - 11:32 PM