v4k-git-backup/demos/00-loop.c

9 lines
211 B
C
Raw Normal View History

2023-09-27 06:49:59 +00:00
#include "v4k.h" // Minimal C sample
int main() {
window_create(75.0, 0); // 75% size, no extra flags
while( window_swap() && !input(KEY_ESC) ) { // game loop
puts("hello V4K from C!");
}
}