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

9 lines
211 B
C
Raw Normal View History

2023-08-10 22:14:08 +00:00
#include "v4k.h" // Minimal C sample
2023-11-19 13:12:48 +00:00
int main() {
window_create(75.0, 0); // 75% size, no extra flags
2023-11-19 13:12:48 +00:00
while( window_swap() && !input(KEY_ESC) ) { // game loop
2023-08-10 22:14:08 +00:00
puts("hello V4K from C!");
}
}