pauseMenu.lua - Basic and better pause menu! [v1.2]

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

Moderator: Userbase Moderators

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

pauseMenu.lua - Basic and better pause menu! [v1.2]

Postby Marioman2007 » Tue Oct 04, 2022 3:00 am

Heyo! this is a basic pause menu lib with lots of customizability.
You can even add/remove new functions!
Also supports overworld and smwMap!

GIF:
Spoiler: show
Image
(Slightly outdate GIF, but who cares)

Download:
https://drive.google.com/file/d/1O6UVHE ... sp=sharing

Credits:
Me
Rednaxela
Special thanks to scog_ for pointing out some bugs!

Changelog:
Spoiler: show
1.0:
- released the lib

1.1:
- Fixed an error in the vanilla map
- added custom music while paused feature
- register option function

1.2:
- Fixed music errors on vanilla maps
- fixed the restart option
- added checks for player forced states

All the settings (and the register option function) are at the bottom of the file
Please give credits if used!
Last edited by Marioman2007 on Thu Oct 13, 2022 11:30 pm, edited 3 times in total.

Blake Izayoi
Volcano Lotus
Volcano Lotus
Posts: 598
Joined: Sun Feb 23, 2014 1:55 pm
Flair: Sakuya's Husband
Pronouns: He / Him
Contact:

Re: pauseMenu.lua - Basic and better pause menu! [v1]

Postby Blake Izayoi » Tue Oct 04, 2022 3:53 am

This is absolutely incredible. Fantastic work!!

Mal8rk
Snifit
Snifit
Posts: 216
Joined: Mon Oct 25, 2021 11:04 pm
Flair: English Speaking Spanish Speaker
Pronouns: He/Him
Contact:

Re: pauseMenu.lua - Basic and better pause menu! [v1]

Postby Mal8rk » Tue Oct 04, 2022 8:22 am

This is just what I needed for my episode! I can't believe it took so long to have a basic pause menu like this one

AirShip
Fuzzy
Fuzzy
Posts: 1086
Joined: Wed Jan 01, 2014 1:30 am
Flair: The Flying Ghost
Contact:

Re: pauseMenu.lua - Basic and better pause menu! [v1]

Postby AirShip » Tue Oct 04, 2022 10:48 am

Exactly what I needed, very good, very good indeed!

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

Re: pauseMenu.lua - Basic and better pause menu! [v1.1]

Postby Marioman2007 » Sat Oct 08, 2022 9:40 am

Oh wow didn't expect this script will be so useful!
Anyways updated to v1.1, download and changelog in the original post, enjoy!

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

Re: pauseMenu.lua - Basic and better pause menu! [v1.2]

Postby Marioman2007 » Thu Oct 13, 2022 11:31 pm

I was stupid that I didn't test the options on the vanilla map, updated the script.
Enjoy!

PizzaNoob
Bot
Bot
Posts: 55
Joined: Wed May 29, 2024 8:36 pm
Flair: I like to make comics!
Pronouns: he/him

Re: pauseMenu.lua - Basic and better pause menu! [v1.2]

Postby PizzaNoob » Sat Oct 12, 2024 2:51 pm

Is there an option in which you can’t pause

To elaborate, I want to make it so that the player can’t pause in cutscenes, the “esc” key pauses the game no matter what.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari