Way to make a star shadowish once collected

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

Monkey75
Bob-Omb
Bob-Omb
Posts: 21
Joined: Mon Apr 06, 2015 10:24 am

Way to make a star shadowish once collected

Postby Monkey75 » Thu Jul 02, 2015 5:20 am

Hello, it's me (again).

I want to know a way to make a star shadow-ish once collected,
just a way to remember us that there was a star here.
Actually in my world, when a star is collected, and when I go near where was the star, there is just nothing,
I want to have the star, here, but shadow-ish (since it has already been collected, taking the star again will not give you a new star)

Image
The star is not collected.

Image
The star is collected, and it disappeared.

Is that possible to make the star when collected shadow-ish (and not make it disappear) ?

Like in the new Marios, when you take a coin star, and you do the level a second time, the coinstar is transparent and shadow-ish.
Image

Thank for helping me. :)

bossedit8
Banned
Posts: 6838
Joined: Fri Dec 20, 2013 12:35 pm
Contact:

Re: Way to make a star shadowish once collected

Postby bossedit8 » Thu Jul 02, 2015 5:40 am

Hide it as default and make a layer for the stars. Make a event that basically triggers so that the star appears at the place you want it to be so it's always visible during gameplay.

Other way is to make a background object for the star placement and just simply place it where the star will gonna be so the background object is always there. STTB2 did it the same.

That's your 2 choicements you have so far.

Monkey75
Bob-Omb
Bob-Omb
Posts: 21
Joined: Mon Apr 06, 2015 10:24 am

Re: Way to make a star shadowish once collected

Postby Monkey75 » Thu Jul 02, 2015 6:03 am

Thanks.
But the first choice is complicated, and I must do that for all levels.

I've already tried the second choice, but the stars are moving up and down, and the background object not, so it's a little bit like if the stars duplicated itself.
That doesn't work.

h2643
Reznor
Reznor
Posts: 2890
Joined: Sat Dec 21, 2013 7:23 am
Contact:

Re: Way to make a star shadowish once collected

Postby h2643 » Thu Jul 02, 2015 6:05 am

Monkey75 wrote:but the stars are moving up and down, and the background object not
Attach them to Stars :)
Err, I mean attach the Stars to BGOs, that way it will work.

Monkey75
Bob-Omb
Bob-Omb
Posts: 21
Joined: Mon Apr 06, 2015 10:24 am

Re: Way to make a star shadowish once collected

Postby Monkey75 » Thu Jul 02, 2015 6:54 am

Ok, but how I attach them ?
in the "view layer" option, there are just "default", "destroyed blocks" and "spawned NPCs".
Background and NPCS are in the same layer.
I can't move the stars to the background layer.

bossedit8
Banned
Posts: 6838
Joined: Fri Dec 20, 2013 12:35 pm
Contact:

Re: Way to make a star shadowish once collected

Postby bossedit8 » Thu Jul 02, 2015 7:05 am

Make a new layer for the background object and then you can attach it.

Magician
Volcano Lotus
Volcano Lotus
Posts: 567
Joined: Fri Dec 20, 2013 7:36 pm
Pronouns: he/him

Re: Way to make a star shadowish once collected

Postby Magician » Thu Jul 02, 2015 7:06 am

Make a new layer and put the BGO on that layer. Then, on the star, under "Attach to Layer" you select the layer the BGO is on.

Monkey75
Bob-Omb
Bob-Omb
Posts: 21
Joined: Mon Apr 06, 2015 10:24 am

Re: Way to make a star shadowish once collected

Postby Monkey75 » Thu Jul 02, 2015 7:21 am

I've done that, but the star is now invisible (can't see it, can't collect it) when I test the level.

edit : I found the problem. Now, that works, thanks. The only little thing is that the star is moving before collection but not after

Magician
Volcano Lotus
Volcano Lotus
Posts: 567
Joined: Fri Dec 20, 2013 7:36 pm
Pronouns: he/him

Re: Way to make a star shadowish once collected

Postby Magician » Thu Jul 02, 2015 7:30 am

Yeah, that's normal. The star causes the background object to move, so when it's gone the background object stops. The alternative would make things like kuribo's shoe goombas not work properly.

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: Way to make a star shadowish once collected

Postby RudeGuy » Thu Jul 02, 2015 7:35 am

Monkey75 wrote:edit : I found the problem. Now, that works, thanks. The only little thing is that the star is moving before collection but not after
You could then attach the star to something that looks like a fake star, like this (it's up to you to recolor everything though).

Monkey75
Bob-Omb
Bob-Omb
Posts: 21
Joined: Mon Apr 06, 2015 10:24 am

Re: Way to make a star shadowish once collected

Postby Monkey75 » Thu Jul 02, 2015 7:55 am

That work, but a little bit,
I've found a problem. :cry:
I don't know why, but if I have stars in one section, the ones in the other section don't work.
Last edited by Monkey75 on Thu Jul 02, 2015 7:59 am, edited 1 time in total.

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: Way to make a star shadowish once collected

Postby RudeGuy » Thu Jul 02, 2015 7:55 am

You can have only one star per section.

Monkey75
Bob-Omb
Bob-Omb
Posts: 21
Joined: Mon Apr 06, 2015 10:24 am

Re: Way to make a star shadowish once collected

Postby Monkey75 » Thu Jul 02, 2015 8:00 am

I've got a section with one star, it doesn't work, and the other with two works

RudeGuy
Bowser
Bowser
Posts: 4994
Joined: Fri Dec 27, 2013 7:36 am
Flair: local guy

Re: Way to make a star shadowish once collected

Postby RudeGuy » Thu Jul 02, 2015 8:10 am

Maybe you haven't attached the star to the BGO/NPC properly? (remember that the star should be attached to the BGO/NPC, not the other way)

Monkey75
Bob-Omb
Bob-Omb
Posts: 21
Joined: Mon Apr 06, 2015 10:24 am

Re: Way to make a star shadowish once collected

Postby Monkey75 » Thu Jul 02, 2015 11:54 am

I did it correctly, but that doesn"t work


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari