NEW 6 years ago
Nice tutorial. For addition (in the terms of exercise) you should also add condition to prevent drawing rectangles in the case of the negative (-) number. :)
if(gb.buttons.pressed(BUTTON_DOWN)){
if(counter!=0)
{
counter--;
gb.sound.playCancel();
}
}