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

Pages: 1 [2] 3 4 ... 8
16
Playmaker Help / Get Component's Owner?[SOLVED]
« on: August 21, 2018, 04:22:44 PM »
Hello Playmaker Community,

I am wondering if there is a way to get a gameObject value from a component's value.

Here is my situation:

I am using get property to grab a property of a third party script. The value I am grabbing returns a "object" value. How can I get the gameObject that the value is associated with? The objects value is a component on a gameObject created at runtime. Does that make sense to anybody? haha

I have a custom action started but it wont save the object value:

Code: [Select]
using UnityEngine;

namespace HutongGames.PlayMaker.Actions
{

[ActionCategory(ActionCategory.UnityObject)]
[Tooltip("Gets the owner gameobject of a component")]
public class GetComponentOwner : FsmStateAction
{
        [RequiredField]
        public FsmObject componentToUse;

        [UIHint(UIHint.Variable)]
        public FsmGameObject storeGameObject;

        public override void Reset()
        {
            componentToUse = null;
            storeGameObject = null;
        }

        // Code that runs on entering the state.
        public override void OnEnter()
{
            DoGetComponentOwner();

            Finish();
}

        public void DoGetComponentOwner()
        {
            storeGameObject.Value = componentToUse.Value as GameObject;
        }


}

}


Thanks for any suggestions!

17
Playmaker Help / Re: Particle Collision
« on: April 12, 2018, 12:26:45 AM »
Figures I would post that and then I get it to compile but I still can't get it to pass the event data. I will keep working with it though.

Edit*** And then after I posted this I got it to work with the new updated code, so never mind... ;D

18
Playmaker Help / Re: Particle Collision
« on: April 12, 2018, 12:11:44 AM »
I did look at it but it says to change it to a list and I am not very familiar with lists. I tried changing it but the things i tried didn’t work.

19
Playmaker Help / Re: Particle Collision
« on: April 11, 2018, 10:37:08 PM »
I can't get this script to work. I am also trying to do this in 2d if that makes a difference(which it probably does). Also in visual studio when I took a look at the script it said a line was deprecated, but I'm not sure how to update it. Anyone available to take a look? I am ultimately trying to get the point of contact from the particle collisions to spawn something there.

20
Playmaker Help / Re: Blendshapes and Playmaker Problem
« on: March 05, 2018, 02:40:43 AM »
Hi Jean,

I’m not using get or set property at all. I know you are very busy and since I found a workaround I don’t think it is necessary to send a repro. Unless it will benefit the playmaker community I am ok with the work around. Thanks though! :)

21
Playmaker Help / Re: Blendshapes and Playmaker Problem
« on: February 19, 2018, 10:54:34 PM »
They work totally ok in the editor but when I try to access them from playmaker they don’t work. I ended up just making them work as an animation clip. I believe the animator is somehow overriding the blendshapes when trying to use both together.

22
Playmaker Help / Blendshapes and Playmaker Problem[SOLVED]
« on: February 17, 2018, 12:36:27 AM »
Hi,

I am using the blendshape actions on the ecosystem and I have a Fsm where it randomly picks a state with a "animate float" action and a "set blendshape weight" action. The float variable will increase and the blend shape field will change. The problem is I have three sets of states, one for happy, one for scared, and one for excited,and only the happy one works as expected. The other two start off well but as soon as it exits the state after the animate float finishes their weights reset.

Also on a side note the two blendshapes that don't work properly, don't work at all unless my animator component is on "animate physics".

Anybody know whats going on?

Unity 2017.2
Playmaker 1.8.9

23
I think I remember seeing something about that as well, but everything works fine minus this rare crash. Although on the asset store it says everything from 4.6 and up but that could just be previous versions I guess. It did allow me to update it though through the asset store so I am wondering if that may not be true?

24
Thanks for the replies guys,

The version of Unity is 5.1.5f1
Prior to the update the version of Playmaker I cant remember but it was I believe 1.7 or something. Now it's 1.8.5f8

I didn't update Unity and there are not any warnings or errors normally, but I can't seem to get it to happen in the editor.

I do have a few backups but I updated a about a month ago and that backup with the previous version of playmaker no longer exists.

25
Hi,

I updated to the newest version of Playmaker and am now getting random crashes in my game. The crash logs are almost always the same, but I can't replicate it in the editor. I have attached a picture of a crash log from xcode, if anyone has any idea let me know. I already emailed the master audio developer but he said they don't have any coroutines in their asset. I thought it was worth a shot since their asset appeared in the log. I believe its something to do with Playmaker as that's the only other asset mentioned with FSMs.

26
I’ve updated Don’t Pop! Dungeon to include a health and lives system so you no longer die instantly upon being hit by an enemy. Also if anyone decides to try it please let me know how I can polish or improve the game.

27
Thanks! I have a lot of fun playing it and I had fun making it.

28
I've updated Don't Pop! Dungeon to 1.1.8 on Android and iOS, it's still free if anyone here wants to try it. Here are the update notes:

Added Chinese Simplified and Traditional Languages
Added new lighting
Fixed a bug where the character "Mellow" would not be available even after unlocked
Performance improvements in enemy code
Added new unlockable character
Fixed a bug that caused a menu to keep popping up
Added token counter on the main menu
Increased bullet speed
Added new sound effects for Bubbly Character
Balanced enemy health values
Added more gem drops!
Various Bug Fixes
New User Interface Graphics
Touch Controls Overhaul

The game looks so much better than when we first launched. Please let me know what you think?

29
Work In Progress... / Pop! Factory Havoc Feedback
« on: September 05, 2017, 06:38:13 PM »
Hello Playmaker community,

I have been working on this game for about a month on and off, but I feel it doesn't have the certain polish it needs to "make it" as an actual game (even if it is a small scale game). If anyone wants to try it and give me a couple of pointers I'd be grateful. The only thing I can think of is maybe character accessories, but I'm more interested in gameplay advice vs cosmetics. It's not complete yet but the only thing that isn't done is the main menu and the upgrade menu It's on itch.io here: https://serenefoxgames.itch.io/pop-factory-havoc

How to Play: The controls are the left and right arrow keys (or A and D). You basically have to keep your bubble character alive and break the shield lines that the robot characters are using to hold your bubble friends. The game may be released on mobile at some point so that's why there is a slider on there too.



Thanks!

30
General Discussion / Re: Nintendo Switch Support
« on: September 03, 2017, 02:45:43 PM »
I just wanted to bump this because I was wondering the same:

Has any gotten playmaker to compile on the switch?

Pages: 1 [2] 3 4 ... 8