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

LunaLua Help • Re: Song name display?

$
0
0
You mean something like that?

Code:

Audio.MusicTitle() string title Returns the music title from metadata (if empty, filename will be returned)Audio.MusicTitleTag() string titleTag Returns the title tag from metadata (if empty, returns an empty string)Audio.MusicArtistTag() string artistTag Returns the artist tag from metadata (if empty, returns an empty string)Audio.MusicAlbumTag() string albumTag Returns the album tag from metadata (if empty, returns an empty string)Audio.MusicCopyrightTag() string copyrightTag Returns the copyright tag from metadata (if empty, returns an empty string)
Luna Lua Events

Code:

onStart()Runs at the start of the game, after all libraries have been loaded. This is the first point in time when entities like players, NPCs and blocks are loaded in.onLoadSection(number playerIdx)Runs when any section is loaded. Just like onLoopSection, this function will be called once per player. Prefer onSectionChange.onLoadSection#(number playerIdx)Runs when section # (where # is a number between 0 and 20) is loaded. Just like onLoopSection, this function will be called once per player. Prefer onSectionChange.
Text Class

Plz don`t ask me for details, for the most time I am quite helpless on my own *caught*

Statistics: Posted by Just_Thomas — Wed Feb 28, 2024 3:45 pm



Viewing all articles
Browse latest Browse all 2830

Trending Articles