Quantcast
Channel: Super Mario Bros. X Forums
Viewing all articles
Browse latest Browse all 2956

LunaLua • credits.lua [v1] - simple credits display!

$
0
0
A simple script to show credits.
You can use textplus tags.

Showcase:
Spoiler: show
Image

Example Codes:
Some basic actions which can be done by the script, make sure to load credits.lua first.
Spoiler: show
Starting the credits when an event "playCredits" is triggered:

Code:

function onEvent(n)    if n == "playCredits" then        credits.play()    endend
Loading a level when the credits have ended:

Code:

function onDraw()    if credits.hasEnded() then        Graphics.drawScreen{color = Color.black, priority = 100}        Level.load(Level.filename())    endend

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

Statistics: Posted by Marioman2007 — Tue Jun 10, 2025 5:28 am



Viewing all articles
Browse latest Browse all 2956

Trending Articles