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 - rainexplorer

Pages: 1 2 [3] 4 5
PlayMaker Help / How to use "Get Next Random INT" [SOLVED]
« on: December 23, 2017, 03:14:34 AM »

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....

PlayMaker Help / Re: 2 dimensions Array
« on: December 22, 2017, 10:01:29 PM »
Hi all,

any example on 2 dimensions array ?

i still not found by searching on this forum...

PlayMaker Help / Window too Narrow to edit Array
« on: December 21, 2017, 05:18:22 PM »

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...


i have change all images in sprite using RGBA4444 (16 bit) as suggestion from TexturePacker, but it still same....

maybe this slow because i use too many array with spite & sound inside it ?

below i attach playmaker flow :

here, it get alphabet number then set front image of card...

here, it prepare for back card image, depend of how many images are available...

here, it set sound for each back card...

This is probably a unity issue.
And probably on the 2nd screen that has a bigger loading time.

What are the sizes of your sprites? do you use compression?
how are you loading them?
When you click on them how are loading the new scene?

Also try to look in the unity forums/answers for performance issues.

are you using Single sprite images or multiple?

it's single sprite,
the size of each sprite are 2048x2048 pixels,
total are 7 sprite files where each has average 500Kb,
every sprite has average size of 100x150 pixels,

How are you loading them?
i have 26 alphabets, where i place 2 object category ( sprite and sound ) for every alphabets, so total of Array will be 2 x 26 = 52 Array (not including another array for program control)...
in one array, maximum sprite to insert are 5 sprites, example like below :

Do you use compression?
i'm not sure, it's using default from TexturePacker = RGBA8888

How are loading the new scene?
it will open new scene by detect alphabet number from previous scene, then getting sprite and sound from array then loaded to current scene (3d objects), however, i've cut all flow and leaving only 1 state, but it still slow...

any idea ?

nb: i still contact TexturePacker but still no response, someone has also give tips to reduce Sprite's size from 2048x2048 to 1024x1024...


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

PlayMaker Help / Re: How to Get "Audio Clip" from Audio Source
« on: December 11, 2017, 01:30:03 AM »
Hi Thanks for replying, i'll try...

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

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...

PlayMaker Help / 2 dimensions Array
« on: November 26, 2017, 11:26:31 PM »

Is playmaker support 2 dimensions Array ?

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

thank in advance

PlayMaker Help / Get Sprite Object to be Loaded to
« on: November 26, 2017, 11:24:56 PM »

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 :

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

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...

this seems not related to playmaker, but i still find out...


my screen only cost 29 pass call...

are this also make some impacts to performance ?

Hi, thanks  :D

i'll try...

okay  :D

PM sent...


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 [3] 4 5