What would happen if a level is completed in negative seconds?

3 replies [Last post]
iLB
iLB's picture
Addin AuthorSerious OCD
Joined: 05/10/2018

Let's say a level is made to complete automatically on the opening cutscene.

What would the timer say at the end? Would it display in negative time, 0:00, or just bug out?
Can someone try this out? Tongue

Joined: 05/11/2011

If I recall correctly, the time starts the same time the opening cutscene does, so I think the time would be 0. Of course, I've yet to test this.

I made goomods.

Joined: 03/17/2010

Ok, let's say it's possible in the game programmatically (the value is stored as signed, not unsigned).

The only way I see to accomplish it, is to modify the value directly in memory.

If the time is counted in seconds directly and computed to points, I think it's safe to assume that the calculated score would be negative.

In the case that there's still a manipulation to/from minutes, there's a quirk if the modulo % operator is used. In that case it becomes tricky for negative values: a%b for a<0.

Joined: 11/29/2020

i think i know how
There are programs like Cheat Engine that can change the value of numeric codes, etc., but it can be complicated, but if we pause it in a second of a level and then in another amount of another level.
example: I end in one level with 0:50 and in another at 1:25 and we change it in another to -0:02
that's my theory

I'm the only Hispanic in goofans, I don't know

my channel is: https://www.youtube.com/channel/UCHQWjjQLYqEgrGRUl0o50Lw