main #21

Closed
kistaro wants to merge 76 commits from main into some_level
Showing only changes of commit 051d682f2e - Show all commits

View File

@ -1713,22 +1713,18 @@ end
-- text -- text
level_text={by_lvl={}} level_text={by_lvl={}}
add(real_modules,level_text) add(real_modules,level_text)
level_text_raw={ level_text_raw=gsv[[
"0`9`11`\f7\#0press 🅾️ to mlem & unmlem", 0`9`11`press 🅾️ to mlem & unmlem,
"0`33`17`\f7\#0❎ to yoink" 0`33`17`❎ to yoink]]
}
function level_text:init() function level_text:init()
for i=0,32 do level_text.by_lvl[i]={} end for i=0,31 do self.by_lvl[i]={} end
for row in all(level_text_raw) do for row in all(level_text_raw) do
if row then if (row) add(self.by_lvl[row[1]],row)
lvlxys=split(row,"`")
add(level_text.by_lvl[lvlxys[1]],lvlxys)
end end
end end
end function level_text:draw2()
function level_text:draw() for xys in all(self.by_lvl[level.ix]) do
for xys in all(level_text.by_lvl[level.ix]) do print(xys[4],xys[2],xys[3],7)
print(xys[4],xys[2],xys[3],6)
end end
end end