player blocker
This commit is contained in:
parent
0618cfc51d
commit
a60f46d585
12 changed files with 1141 additions and 89 deletions
|
|
@ -120,6 +120,9 @@ local function rebuildBoxPaletteSections()
|
|||
table.sort(names)
|
||||
table.insert(boxPaletteSections, { prefix = prefix, names = names })
|
||||
end
|
||||
if gameAssets.player_blocker then
|
||||
table.insert(boxPaletteSections, { prefix = "barrier", names = {"player_blocker"} })
|
||||
end
|
||||
end
|
||||
|
||||
local function buildBoxPicker(rect)
|
||||
|
|
@ -1124,7 +1127,7 @@ function editorDraw()
|
|||
end
|
||||
end
|
||||
love.graphics.rectangle("line", s.searchBox.x, s.searchBox.y, s.searchBox.w, s.searchBox.h)
|
||||
love.graphics.printf(boxPaletteOpen and "BOX VARIANTS" or "SEARCH: " .. assetSearchText, s.searchBox.x + 6, s.searchBox.y + 9, s.searchBox.w - 12, "left")
|
||||
love.graphics.printf(boxPaletteOpen and "QUICK PALETTE" or "SEARCH: " .. assetSearchText, s.searchBox.x + 6, s.searchBox.y + 9, s.searchBox.w - 12, "left")
|
||||
|
||||
if s.boxPicker then
|
||||
drawBoxPicker(s.boxPicker)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue