projects
/
gbajam21
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed the sprites to 16 colors
[gbajam21]
/
src
/
gamescr.c
diff --git
a/src/gamescr.c
b/src/gamescr.c
index
416e99c
..
023114b
100644
(file)
--- a/
src/gamescr.c
+++ b/
src/gamescr.c
@@
-39,7
+39,7
@@
void gamescr(void)
vblperf_setcolor(0xff);//192);
/* sprite setup */
vblperf_setcolor(0xff);//192);
/* sprite setup */
- spr_setup(16, 16, spr_game_pixels, spr_game_cmap);
+ spr_setup(32, 16, spr_game_pixels, spr_game_cmap);
wait_vblank();
spr_clear();
wait_vblank();
spr_clear();
@@
-214,7
+214,7
@@
static void vblank(void)
if(bnstate & BN_B) rot += 2;
if(bnstate & BN_B) rot += 2;
- spr_oam(oam, 0, 512 + 256, x - 64, y - 64, SPR_256COL | SPR_SZ64 | SPR_DBLSZ |
+ spr_oam(oam, 0, 512, x - 64, y - 64, SPR_SZ64 | SPR_DBLSZ |
SPR_ROTSCL | SPR_ROTSCL_SEL(0));
mat[0] = COS(rot);
SPR_ROTSCL | SPR_ROTSCL_SEL(0));
mat[0] = COS(rot);