@Germanny, Thanks to you Germanny, without you I wouldn't have been able to do those mods.
@Drakkan, If Germany allows me to share his wallset, for sure I will. I'll publish my code too because both are linked.
Here the code for the magic map while you wait.
Be careful, the code is taking a lot of ressources into the onDrawGui() function
Code: Select all
function map(g)
local i=0
local j=0
local px = party.x
local py = party.y
local plevel = party.level
local w=3
local h=3
local x1,y1
g.color(30,30,30,175)
g.drawRect(20, 144, 112, 112)
g.color(200,200,200,200)
for x = px-w, px+w do
j=0
for y =py-h, py+h do
if not isWall(plevel,x,y) then
x1 = 22+i*16
y1 = 146+j*16
g.drawRect(x1,y1,13,13)
end
j=j+1
end
i=i+1
end
g.color(0,200,200,200)
g.drawRect(70,194,13,13)
end