diff options
| author | Chris Bradley <1029chris@gmail.com> | 2022-02-19 13:40:34 -0800 |
|---|---|---|
| committer | Chris Bradley <1029chris@gmail.com> | 2022-02-19 13:40:34 -0800 |
| commit | 4f3bfa57d582d1f8a20da0c34cc7c94563570008 (patch) | |
| tree | 40b909149599b732ab5501c867b3bb6993e7d543 /ui.lua | |
| parent | 86fdddc12397f45af95cd85729b12f88edd33dc5 (diff) | |
added back local variables, some more tokens gained
target player now changes every second
Diffstat (limited to 'ui.lua')
| -rw-r--r-- | ui.lua | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -14,7 +14,7 @@ function invaderslogotext(x,y) -- x = 12 -- y = 20 - invaderstext = "I N V A D E R S" + local invaderstext = "I N V A D E R S" for i = 1, 12, 1 do print(invaderstext, x+i%3-1, y+i%4-1, 3) end @@ -85,8 +85,8 @@ function credits(x,y) -- default vaues -- x = 10 -- y = 100 - sintimecredits = sin(t())*2 - timemodcredits = (t()%2<1) + local sintimecredits = sin(t())*2 + local timemodcredits = (t()%2<1) palt(2,true) palt(0,false) @@ -99,8 +99,8 @@ end --Ending screen function finalscorescreen(x,y) - playercolour0 = 12 - playercolour1 = 15 + local playercolour0 = 12 + local playercolour1 = 15 if coopmode then playercolour0 = 9 playercolour1 = 2 |
