From e57079e6f246748b0d86101e2565a47fdd6cfa71 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 23 Aug 2015 15:20:04 +0300 Subject: [PATCH] Update Shooting.lua --- Applications/Shooting/Shooting.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Applications/Shooting/Shooting.lua b/Applications/Shooting/Shooting.lua index 436f1ff4..b48e74e2 100644 --- a/Applications/Shooting/Shooting.lua +++ b/Applications/Shooting/Shooting.lua @@ -223,6 +223,10 @@ local function drawLastScore(x, y, score, color) end local function Tir() ecs.prepareToExit() + + showPlayers(108, 6) + drawLastScore(53, 22, 0, 0xffffff) + drawMishen() while true do local e = {event.pull()} @@ -234,8 +238,8 @@ local function Tir() AddPlayer(e[6]) AddScore(e[6], GetScore(e[3], e[4])) SetPixel(e[3], e[4], players[e[6]][2]) - showPlayers(111, 6) - drawLastScore(50, 22, GetScore(e[3], e[4]),players[e[6]][2]) + showPlayers(108, 6) + drawLastScore(53, 22, GetScore(e[3], e[4]),players[e[6]][2]) elseif e[1] == "key_down" then if e[4] == 28 then return true @@ -246,9 +250,6 @@ end -------------------------- -showPlayers(111, 6) -drawLastScore(50, 22, 0, 0xffffff) - while true do local exit = Tir() if exit then break end