offscreenIndicator.lua - Now you know what's up! (or down)

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

John Nameless
2025 Egg Hunter
2025 Egg Hunter
Posts: 116
Joined: Mon Jul 10, 2023 11:40 pm
Flair: vidio gaem

offscreenIndicator.lua - Now you know what's up! (or down)

Postby John Nameless » Thu Jul 27, 2023 12:07 am


--------------------------------------
OFFSCREENINDICATOR.LUA by MrNameless
--------------------------------------

A port of SMWCentral user Thomas's patch where you it shows your horizontal position via an exclamation mark whenever you go above or below the screen. Making adjustments to your movements when offscreen just a tad more easier!

You can also configure the library with the following:
- A toggle if you want the indicator enabled or not.

- Offset for where the vertical ""edges"" of the screen is to show the ! points much earlier.
(Best used when using black bars from a custom HUD to "shrink" the screen)

- Offset for how close the ! points should be to the center of the screen.


OPTIONAL NOTE:
While it still works with it COMPLETELY fine, I do not recommend using this library with the vanilla HUD that much since it looks kinda funny looking with the ! mark showing on top of the vanilla UI.

Image

DOWNLOAD: https://drive.google.com/file/d/1BvsZOZ ... sp=sharing


While you're here, go check out the original SMW patch will ya?
https://www.smwcentral.net/?p=section&a ... s&id=25112

John Nameless
2025 Egg Hunter
2025 Egg Hunter
Posts: 116
Joined: Mon Jul 10, 2023 11:40 pm
Flair: vidio gaem

Re: offscreenIndicator.lua - Now you know what's up! (or down)

Postby John Nameless » Tue Nov 07, 2023 6:11 am


Yo! Ive updated this script for 2.0.0!
Featuring a fix or 2, slight improvements to the scripting & even 2 player support!


Image

DeviousQuacks23
Bot
Bot
Posts: 50
Joined: Tue Apr 11, 2023 9:29 am
Flair: Decent at LunaLua coding.
Pronouns: him

Re: offscreenIndicator.lua - Now you know what's up! (or down)

Postby DeviousQuacks23 » Fri Oct 25, 2024 3:46 am

Is there a way to have this for NPCs?


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari