Increasing/Moving the World Map Window

Need help with any SMBX game-related issues? Ask your questions here.
Marioman2007
Buster Beetle
Buster Beetle
Posts: 401
Joined: Tue Aug 25, 2020 3:19 am
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?

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9491
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Increasing/Moving the World Map Window

Postby Enjl » 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
Buster Beetle
Buster Beetle
Posts: 401
Joined: Tue Aug 25, 2020 3:19 am
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: No registered users and 1 guest