level design etc
This commit is contained in:
parent
0151304d05
commit
4036b5f07e
13 changed files with 460 additions and 21 deletions
13
src/chrome.h
13
src/chrome.h
|
|
@ -258,6 +258,19 @@ void updateChrome(){
|
|||
SYS_hardReset();
|
||||
return;
|
||||
}
|
||||
// level transition overlay
|
||||
if(levelClearing){
|
||||
if(levelClearClock == 2){
|
||||
char lvlStr[4];
|
||||
uintToStr(level + 2, lvlStr, 1);
|
||||
VDP_drawText("LEVEL ", 15, 13);
|
||||
VDP_drawText(lvlStr, 21, 13);
|
||||
}
|
||||
if(levelClearClock >= 110){
|
||||
VDP_clearText(15, 13, 10);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(lastScore != score){
|
||||
lastScore = score;
|
||||
drawScore();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue