skunkworks-c/examples/gsa_simple.c

17 lines
217 B
C

#include <gsa.h>
void init() {
sprites[0].tile = 2;
sprites[0].x = 10;
sprites[0].y = 10;
sprites[1].tile = 3;
sprites[1].x = 10;
sprites[1].y = 100;
}
void tick() {
sprites[0].x += 1;
sprites[1].x += 2;
}