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.


Messages - elusiven

Pages: [1] 2 3 ... 16
1
Playmaker Help / Re: slow FSM
« on: October 23, 2017, 04:35:47 AM »
Probably about 36-40 items. I ran it through profiler but I can only see the XML actions in playmaker, is handling xml that slow? I attached some screenshots.

https://imgur.com/a/2oPv9

2
Playmaker Help / Re: Question about database with pictures and text
« on: October 20, 2017, 02:46:05 AM »
More difficult approach but it's what I would do:

You can have an api that communicates with the database (written in php or asp.net), it would handle the models and pass the data from database to whatever client communicates with it for ex. Unity3D. Unity3D would just use rest+json to communicate with api. Then you can also have a logic for saving data for offline use. Note though that in database you woudn't actually store the images, you would just store the reference like url.

3
Playmaker Help / slow FSM
« on: October 20, 2017, 02:34:55 AM »
Hi,

I have some logic in my FSMs to instantiate and then update the values on some 2d objects. They instantiate at the start of the app into a scrollrect, and then only values are updated when that specific view is pushed. It seems very slow however, I can tell because the animation which is played when other view is poped off stack laggs for 1-2 seconds.

Are FSMs ran frame by frame, in terms of actions or is there a way to put the FSM into a coroutine or something? Worst case scenario I will have to redo the whole logic in code instead but if there is a way to make this smoother then I would prefer that.

4
Action Requests / Re: TablePro Asset
« on: September 21, 2017, 01:55:54 AM »
Ah gotcha... Done, I re-uploaded as a folder now.

5
Action Requests / Re: TablePro Asset
« on: September 20, 2017, 07:52:41 AM »
I've got a question Jean, the xml source appears to be not including the drop down gui, am I doing something wrong here?

6
Action Requests / TablePro Asset
« on: September 19, 2017, 08:29:00 AM »
Hi All

I made an action to generate table based on input from XML with Table Pro Asset

(You need this asset to use it)

https://forum.unity.com/threads/table-pro-when-your-data-isnt-a-game.347893/

You simply select the xml source, select go with Table component, supply the xpath for headers, rows and off you go.

The table works best when you input it in XML as a html table so a bit like this:

Code: [Select]
<table>
<tr>
  <th>Name</th>
  <th>Age</th>
</tr>
<tr>
  <td>Peter</td>
  <td>12</td>
</tr>
</table>

I've attached it to this post. Please make any suggestions on how can I improve it. Feel free to upload it to the eco

7
Playmaker Help / Re: How to run FSMs in parallel
« on: August 25, 2017, 05:37:27 AM »
What is your implementation at the moment? How are they triggered to magnetise to the player? Usually what I would do for objects such as power ups is to treat them as an "object" of some type. The object would be a prefab, and would share it's logic and then I would probably send an event to all objects with the same tag to do something. Would that not work for you? Tag the prefab of the power, and then on some event they will all do something providing that the event has been sent to all of them. You could even on X event, make them run specific template for each

8
Playmaker Help / Re: How to run FSMs in parallel
« on: August 25, 2017, 03:06:33 AM »
What happens when you put "FINISHED" where the run template action is? Is it not continuing while template is running? Also you can have multiple FSMs on one object and have them launch at the same time. I don't fully understand what you are trying to achieve, i'm sure it's solvable though.

9
I don't think there is an FSM view of changes upon sync. At least not that I am aware of it. It will show all the code behind the scenes that playmaker generates I guess. Best practices for now would be to comment on every revision what was done etc, just like doing commits for github.

10
Playmaker Help / Unity 2017.1
« on: August 22, 2017, 03:08:24 AM »
Hi All,

Has anyone upgraded yet, and are there any breaking changes?

11
Playmaker Help / Re: Level up and Exp. System RPG 2D GAME !helpĀ”
« on: August 18, 2017, 02:55:20 AM »
You have to think about the experience data, how you will calculate it, how you will give it and how you will store it. Also you can have things that will be dependant on the amount of experience you have for ex. armor or weapons.

Is it a small game? Is it offline only or is it online?

12
Playmaker Help / Re: Skill enhancement system HELP
« on: August 18, 2017, 02:52:09 AM »
Don't use global variables unless you really have to. Definitely not for a skill management system. There are other ways that you can send information there and back to different FSMs. You can access other FSMs by getting their gameobjects and you can also use events.

13
Playmaker Help / Re: WWWSprite causes a lag spike
« on: August 08, 2017, 03:49:53 AM »
Okay, seems like problem is solved. The resolution of the image was too big, i was 4000 by 3400 i think. I resized the image to 800 and it's loading smoothly. It's going to be a pain though to resize +400 images, does anyone know any program that can do this all at once?

14
Playmaker Help / Re: Save and load int (easy save 2)
« on: August 08, 2017, 02:43:15 AM »
Tag is the reference name of the variable you are saving in ES2 file. If it's dynamic then it could be your object's name, it's up to you how you want to name it.

15
Playmaker Help / Re: WWWSprite causes a lag spike
« on: August 08, 2017, 02:41:51 AM »
I have tried this, and I only get one spike again

63% from PlaymakerFSM.Update() and 34% from SpriteMeshGenerator.TraceShape

Pages: [1] 2 3 ... 16