world map arrows render problem

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

Retro
2025 Egg Hunter
2025 Egg Hunter
Posts: 266
Joined: Thu Jul 25, 2024 5:34 am
Flair: fish
Pronouns: he/him

world map arrows render problem

Postby Retro » Wed Sep 04, 2024 6:37 am

so, for some reason, the arrows in the world map render below the path tiles. I do not know what caused this.

My Map.lua

Code: Select all

require("travl")
local wandR = require ("wandR")
wandR.speed = 5
require("xpath")
require("chocomap")
Image

deice
Volcano Lotus
Volcano Lotus
Posts: 596
Joined: Fri Jul 23, 2021 7:35 am

Re: world map arrows render problem

Postby deice » Wed Sep 04, 2024 10:12 am

this is caused by chocomap rendering the paths at a higher priority

for a good example of how you can fix this i think the conquest uses xmap, travl and wandr, so you can look at its custom implementations (iirc "xtravl" and "xwandr") to check (should be a pretty simple fix of changing a single number to make the arrows render higher up)

alternatively you could go into chocomap.lua and change PATH_PRIORITY and LEVEL_PRIORITY to be lower, but this might cause other issues depending on the circumstances


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari