or you could go something like this.
set a variable and make it go up by 1 every time they get something wrong
Quote:
var mistakes:int %find a way to increse it when they get something wrong.
% set a for loop to make a portion of then bar every time they get something wrong
for i:1..mistakes
if i>=1 then
drawfillbox (maxx div 3 * (i-1), maxy div 10-10, maxx div 3 *i, maxy div 10+10, red)
end if
end for
this program (once you fit into a proper code) will make a bar on the bottom 1/10th of the screen. this way, if you ever implement a way to decrease the amount of mistakes they have (powerup) then it is simple, just decrease the variable mistakes and it will handle itself.