Skip to content

Instantly share code, notes, and snippets.

@fu-sen fu-sen/sprite.c
Last active Jul 1, 2019

Embed
What would you like to do?
z88dk sprite sample
#include <graphics.h>
#include <games.h>
#include <stdio.h>
char balloon[] = { 8, 8,
0x0e, 0x1d, 0x1f, 0x1f, 0x0e, 0x08, 0x10, 0xe0
};
void main(){
clg();
putsprite(SPR_XOR, 68, 20, balloon);
while(!getk());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.