Page 1 of 1

[1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Sun Jun 16, 2019 8:21 am
by SrgtShocwave
Alright so, I was trying to make a boss fight for an episode I'm making right now which involves using the LayerClear Event on NPCs to summon more sets of NPCs as one set is defeated. I've come across a weird bug, however, which makes the LayerClear Event start if one of the enemies is defeated while in an ice block.

Image

When the enemies are defeated normally (with jumps, fireballs, etc.) everything works just fine. But, as mentioned before, defeating at least one of them while they are in an ice block still spawns in the next NPC.

Image
Image
Image
Image

The reason why I need help with this is because of how the main power-up of my level is the ice flower and I don't really intend on changing it :? .

I am using 1.4.4 but I also don't know if this same thing occurs in 1.3/2.0. Any help would be much appreciated.

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Thu Jun 20, 2019 4:21 am
by SrgtShocwave
I just tested, this isn't present in 1.3.0.1 or 2.0

So its definitely a 1.4.4 thing but does anyone at least know a way to work around it?

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Thu Jun 20, 2019 8:27 am
by LGLMAKING
Are you using a scripted event?

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Thu Jun 20, 2019 2:49 pm
by Cedur
Having a "clear enemies" event with ice flowers around is generally iffy. I remember that such an event was not triggered when two frozen enemies were smashed at each other.

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Thu Jun 20, 2019 3:49 pm
by SrgtShocwave
LGLMAKING wrote:
Thu Jun 20, 2019 8:27 am
Are you using a scripted event?
I haven't used any scripts, mainly because I don't know how to create them. :?
Cedur wrote:
Thu Jun 20, 2019 2:49 pm
Having a "clear enemies" event with ice flowers around is generally iffy. I remember that such an event was not triggered when two frozen enemies were smashed at each other.
Like I said, the main power-up of the level is the ice flower and I don't really want to change that (since it goes with the theming of the level). I'm really just hoping if I can find some sort of work around.

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Fri Jun 21, 2019 2:25 am
by LGLMAKING
SrgtShocwave wrote:
Thu Jun 20, 2019 3:49 pm
LGLMAKING wrote:
Thu Jun 20, 2019 8:27 am
Are you using a scripted event?
I haven't used any scripts, mainly because I don't know how to create them. :?
Cedur wrote:
Thu Jun 20, 2019 2:49 pm
Having a "clear enemies" event with ice flowers around is generally iffy. I remember that such an event was not triggered when two frozen enemies were smashed at each other.
Like I said, the main power-up of the level is the ice flower and I don't really want to change that (since it goes with the theming of the level). I'm really just hoping if I can find some sort of work around.
Use Layer is Empty

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Fri Jun 21, 2019 3:10 am
by SrgtShocwave
LGLMAKING wrote:
Fri Jun 21, 2019 2:25 am
Use Layer is Empty
Sorry but I don't quite understand what this means?

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Fri Jun 21, 2019 7:40 am
by Cedur
Are you using the "no more objects in layer" event or are you doing something different all the way?

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Fri Jun 21, 2019 12:03 pm
by SrgtShocwave
Cedur wrote:
Fri Jun 21, 2019 7:40 am
Are you using the "no more objects in layer" event or are you doing something different all the way?
I am using it. I've put it on all the NPCs so that defeating them all in any order would lead to the reward spawning.

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Sat Jun 22, 2019 8:19 pm
by Ludwig_von Koopa
Are all of them at the same layer?

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Sun Jun 23, 2019 5:16 am
by SrgtShocwave
Ludwig_von Koopa wrote:
Sat Jun 22, 2019 8:19 pm
Are all of them at the same layer?
Yes, all of the enemies are in the same layer. The reward, however, is in a different layer so that I can spawn it in.

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Sun Jun 23, 2019 12:56 pm
by sammerbro
IDK how to solve this.
So, I think you should upload the level file so this can be looked into.

Re: [1.4.4] LayerClear Event, Ice flower bug? Help wanted.

Posted: Sun Jun 23, 2019 1:31 pm
by SrgtShocwave
sammerbro wrote:
Sun Jun 23, 2019 12:56 pm
IDK how to solve this.
So, I think you should upload the level file so this can be looked into.
https://drive.google.com/open?id=1uRZna ... CZP1EByVAq

Didn't want to send the actual level because of spoilers for my episode, its literally the exact same problem though. At this point, I'm just thinking about forcing the player to have a fire flower instead...