playMaker

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.


Topics - rainexplorer

Pages: [1] 2
1
Hi,

i have 26 Boolean-Array Variable that refer to Alphabet. i need to save state of each Alphabet to Boolean Array, so each Alphabet has its own Boolean-Array.

However, the problem is let's say for example current state is "Alphabet E" which mean the Alphabet number is "5". then how to pick Array "index_E" so i can save state only to "index_E", because all operation will be same for all Array, save boolean state and without need to draw messy element like in screenshot

My Approach :

1) Copy Existing Array to Temporary Array then copy back/replace after edited,but i didnt found how to copy entire Array except using loop-next element.

or

2) Pick Array to Edit, but didnt find any way for it...
 is there any more  easy way to achieve this? Please See below screenshot:


2
Playmaker Help / How to Store local variable
« on: March 13, 2018, 09:16:07 PM »
Hi,

any idea to save local variable ? so after i do restart my mobile phone, then the variable can be loaded again...(assume at this point, internet connection is off)

moreover, this local variable should be sync to google-service (assume internet connection is on)

thanks in advance...

3
Playmaker Help / [SOLVED] Invalid Method Name or Parameters: Reset
« on: February 26, 2018, 11:35:01 PM »
I restore my project to previous version, maybe it affect my playmaker so i get these errors :

Code: [Select]
Invalid Method Name or Parameters: Reset

UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.Actions.CallMethod:DoMethodCall() (at Assets/PlayMaker/Actions/CallMethod.cs:85)
HutongGames.PlayMaker.Actions.CallMethod:OnEnter() (at Assets/PlayMaker/Actions/CallMethod.cs:60)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState:OnEnter() (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2695)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2570)
HutongGames.PlayMaker.Fsm:Start() (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1865)
PlayMakerFSM:Start() (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:508)


any idea to solve ?

SOLVED : i'm sorry, this was caused by missing of my own script

thanks in advance :)....

4
Playmaker Help / Hang/Freeze after sleep
« on: February 22, 2018, 07:24:33 PM »
Hi,

i'm testing APK on my phone. if i let my phone sleep then reactivate again, my games become hang, but it seems UI just dont work because some voice still played (i mean, although UI not active but if i touch it still work as background)

any idea to debug this?

because my laptop does not strong engough, so i need to build APK and then test on my mobile phone...

btw: mostly i use playmaker on all scenes...

5
Hi,

I try to use EasyMobile Plugin (https://www.assetstore.unity3d.com/en/#!/content/75476) to use their advertising utility

However, i get error after create some of Playmaker states using their EM's action. The error are :

78538: [Unity] MANAGER: MainMenu_FSM: State 1: MissingAction: Could Not Create Action: Advertising_ShowBannerAd (Maybe the script was removed?)
78539: [Unity] UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
78540: [Unity] UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
78541: [Unity] UnityEngine.Logger:Log(LogType, Object, Object)
78542: [Unity] UnityEngine.Debug:LogError(Object, Object)
78543: [Unity] HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String) (at C:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionReport.cs:90)
78544: [Unity] HutongGames.PlayMaker.ActionData:LogError(Context, String) (at C:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1503)


My questions, How this can be error but the actions available on playmaker editor ?

6
Playmaker Help / Find GameObject, sometime successfull - sometime failed
« on: December 29, 2017, 09:21:36 PM »
Hi,

i dont know why my state to get gameobject sometime success but sometime failed...



i have add delay before & after, but no effect....



any idea ?

7
Playmaker Help / How to temporarily Disable Object Touch [SOLVED]
« on: December 24, 2017, 05:44:20 PM »
Hi,

i have gameobjects (not UI), that have touch trigger/detection.

How to disable the all card touch in temporarily, because the action are so fast,
for example :
1) i select first card then rotate
2) i select 2nd card then rotate
3) i select 3rd card <--- i want disable touch here and other cards until 2nd card finish to rotate...

i have try using state flow, but they always passed through string comparison value, i dont know why, please see screenshot below :





i have try also untick checkbox in "every frame" but also have no effect...

