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

Pages: [1] 2 3 ... 14
1
Feature Requests / show if variable is global in state tab
« on: May 31, 2017, 05:07:23 PM »
I'm pretty sure that playmaker used to show globals/variable name in the FSM state tab for those variables that where global, instead it now just shows the variable name, which is a problem when you have a global and a local variable with the same name.
since upgrading from an old version of PM I have gone to change variables several times as I keep thinking they are local when they need to be the global variant.

was there a reason for this change or could there be an issue with the upgrade process?

2
Action Requests / mouse pick to select camera
« on: May 26, 2017, 12:08:22 PM »
I have recently updated to unit 5.6 and have had an issue where, due to physx removing support for non-convex meshes as triggers, part of my UI no longer works as I was using a mesh to get specific areas of the UI and send event back to unity.

so, as usual with game dev, tying to find solutions to fix issues - I have just spent ages trying to use the mouse pick actions, mostly mouse pick 2d and sprites - long story short - my UI is not on the main camera (I am using an old version of ngui)

So I done a whole load of testing, when the main camera is on and the object is in view of this camera - it works - when I then move it in front of the UI camera it no longer works.

Looking at all the other screen/mouse pick actions they all seem to use the main camera - is it possible to amend them to allow the user to select the camera they want to ray cast from, this would make all those scripts a lot more versatile.

thanks

3
Playmaker Help / Re: Locking Graph in Place?
« on: July 03, 2014, 09:15:29 PM »
I think you can stop it by hitting the disable DebigFlow checkbox in the FSM tab of the playmaker window or the playmaker component on the game object.

4
Playmaker Help / SQLite kit, PM & colors
« on: July 03, 2014, 12:11:11 PM »
I am trying to save colors out to an SQLite database with the SQLite kit and having difficulty loading the data back into a color.

When saving an FsmColor to the database it reads like this:
RGBA(R,G,B,A)
between brackets are the actual decimal numbers.

As this is a string I can't find a way to get it back to a color in unity (which I can then set back to the FsmColor)

The only way I can see of doing this is either to save each channel out as a float in a separate column in the database (but this creates 2 more columns that I would imagine has some sort of performance hit) or to manipulate the text to get the 3 values and then convert them to floats to finally combine them to a color.

5
Share New Actions / Re: RotateAround
« on: June 13, 2014, 08:32:09 AM »
Just by chance I have just needed to make this work in real time, thanks for the hint alex, just spent some time trying to figure this out!

6
Take a look at this http://starscenesoftware.com/objreader.html I think I may have an unfinished action for this in playmaker, have not touched it in several months but the get/set action will probably be helpful here.

while it only supports .obj format its a far more popular format than .3ds (that I am gathering you wanted as the link you posted referenced .3ds file format) and any 3d modeling program that can open a .3ds should easily export it to .obj format.

7
Feature Requests / Re: IF- statement action
« on: April 26, 2014, 06:39:56 AM »
Just a few days ago I came up with a similar idea, however If statements do not have to be bool values.

So my idea is to have an if statement that you can select a variable type (or possibly even just an if statement for each variable type) with all the related options from == <= >= != etc. (or maybe allow a custom expression)

Further to this, while the FSM's are great, they can get a little messy and you have to split them up for tests so you can go either way of the result, the if and else.
Taking a page out of normal coding and unity itself, how about a completely new/different system, where if statements will go into a hierarchical structure, if the statement is true then it will do the child actions and similarly have an else statement child actions.
Then just continue with that state with what ever actions are left.

I would find this very useful to cut down on quantity of sates used in an FSM that just need to do an extra step or two if something is correct. instead of doing the first part of the code, then have 2 more states one for the true and false of the if statement and then a 4th state to do the rest of the logic.

With the if statement proposed above this would cut it all down into 1 state, while it has its disadvantages that you cant see the flow logic as easily and that the code/actions within the if statement cant be re-used by other states I think it might be useful for more advanced users and make things cleaner for many different FSM's

