Skip to content

Commit

Permalink
Update map pin assets
Browse files Browse the repository at this point in the history
Update assets for map pin - raw & in-game
Remove unused assets
Color & enlarge map pin to make it more visible
  • Loading branch information
sekodev committed Mar 31, 2023
1 parent 0bb837b commit 704673c
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 11 deletions.
Binary file removed assets/menu/pinMap-light.png
Binary file not shown.
Binary file removed assets/menu/[email protected]
Binary file not shown.
Binary file removed assets/menu/[email protected]
Binary file not shown.
Binary file modified assets/menu/pinMap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/menu/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/menu/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/rawFiles/pinMap.pdn
Binary file not shown.
6 changes: 2 additions & 4 deletions screens/endScreen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,9 @@ local function createProgressMap(yButtonTop)
table.insert(tableCheckpoints, mapCheckpoint)
end

local widthMapPin = mapLine.height * 2.5
local widthMapPin = mapLine.height * 3
mapPin = display.newImageRect( mapGroup, "assets/menu/pinMap.png", widthMapPin, widthMapPin )
mapPin:setFillColor( unpack(colorTextDefault) )


mapPin:setFillColor( unpack(themeData.colorPadlock) )
mapPin.x = mapLine.x - mapLine.width / 2 + widthCheckpoint / 2
mapPin.y = mapLine.y - mapLine.height / 2 - mapPin.height

Expand Down
10 changes: 3 additions & 7 deletions screens/gameScreen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -832,13 +832,9 @@ local function createProgressMap(targetGroup, yPositionReference)
table.insert(tableCheckpoints, mapCheckpoint)
end

local widthMapPin = mapLine.height * 2.5

local filePinMap = "assets/menu/pinMap.png"
if (themeData.themeSelected == "light") then
filePinMap = "assets/menu/pinMap-light.png"
end
local mapPin = display.newImageRect( targetGroup, filePinMap, widthMapPin, widthMapPin )
local widthMapPin = mapLine.height * 3
local mapPin = display.newImageRect( targetGroup, "assets/menu/pinMap.png", widthMapPin, widthMapPin )
mapPin:setFillColor( unpack(themeData.colorPadlock) )

local currentCheckpoint = 1
-- (questionCurrent - 1) is used because the value is set for the next question
Expand Down

0 comments on commit 704673c

Please sign in to comment.