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
Playmaker Help / Find GameObject, sometime successfull - sometime failed
« on: December 29, 2017, 09:21:36 PM »

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 ?

Playmaker Help / Re: How to temporarily Disable Object Touch
« on: December 29, 2017, 01:15:58 AM »
You can make a state before the 'check lock' and place "Mouse Down" as a local, not as a global transition.
then make 2 events (call them "Enable Cards" and "Disable Cards" for example).
Place "Enable Cards" on the "Mouse Down" state as a global.
And place  "Disable Cards" on a empty state.

Now you can use "Send Event" to enable disable the cards

Hi, but if i place Mouse_Down as local i can't receive any event

edited: SOLVED

Playmaker Help / Re: How to temporarily Disable Object Touch
« on: December 26, 2017, 02:55:07 AM »
Hi, no i just want to disable all touch event...

above screenshot means : "because i still not knowing how to disable touch, i try to block all flow triggered by touch event, but strangely it still passed through string comparison"...

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

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

Playmaker Help / Re: How to use "Get Next Random INT"
« on: December 24, 2017, 05:35:33 PM »
Many Thanks, this is solved...  :)

Playmaker Help / How to use "Get Next Random INT" [SOLVED]
« on: December 23, 2017, 01: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, 08: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, 03: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 10, 2017, 11:30:03 PM »
Hi Thanks for replying, i'll try...

Playmaker Help / How to Get "Audio Clip" from Audio Source
« on: December 09, 2017, 09: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, 09: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, 09: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 :

Pages: [1] 2 3