Page 1 of 1
Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 5:20 am
by Monkey75
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)

The star is not collected.

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.
Thank for helping me.

Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 5:40 am
by bossedit8
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.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 6:03 am
by Monkey75
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.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 6:05 am
by h2643
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.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 6:54 am
by Monkey75
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.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 7:05 am
by bossedit8
Make a new layer for the background object and then you can attach it.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 7:06 am
by Magician
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.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 7:21 am
by Monkey75
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
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 7:30 am
by Magician
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.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 7:35 am
by RudeGuy
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).
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 7:55 am
by Monkey75
That work, but a little bit,
I've found a problem.
I don't know why, but if I have stars in one section, the ones in the other section don't work.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 7:55 am
by RudeGuy
You can have only one star per section.
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 8:00 am
by Monkey75
I've got a section with one star, it doesn't work, and the other with two works
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 8:10 am
by RudeGuy
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)
Re: Way to make a star shadowish once collected
Posted: Thu Jul 02, 2015 11:54 am
by Monkey75
I did it correctly, but that doesn"t work