This commit is contained in:
2025-06-08 18:32:36 -05:00
parent 2309fea9f3
commit a2fd58fda7
6 changed files with 155 additions and 3 deletions

View File

@@ -33,8 +33,14 @@ int32_t main(const int32_t argc, const char **argv) {
entityUpdate(ent++);
} while(ent < (ENTITIES + ENTITY_COUNT));
renderUpdate();
usleep(100 * 1000); // Sleep for 16 milliseconds (60 FPS)
if(inputIsDown(INPUT_DOWN)) {
printf("Input down pressed\n");
} else {
printf("Input down not pressed\n");
}
// renderUpdate();
usleep(16 * 1000); // Sleep for 16 milliseconds (60 FPS)
}
return EXIT_SUCCESS;