Are the star coins just for show?

Need help with any SMBX game-related issues? Ask your questions here.
User avatar
mario610
Spiny
Spiny
Posts: 41
Joined: Tue Jan 07, 2014 3:44 pm

Are the star coins just for show?

Postby mario610 » Fri Jun 05, 2020 8:12 pm

or can I make like a door require an amount of star coins or something

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8520
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: Are the star coins just for show?

Postby Enjl » Sat Jun 06, 2020 3:02 am

Star coins save into permanent lua variables which can be accessed to create something around them. Here's an example:
viewtopic.php?p=371546#p371546
There is another access point in data/scripts/npcs/ai/starcoin.lua, for getting the total count across all levels, I think.
Making some in-editor interfaces for them is the eventual plan, but the editor doesn't have that power yet.
The ABC of Creation
________________________________________________________
Image


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 12 guests