Snake
This commit is contained in:
parent
0fd6b91117
commit
c6619f1247
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ app.game.hud =
|
||||||
amountLeft = amount - amountByTwenty*20
|
amountLeft = amount - amountByTwenty*20
|
||||||
for e in [0..amountLeft]
|
for e in [0..amountLeft]
|
||||||
color = "#0a0"
|
color = "#0a0"
|
||||||
|
color = "#0f0" if e == amountLeft
|
||||||
|
|
||||||
if e < 6
|
if e < 6
|
||||||
x = spritePosition.x-1+e
|
x = spritePosition.x-1+e
|
||||||
|
|
Loading…
Reference in a new issue