8
Playmaker Help / How to use "Get Next Random INT" [SOLVED]
« on: December 23, 2017, 01:14:34 AM »
Hi,

anyone know how to use module "Get Next Random INT" from ecobrowser ?



because i have try create 6 states to get 6 unique numbers, but no luck because still get duplicate number....

9
Playmaker Help / Window too Narrow to edit Array
« on: December 21, 2017, 03:18:22 PM »
Hi,

i'm currently working to edit array, so many arrays, but i dont feel comfortable to edit elements in array because window are too narrow.



is there any way to expand window so i can make it easy to edit the elements...

10
Hi,

it seems my game face performance issue, the problems like below :

a) in first screen/Main Menu  i have 25 buttons, when i click one of them then they need around 5-7 second to load, but this just first time only.

b) after 2nd screen opened, if i back to main menu, it just need around 1 sec to open, so the issue only appear at first time open the game....

Note:  i have 7 sprite files, because so many images that can't accommodated in 1 sprite, so i think because i have so many sprite files..

i dont know if this issue related to playmaker, but  any idea to load all sprites at first time ? (maybe we can tell user to wait by progress bar)

Thanks in Advance

11
Playmaker Help / How to Get "Audio Clip" from Audio Source
« on: December 09, 2017, 09:49:06 PM »
Hi,

i have a problem here, i have 5 gameobjects, i place an audio source with different audio clip on each audiosource & gameobject.

one time, i choose randomly, get 1 gameobject.

my questions is, How to get audio clip on choosed gameobject then set it to audio player.... ?

nb: i know get component, but it just get audiosource, but no other way to get its audioclip...

thanks in advance...

12
Playmaker Help / 2 dimensions Array
« on: November 26, 2017, 09:26:31 PM »
Hi,

Is playmaker support 2 dimensions Array ?

if yes, how to create it in simple way... ?

thank in advance

13
Playmaker Help / Get Sprite Object to be Loaded to
« on: November 26, 2017, 09:24:56 PM »
Hi,

i'm looking a way to load a sprite by name,

let's say i have a string contain "sprite name", how i can load and save a sprite into FSM ?

The Sprite to be loaded to this FSM, i need to do it dynamically to save to "card_sprite" , example attached on below :




14
Playmaker Help / Error at Cloud Build [SOLVED]
« on: November 26, 2017, 04:35:04 AM »
Hi,

i run build at unity cloud build to produce APK but find this error :

Code: [Select]
[Unity] HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String) (at c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionReport.cs:89)
12: [Unity] HutongGames.PlayMaker.ActionData:LogError(Context, String) (at c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1498)
13: [Unity] HutongGames.PlayMaker.ActionReport:LogError(PlayMakerFSM, FsmState, FsmStateAction, Int32, String, String) (at c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionReport.cs:89)
14: [Unity] HutongGames.PlayMaker.ActionData:LogError(Context, String) (at c:\Users\Alex\Documents\Unity\Playmaker\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\ActionData.cs:1498)

the last time i did, i add scripts "U GUI PROXY FULL" via ecobrowser
and then Unity ask to upgrade script (no thanks or go ahead,
i made backup
), i choose 2nd (go ahead)

How to fix this without reinstall ecoBrowser/PlayMaker ?

Thanks in Advance...

UPDATE: please ignore, i dont why but this error never happen again...


15
Hi,

i have 2 scenes (A & B), in my unity editor from (A) to (B) taken 0.8 second, but from (B) to (A) take 1.2 second

but after build to APK and test at Real Device (Android lollipop 5.1 with 2GB RAM & CPU Quad Core 1 GHz) ==> from (A) to (B) take 0.9 second BUT from (B) to (A) take very long (4.5 second)

i'm using "Load Scene" state with "Single Mode" and below are the B's FSM :



Note 1: Why so big, it's switch logic, i dont know unless coding to reduce these path...
Note 2: The Green PATH is where we go to another scene....

what's wrong ? are because of too many EVENT PATH in my FSM ?

and how to fix this ?

Thanks in advance...

Pages: [1] 2