/| Mario Kart PC |\

1am MKPC thought lol

smile

Page :  1 

Messages 3077 - King Mario King Mario
vs50131 pts ★ Titan
battle19594 pts ★ Master
Canada
Typing this at around 1:40am and when I'm in this sleepy state I have random and foggy thoughts about various things, and I was wondering about the fact that MKPC calculates times at the millisecond but isn't any time unit lower than 1/240th of a second always irrelevant in this context since the game's FPS can't be set above 240 anyways?

@Wargor
thinking9
shrugging1
mario_shrug1
joy3
gamba2
genius2
Messages 4858 - King Mario King Mario
vs73987 pts ★ Titan
battle12573 pts ★ Champion
France
Wal68 wrote:
Typing this at around 1:40am and when I'm in this sleepy state I have random and foggy thoughts about various things, and I was wondering about the fact that MKPC calculates times at the millisecond but isn't any time unit lower than 1/240th of a second always irrelevant in this context since the game's FPS can't be set above 240 anyways?

@Wargor

Ce qui est marrant c'est que chaque frame est équivalente à 0'00"067 secondes in game (même si tu peux monter jusqu'à 240 fps le temps reste basé sur les 15 fps lol)
surprised1
ok1
Messages 3077 - King Mario King Mario
vs50131 pts ★ Titan
battle19594 pts ★ Master
Canada
Senko wrote:
Même si tu peux monter jusqu'à 240 fps le temps reste basé sur les 15 fps lol
Ah, ça par contre je ne le savais pas, mais ça fait du sens vu que c'était le nombre de FPS du jeu à l'origine... Intéressant!
Messages 11439 - King Mario King Mario
vs35065 pts ★ Legend
battle6102 pts ★ Racer
France
The 1AM thoughts... Relatable asf lmao
sweat1
thumbsup2
handshake1
Messages 3077 - King Mario King Mario
vs50131 pts ★ Titan
battle19594 pts ★ Master
Canada
What's even more interesting is that the last time digit (aka the number of ms) varies a lot in TT records, even though this theoretically shouldn't happen if the FPS is truly capped to 15... So, I'm wondering how this is possible, is it because device performance/lag causes the FPS to not always be constant?

Definitely can't wait to have an answer from Wargor himself.
C
Messages 553 - Mario Mario
vs31281 pts ★ Legend
battle12902 pts ★ Champion
Antarctica
                                    _                                  
if you increment by 0.06 (1/15th of a second) you can get any number in the ones place, so yes, the timer only updates 15 times a second, but that isn't apparent unless you have multiples of 1/15 memorized.
thinking1
Messages 3077 - King Mario King Mario
vs50131 pts ★ Titan
battle19594 pts ★ Master
Canada
circuit111 wrote:
                                    _                                  
if you increment by 0.06 (1/15th of a second) you can get any number in the ones place, so yes, the timer only updates 15 times a second, but that isn't apparent unless you have multiples of 1/15 memorized.
You sure? Do you mind giving me a few examples? Because, unless I'm calculating wrong, that doesn't seem to be the case...
C
Messages 553 - Mario Mario
vs31281 pts ★ Legend
battle12902 pts ★ Champion
Antarctica
Wal68 wrote:
circuit111 wrote:
                                    _                                  
if you increment by 0.06 (1/15th of a second) you can get any number in the ones place, so yes, the timer only updates 15 times a second, but that isn't apparent unless you have multiples of 1/15 memorized.
You sure? Do you mind giving me a few examples? Because, unless I'm calculating wrong, that doesn't seem to be the case...

What time did you calculate on?
Messages 3077 - King Mario King Mario
vs50131 pts ★ Titan
battle19594 pts ★ Master
Canada
circuit111 wrote:
Wal68 wrote:
circuit111 wrote:
                                    _                                  
if you increment by 0.06 (1/15th of a second) you can get any number in the ones place, so yes, the timer only updates 15 times a second, but that isn't apparent unless you have multiples of 1/15 memorized.
You sure? Do you mind giving me a few examples? Because, unless I'm calculating wrong, that doesn't seem to be the case...

What time did you calculate on?
Literally any time for example if I do the calculations with Anthcny's SNES Mario Circuit 1 time of 0:‎28:904, I obtain that 28.904/(1/15)=433.56 so yeah 433.56 is not a whole number this means his time isn't a multiple of 1/15
Messages 2163 - Golden Mario Golden Mario
vs145901 pts ★ Superstar
battle15816 pts ★ Master
France
tu veux pas finir fwaysKart 4 plutôt
F
Messages 3152 - King Mario King Mario
vs153648 pts ★ Superstar
battle17232 pts ★ Master
France
la coupe fwies
Messages 4858 - King Mario King Mario
vs73987 pts ★ Titan
battle12573 pts ★ Champion
France
Kvrxo wrote:
tu veux pas finir fwaysKart 4 plutôt

Mec on attend toujours MK2(P)...
Messages 11 - Koopa Koopa
vs63292 pts ★ Titan
battle8675 pts ★ Expert
Poland
Walnut68 wrote:
Typing this at around 1:40am and when I'm in this sleepy state I have random and foggy thoughts about various things, and I was wondering about the fact that MKPC calculates times at the millisecond but isn't any time unit lower than 1/240th of a second always irrelevant in this context since the game's FPS can't be set above 240 anyways?

@Wargor


sorry, you are not getting an answer from wargor!




part im explaining:
https://github.com/tmalahie/mkpc/blob/b89bb80ffe85c751b193fa688ddeb154481ed3d1/scripts/mk.js#L17161

oversimplifying as hell, not accurate

the game adds a value to your timer 15 times per second.

its almost always 67ms (1 frame at 15fps), unless you cross the finish line checkpoint.
when you do, the game compares your current and previous position and looks up how early or late you crossed the finish line checkpoint between the positions and adds a fraction of a frame to make it more accurate.

example below:
https://i.postimg.cc/Gh44zJck/image.png

this is why top boo lake times on 150cc almost always are a multple of 0.067s because most of the time the player crosses the finish line at the exact same angle (in this case it's adding a whole frame for the finish line, it doesn't have to be tho)
thumbsup2
genius1
Messages 18 - Koopa Koopa
vs5324 pts ★ Novice
battle5000 pts ★ Novice
Singapore
Walnut68 wrote:
Typing this at around 1:40am and when I'm in this sleepy state I have random and foggy thoughts about various things, and I was wondering about the fact that MKPC calculates times at the millisecond but isn't any time unit lower than 1/240th of a second always irrelevant in this context since the game's FPS can't be set above 240 anyways?

@Wargor
Thats crazy ur parents let you stay up that late
Messages 1269 - Golden Mario Golden Mario
vs5000 pts ★ Novice
battle5000 pts ★ Novice
United States
You Get Sleepy at 1:00 A.M.???
Messages 4903 - King Mario King Mario
vs13816 pts ★ Champion
battle5368 pts ★ Novice
Algeria
You Get Sleepy at 1:00 A.M.???

fucking yes?

Page :  1 

Back to The game
Back to the forum