Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: shiloht on June 06, 2019, 02:18:16 AM
-
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.
-
Hi,
What version of Unity and PlayMaker are you using to run this sample?
Bye,
Jean
-
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
-
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
-
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
-
Hi,
Did you try the link? is that still not working with that link?
Bye,
Jean
-
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
-
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
-
Hi. jeanfabre
be able to make time to update?
Thank you,
shiloht
-
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
-
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
-
Hi. jeanfabre
I'm glad you started the update.
I am waiting for it to be fixed.
Thank you,
shiloht
-
Hi,
It's up on the Ecosystem.
Bye,
Jean
-
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
-
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
-
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
-
Hi, jeanfabre
excellent sample!!
This sample works fine.
I understand the operation of Trigger2DEvent.
Thanks a lot!!
shiroht
-
Hi,
great!
Bye,
Jean