invaders: change points per enemy
this commits changes the points you get per enemy: enemy #1 : 15 enemy #2 : 10 enemy #3 : 5
This commit is contained in:
parent
04b5e24c43
commit
e2d8f043b0
|
@ -243,7 +243,14 @@ function enemies.handle ()
|
|||
e.screen = nil
|
||||
s.screen = nil
|
||||
|
||||
gamedata.score = gamedata.score + 10
|
||||
if (y % 3) == 0 then
|
||||
gamedata.score = gamedata.score + 15
|
||||
elseif (y % 3) == 1 then
|
||||
gamedata.score = gamedata.score + 10
|
||||
else
|
||||
gamedata.score = gamedata.score + 5
|
||||
end
|
||||
|
||||
gamedata.field.status.text = gamedata.score.." | "..gamedata.ammo.." "
|
||||
break
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue