Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mmzbr

Pages: [1] 2
Using Unity 2018.4.17f1 and got this corrupted global variable bug.

One of mine Globals vanished from Resources.asset, had to re-create but Playmaker re-linked automatic all FSM.

I've tried to create this custom actions based on those scripts but I'm really bad at coding.  :-\

I need to auto scroll to a specific element in ScrollRect content (like the player icon on the region map) when I open my Map.

Can someone help me create a Playmaker Action based on this script?

Code: [Select]
protected ScrollRect scrollRect;
protected RectTransform contentPanel;

public void SnapTo(RectTransform target)

        contentPanel.anchoredPosition =
            - (Vector2)scrollRect.transform.InverseTransformPoint(target.position);


Code: [Select]
using UnityEngine;
using UnityEngine.UI;

namespace BlinkTalk
    public static class ScrollRectExtensions
        public static Vector2 GetSnapToPositionToBringChildIntoView(this ScrollRect instance, RectTransform child)
            Vector2 viewportLocalPosition = instance.viewport.localPosition;
            Vector2 childLocalPosition   = child.localPosition;
            Vector2 result = new Vector2(
                0 - (viewportLocalPosition.x + childLocalPosition.x),
                0 - (viewportLocalPosition.y + childLocalPosition.y)
            return result;

Code: [Select]
private void Update()
        MyScrollRect.content.localPosition = MyScrollRect.GetSnapToPositionToBringChildIntoView(someChild);


PlayMaker Help / Re: Hash Table Contains Multiple Keys its possible?
« on: April 01, 2020, 04:22:10 AM »
Got it, thank you very much for your time!

Take care there!

Hello there,

I'm using a Hash Table to control Monsters Deaths (when a specific mob dies I add a key in a hash table to indicate that mob are dead to keep it in a single object) in my rpg game, but now I have a problem and did'nt realize the solution yet.

In a quest event I have to kill 5 specific mobs to complete it (ie: rat01, rat02, rat03, rat04, rat05) how I check if these mobs are dead in my hash table? I just found the actions Hash Table Contains and Hash Table Key, but I didnt found a Multiple key action to select the 5 mobs.

I'm doing something wrong, using the wrong method to achieve this?

Thank you in advance and take care all!

User Showcase / Re: [Site] Games and Templates using Playmaker
« on: April 29, 2015, 02:01:41 PM »
10% discount - Use coupon code: playmaker

User Showcase / Re: [Site] Games and Templates using Playmaker
« on: April 28, 2015, 02:14:33 PM »
Thanks guys for the support. I´m working in a FPS and 2 others templates.

@jeanfabre I will. Thanks ;)

User Showcase / [Site] Games and Templates using Playmaker
« on: April 27, 2015, 10:23:01 AM »

I just released my site with Games and Templates using Playmaker.

Browse a template and start making games today! No coding skills required for the most templates!

Thanks again Playmaker team for this awesome tool!

PlayMaker Help / Problem with Get/Set Properly GUI Text (Android)
« on: July 28, 2014, 11:16:11 AM »
Hey Guys, I have a trick to display shadow in my GUI text, I just duplicate the GUI Text and set it to black and use get properly gui text from the original text (set properly gui text on it - store the sting in variable).

Its works well in Editor but when I use on Android the shadows doesnt show. Doing some debug I discovered the set/get (every frame) seems not working in Android. Tested in 2 android devices same error on both.

Does anyone know whats the problem or its a bug?

Sorry my English.

PlayMaker Help / Re: Bad Performance on my game using Playmaker
« on: July 25, 2014, 01:33:48 PM »
well it seems ur doing a lot of things in update, meaning every frame, if im not mistaken...

so try to restructure FSM's if you can... look at which FSM's drain most CPU, and which actions, and try to use other actions...

a lot of times, one thing can be done with multiple ways... like blackant said.

Thanks for the info, but i´m designer not coder. How I can check which FSM drain CPU resources? There´s some kind of realtime debug in playmaker?

PlayMaker Help / Bad Performance on my game using Playmaker
« on: July 25, 2014, 11:17:31 AM »
Hey guys,

I´ve working in a mobile game for like 8 months and its time to optimization before release. My goal is 30fps but right now I have only 18-25fps.

Running the profiler with device attached (Nexus 7) seems the playmaker are using a lot of cpu resource.

Could you guys help me please?

PlayMaker Help / Online Time Checker
« on: July 13, 2014, 06:22:57 AM »
It´s possible using Playmaker to create an Online Time Checker?

I´ve working in a free game that give some free stuff daily to player based on date/time but its easy to cheat this changing the device date/hour.

So I need to check time/date online using a time site not the device.

Any help will appreciated and sorry my English.

PlayMaker Help / Re: In App Purchases.
« on: June 24, 2014, 11:59:56 AM »
I´m using:!/content/10825!/content/7421!/content/18539

The developer are working on Amazon Store IAPs now with playmaker actions included. The support is awesome and there´s constant updates.

PlayMaker Help / Re: Int value from multiple variables
« on: June 24, 2014, 11:53:46 AM »
That worked like a charm! Issue solved!

PlayMaker Help / Re: Int value from multiple variables
« on: June 24, 2014, 11:50:01 AM »
Thanks for the fast reply I´ve located this custom action, time to test it  ;D

You guys are awesome.

Pages: [1] 2