Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active July 1, 2019 04:26
Show Gist options
  • Select an option

  • Save fu-sen/3b9fd63279bb97af6380a8ef4d81498a to your computer and use it in GitHub Desktop.

Select an option

Save fu-sen/3b9fd63279bb97af6380a8ef4d81498a to your computer and use it in GitHub Desktop.
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