Increasing/Moving the World Map Window

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

Marioman2007
2025 Egg Hunter
2025 Egg Hunter
Posts: 547
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Increasing/Moving the World Map Window

Postby Marioman2007 » Tue Feb 16, 2021 3:57 am

An experiment I did, My result:
Spoiler: show
Image
Is there a way to Increase/move the world map window?

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9891
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Increasing/Moving the World Map Window

Postby Emral » Tue Feb 16, 2021 4:06 am

With some difficulty.
You can call this from map.lua:
Graphics.activateOverworldHud(WHUD_NONE) to disable the border and draw your own hud in its place. This will give you an 800x600 canvas to work with.
You can then prooobably also move the camera in lunalua's onDraw function to offset the viewport relative to the player... though I'm not 100% sure on that.

Marioman2007
2025 Egg Hunter
2025 Egg Hunter
Posts: 547
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Re: Increasing/Moving the World Map Window

Postby Marioman2007 » Tue Feb 16, 2021 4:14 am

Thank You


Return to “Help and Support”

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari