How do you make a cutscene that shows up at the beginning of the level only once?

This is the place for discussion and support for LunaLua and related modifications and libraries.

Moderator: Userbase Moderators

Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
PersonNamedUser
Reznor
Reznor
Posts: 2882
Joined: Fri Feb 27, 2015 8:07 pm

How do you make a cutscene that shows up at the beginning of the level only once?

Postby PersonNamedUser » Fri Jan 20, 2017 8:37 pm

How are supposed to make a cutscene in a level only show up once before or after the level?
It'd be very helpful.

Angelus
Tweeter
Tweeter
Posts: 132
Joined: Tue Jun 21, 2016 9:38 am

Re: How do you make a cutscene that shows up at the beginning of the level only once?

Postby Angelus » Sat Jan 21, 2017 12:34 pm

While I'm not sure how to do that with LunaLua, you can use an invisible axe which plays the cutscene event. Just place it at the player spawn.

Kixubug
Volcano Lotus
Volcano Lotus
Posts: 515
Joined: Sun Sep 04, 2016 12:17 am

Re: How do you make a cutscene that shows up at the beginning of the level only once?

Postby Kixubug » Sat Jan 21, 2017 1:05 pm

You can have 2 options you rather make a strolling Cutscene or make it a cutsence but use the layers with hide/show.

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: How do you make a cutscene that shows up at the beginning of the level only once?

Postby MECHDRAGON777 » Mon Jan 23, 2017 1:18 pm

To make it one time only, either use the data class, or without lua with SMW stars.

Fuyu
Fry Guy
Fry Guy
Posts: 3137
Joined: Sat Dec 21, 2013 2:40 pm
Pronouns: He/Him

Re: How do you make a cutscene that shows up at the beginning of the level only once?

Postby Fuyu » Mon Jan 23, 2017 7:29 pm

This solution also applies to your case: viewtopic.php?f=87&t=13541&p=255199#p255199

Data classes handle global data managed by the entirety of an episode, or of SMBX itself if you wanted to.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari