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
level_text={by_lvl={}}
add(real_modules,level_text)
level_text_raw={
"0`9`11`\f7\#0press 🅾️ to mlem & unmlem",
"0`33`17`\f7\#0❎ to yoink"
}
level_text_raw=gsv[[
0`9`11`press 🅾️ to mlem & unmlem,
0`33`17`❎ to yoink]]
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
if row then
lvlxys=split(row,"`")
add(level_text.by_lvl[lvlxys[1]],lvlxys)
end
if (row) add(self.by_lvl[row[1]],row)
end
end
function level_text:draw()
for xys in all(level_text.by_lvl[level.ix]) do
print(xys[4],xys[2],xys[3],6)
function level_text:draw2()
for xys in all(self.by_lvl[level.ix]) do
print(xys[4],xys[2],xys[3],7)
end
end