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

Pages: [1] 2
1
Playmaker Help / Re: Working With Exponents or cuberoot
« on: July 31, 2017, 12:51:25 PM »
It works! Thank you!  :)

(tested with FloatOperatorAdvanced)

2
Playmaker Help / Re: Working With Exponents or cuberoot
« on: July 28, 2017, 06:22:29 AM »
Thank you for your help, there is no error message now. I can download & use the action.

But now i can test the action, I see it doesn't seem to manage exponents...  :-\

Do you know why Jean didn't add it in 2014? (forgotten or technical problems?) Or is there another solution?

I want to be able to use float variables with another variable as exponent... I already managed it with a loop, but I'll have to use it again, and it would be better to be done properlywith a single action, I think.

3
Playmaker Help / Re: Working With Exponents or cuberoot
« on: July 27, 2017, 11:39:46 AM »
Thank you for your answer.

Yes. I just redownloaded it (after upgrading the ecosystem from 0.5.0 to 0.5.1) and I still have the same error message after Unity compiling.

Edit: and the precise version of unity I'm using is 5.4.0f3

4
Playmaker Help / Re: Working With Exponents or cuberoot
« on: July 26, 2017, 07:47:01 PM »
Hello,

The action "Float Operator Advanced" doesn't seem to work in unity >4 (my project is in 5.4) and the error is:

Quote
Assets/PlayMaker Custom Actions/Math/FloatOperatorAdvanced.cs(10,46): error CS0246: The type or namespace name `FsmStateActionAdvanced' could not be found. Are you missing a using directive or an assembly reference?

I need to use exponents based on variables. Is it easily fixable?
Thanks in advance

5
User Showcase / Re: Voxel Baller
« on: March 03, 2017, 07:29:46 AM »
Thank you! I really hope to have enough votes before the end of the world  ???

6
User Showcase / Voxel Baller
« on: March 03, 2017, 03:26:56 AM »
Hello! Voxel Baller, my project made with Playmaker is now on Steam Greenlight!

I hope you'll like it.  :D

You can help by voting if you have a Steam account.




7
Playmaker Help / Re: dataMaker xml, overwriting values.
« on: January 02, 2017, 07:54:38 AM »
Hello!
Is overwriting values in XML possible now? On trello it seems to be done ("write xml" done since 2014), but I can't find the action to do this.

Edit: To be more precise, I'd like to overwrite the innertext of a xml node at runtime.

8
Playmaker Help / Camera window in 2D game
« on: June 07, 2016, 10:37:02 AM »
Hello!

I'm trying to make a script for a camera in a 2D platformer game. My goal is to have something like this:


or this:


That way the camera doesn't always follow the player, it follows only if he goes near the border of the screen.

In order to do this, I made 4 box collider 2D, children of the camera, surrounding the player object (up, down, left, right). If the player enters one of the box collider (right or left), it enters a state where it detects if the key to this direction is pressed. If yes, il locks the camera on player (setting it as child) ; when the input is released, it is detached.

This works, but only for left and right, and only if the move comes from input... So it doesn't really work. To fix this, I'm thinking of replacing the input detection by a detection of the player object's position every 0.1 when it's inside the box collider (for example), to see if it's moving (with a comparison of its current position with the position it had 0.1 sec before). Is this the good way? If not, how would you do something like this?

Thanks.

9
Pre-release Discussion / Re: Unity 5.4 beta PlayMaker errors
« on: May 23, 2016, 04:19:42 AM »
Thank you for your answer. Great new!

10
Pre-release Discussion / Re: Unity 5.4 beta PlayMaker errors
« on: May 17, 2016, 11:16:33 PM »
Hello, I have the same problem ("SetLogCallbackDefined is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'FsmEditorWindow'."), with Unity 5.4.0b17 and Playmaker 1.8.0.f43.

I deleted Assets\PlayMaker\Editor\PlayMakerDefines.cs. but the error is still there.

I can play the project in editor, but I can't make a build. Is there a solution?
Thanks.

11
Playmaker Help / Re: Performance question
« on: April 29, 2016, 05:55:23 AM »
Thank you very much!  :)

I'll try to do as you say.

12
Playmaker Help / Performance question
« on: April 28, 2016, 02:20:17 PM »
Hello!

I'm doing a 2D platformer with quite big levels, with more than 100 enemies in the scene. A lot of these enemies have multiple boxcolliders 2D to detect the ground & various event.

I did a gif showing these colliders a few days ago, here it is, for illustration purpose :) :


To improve performance, I made a FSM on enemy object doing a Get Distance action, every frame. If the player is near, it activates the other FSM, the children detection objects, etc. Before that, the enemy object is not active. So when the level is played, 90% of the enemies a just doing GetDistance on the player object & wait to be active.

It works (still a little work to do on this), the performance have improved. But is it the good way to do? Considering this FSM will be used by nearly every object in the game, should I do another action costing less, or even use Get Distance, but not every frame?

I'd really like to hear what you think of this. Thank you!

13
Playmaker Help / Re: Trigger enter 2D reacts as trigger STAY
« on: December 23, 2014, 12:43:01 AM »
Thank you so much !  :)

Let me know if you need more information about my settings.

14
Playmaker Help / Re: How can I make 2 enemies not collide with each other?
« on: December 20, 2014, 04:31:15 PM »
You can use the layer collision matrix of Unity.

With this you can choose if colliders of the same type collide with each other or not.

http://docs.unity3d.com/Manual/LayerBasedCollision.html

15
Playmaker Help / Re: Trigger enter 2D reacts as trigger STAY
« on: December 18, 2014, 01:07:40 PM »
So.... Is there a known problem with "trigger 2D" if there are several colliders ? (one box collider on parent, and one on each child)

Pages: [1] 2