I have not updated playmaker in some time due to fear of breaking my project so was not sure if something similar had already been implemented, however as this is a recent post I am assuming it hasn't.

8
Share New Actions / Get texture pixel colour RBG
« on: August 14, 2013, 07:02:58 AM »
A simple script that will get the pixel colour in the RGB Channels in the form of a float between 0-1

For performance reasons it will not get the nexture every frame, if your texture changes and you need to get the colour from the new texture you will need to exit and re-enter the state (or move onto the next state etc) to get the updated texture.

the per-frame will get the updated coordinates pixel every frame. It works for X horizontal and Y for vertical starting in the bottom left corner of the texture.

9
Share New Actions / Re: WWW POST
« on: June 06, 2013, 12:32:35 PM »
Thanks!
Would it not be similar for non-pro versions too, thought video playback was limited to pro?
Either way that script will help us all :D

10
Share New Actions / Re: WWW POST
« on: June 05, 2013, 06:51:11 AM »
Hi Jean, sorry to dig up an old post, just curious to why the script has been left out of the mobile device builds?

11
Work In Progress... / Re: Colonisation: Moon Base
« on: June 04, 2013, 11:20:06 AM »
Well its been a long wait, but we are almost there, the project has just gone live on kickstarter.
You will get your first chance to see the game in action as well as some exclusive prizes

The entire game is made using unity, playmaker and ngui!

Help me finish the game by supporting the project!

http://www.kickstarter.com/projects/993702462/colonisation-moonbase

12
Work In Progress... / Re: Match 3 PlayMaker Kit (#1GAM5)
« on: May 28, 2013, 03:52:29 AM »
only thing I would suggest is doing the drop of the cube once all matches have been completed - if you move a block to create a pair of matches (2x3) it does one, then drops the above and then does the second.
If the first set moves your second set out of position, that second set of 3 is not counted and just drops.

13
Action Requests / Re: Hide conections
« on: May 17, 2013, 08:26:48 PM »
I might take a look at an old build, it could be the 90+ fsms where having draw calls for their states, this could of killed performance on the mobile device, I knew after removing the active FSM's (deleted self) performance was back up again

yeh, either that post with grouping them or http://hutonggames.com/playmakerforum/index.php?topic=3284.0

though the post you linked to lane looks more popular, but also more uncertain - either way I am avoiding upgrading till I finished my current project (currently still on 1.5.4) - its a shame cos I could do with those performance increases badly, but I will suffer the pain to be certain nothing breaks!

14
Action Requests / Re: Hide conections
« on: May 16, 2013, 03:30:15 AM »
Thanks jean, I am attempting as much as possible to keep the number of FSM's down to a minimum, when I was running 80+ fsm's on my mobile device I noticed considerable performance issues, even though these fsm's was not doing anything (had finished the last action but was still active) this means on some level that separate fsm's use up for resources (I know that the 80+ is extreme, but my device is fairly powerful and need to save as much as I can for lower end devices)

Also I did consider using events, however I find that there is less chance of mistakes here, with good planning and testing I am sure there wouldn't be an issue but I am always concerned that an event is called at the wrong time, from somewhere unexpected, multiple sections under the same events etc, for me this way it can only leave that state and unless an event is sent to that fsm it cant go wrong.

saying that, it would probably only take a few events to tidy this up somewhat especially for the ones that have lots of states leading into it.

Its something I will probably consider more when I begin a new project as I am comfortable with the way it is for now and would rather not break anything at this point, thanks for your suggestion.

15
Feature Requests / Re: FSM Compounds
« on: May 12, 2013, 12:40:38 PM »
I think that Lane has a good idea for now, baby step and just have stuff collapsed, I was going to also suggest this however I had couldnt think of a good way to demonstrate the multiple in's & out's cleanly and efficiently

Pages: [1] 2 3 ... 14