Vulcalien / minicraft-gba

Minicraft ported to the GBA
GNU General Public License v3.0
84 stars 3 forks source link

Game time incorrectly assumes 60 tps #8

Closed Vulcalien closed 10 months ago

Vulcalien commented 10 months ago

In screen.c, screen_write_time calculates the seconds as time / 60. However, the tps is not 60, but about 59.7

ErickN13 commented 10 months ago

But 59.7 is almost the same as 60

Vulcalien commented 10 months ago

But 59.7 is almost the same as 60

Yep, almost but not exactly. The difference should be about 16 seconds every hour. It's rather small, but it should be easy to adjust the time to be perfect.

Vulcalien commented 10 months ago

Fixed in 968d36f! Time will now flow a little faster.

ErickN13 commented 10 months ago

Boy, if I knew how to program like you do, I would create Minicraft for Ps1

See: I'm not asking you to create Minecraft for Ps1, I'm just mentioning something

Vulcalien commented 10 months ago

create Minecraft for Ps1

It would take me a long time and effort to learn to code for the PS1. Plus, I'm not really interested in 3D retro consoles at the moment.

if I knew how to program like you do

We all start somewhere, maybe that can be your first project.

ErickN13 commented 10 months ago

Someday when it works I'll try :P