Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: shiloht on June 05, 2019, 11:18:16 PM

Title: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: shiloht on June 05, 2019, 11:18:16 PM
It seems that "Send Event (Global Event)" of "Trigger 2D Event" action does not work in "PlayMaker Unity 2D Demo" which is 2D sample of PlayMaker.

Is this a specification?

The sample comments are written as follows, and I do not know whether the operation or the comment is correct. "Notice how with one action you can broadcast an event. Set Event defines what events are sent from actions on this state."

Thank you.
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on June 06, 2019, 01:17:33 AM
Hi,

 What version of Unity and PlayMaker are you using to run this sample?

Bye,

 Jean
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: shiloht on June 06, 2019, 02:09:43 AM
Thank you for reply.

> What version of Unity and PlayMaker are you using to run this sample?
yes,versions are...

Unity: version is 5.6.7f1
PlayMaker: version is 1.9.0(latest version)

and I got this sample from..
 https://hutonggames.fogbugz.com/default.asp?W880

Thank you.

shiloht
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on June 07, 2019, 05:49:27 AM
Hi,

 uhm, yeah, I need to update this, cause it might not work well with the latest version of PlayMaker.

Can you try this link (https://github.com/jeanfabre/PlayMaker--UnityLearn--2dPlatformer/blob/master/Packages/PlayMaker2dPlatformer.unitypackage?raw=true)

Bye,

 Jean
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: shiloht on June 09, 2019, 07:58:15 PM
Thank you for reply.

I understood that the sample did not work well.

After all, "Set Event" such as "Trigger 2D Event" does not fire "Global Event" for the purpose of broadcast. Is that correct?

If so, should I use "Send Event"?

Thank you

shiloht
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on June 12, 2019, 04:07:54 AM
Hi,

 Did you try the link? is that still not working with that link?

Bye,

 Jean
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: shiloht on June 12, 2019, 06:32:06 PM
Thank you for Reply.

>Did you try the link? is that still not working with that link?
Yes. I tried the linked unity package. The result did not work unchanged.
This sample I used when posting this topic is exactly the same as the linked package.
After receiving your reply, I re-downloaded the package, but was identical at the binary level. Moreover, the behavior did not change even if it actually imports.

In this sample, the bullets fly to the right even if they face left because "global event" is not broadcasted by "set event".

"Bomb PickUp" FSM does not work for the same reason as before.

Please let me know if I made a mistake.

Thank you.

shiloht
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on June 13, 2019, 04:41:19 AM
Hi,

 ok, time to make an update :) I am busy at the moment, please ping end of next week, to remind me of this.

 Bye,

 Jean
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: shiloht on June 24, 2019, 07:58:20 PM
Hi. jeanfabre

be able to make time to update?

Thank you,

shiloht
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on July 04, 2019, 12:42:13 AM
Hi,

 Sorry, could not work for the last 3 weeks... but I am now back on track, but there is still a lot of catch up to do. Please ping me again next week if I haven't updated it. I'll post here.

 Bye

 Jean
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on July 12, 2019, 01:19:00 AM
Hi,

 Just to keep you updated on this.

 started to clean up that project, moved to 5.6 and PlayMaker 1.9.0, I fixed few issues due to that project being old, and I am facing one more issue with bullet firing direction, I hope to have it fixed on monday.

Bye,

 Jean
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: shiloht on July 16, 2019, 03:39:55 AM
Hi. jeanfabre

I'm glad you started the update.
I am waiting for it to be fixed.

Thank you,

shiloht
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on July 31, 2019, 01:42:01 AM
Hi,

 It's up on the Ecosystem.

Bye,

 Jean
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: shiloht on July 31, 2019, 07:42:52 PM
Hi. jeanfabre

Thank you for the update.

But, I could not find sample on Ecosystem Browser.

Please tell me search word for get sample.

Thank you,

shiloht
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on August 01, 2019, 01:37:27 AM
Hi,

 D'oh!! that was for another thread...l sorry to have given you hope... I haven't yet found the issue with this, it's an odd one. Hopefully, I'll have it ready for tomorow.

Bye,

 Jean
Title: Re: "Send Event (Global Event)" action of "Trigger 2D Event" action does not work.
Post by: jeanfabre on August 06, 2019, 01:48:57 AM
Hi,

 Ok, so I had to go all out on this,

there is a new repository, made with Unity 2019.2 and the whole sample has been reworked to use the latest PlayMaker

https://github.com/jeanfabre/PlayMaker--UnityLearn--2dPlatformer_U2019

the package can be downloaded here (https://github.com/jeanfabre/PlayMaker--UnityLearn--2dPlatformer_U2019/blob/master/Builds/PlayMaker2dPlatformer.unitypackage?raw=true)

Make sure you work from a fresh projects as it needs special layers,tags and physics 2D settings.

1: install PlayMaker first
2: import the package above
3: the sample is in PlayMaker Unity 2D Demo/Scenes/Playmaker Level

Let me know how it goes,k It's fresh, so their may be odd stuff.

Bye,

 Jean