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.


Topics - brendang

Pages: [1]
1
Playmaker Help / How to Toggle Collider with Set Property?
« on: July 05, 2016, 06:54:35 AM »
Hi all,

I have a simple 3D platformer with a Cube Character. I'd like him to be able to jump up onto 'special platforms' from underneath. My thought was to give him a collider on top, set it as a trigger, and when it collides with a platform from under, disable that platform's box collider(screen2a.jpg) for a moment.

I can access to the platform's Box Collider with Get Property, but I'm not sure how to toggle it, There is only an 'Enable' option (see screen1a).  Using C# it's pretty straight forward, but I'm trying to use Playmaker exclusively for this.

1 - is this the best way to do this?
2 - How do I toggle a box collider I've accessed with a Get Property Action.

Any help would be mighty appreciated.
B.

2
Playmaker Help / Jump Help - Keep moving in direction of Jump?
« on: July 05, 2016, 04:21:55 AM »
These are two separate items that occur during a simple platformer jump (cube character). If you can help with either I would be mighty grateful.

1 - Prevent horizontal axis control during jump (when not grounded). Basically prevent player from being able to change direction in air.

2 - When jumping during a horizontal move, is there a way to not suddenly fall when you release the 'Get Button Down'/Jump button?  The character just drops at this point, and doesn't take it's horizontal movement/velocity into account.

thanks for any assistance.
B.

3
I am not sure why the UGUI actions are not part of the main PM install.  It's not utterly unseemly to have to use the ecobrowser to get them, but the UI is sort of a basic pillar of Unity, so I can't figure why they simply aren't there.

Thanks,
B.

4
Playmaker Help / Instantiate along a path....
« on: March 04, 2013, 08:03:56 AM »
I'd like to set up a curved path and set randomly timed gameObjects to instantiate (create Object) on it.

Basically I'd like to create waves of enemies (very likely with a pooling plugin but that's another issue), that travel down the path at random time.  My thought was to instantiate empty GOs on the path, then use them as spawn points. But I'm not quite sure how to instantiate to a path.

Any thoughts would be really appreciated.

B.

5
Hi All, a bit storm-bound here in New Jersey waiting for  'Frankenstorm' to arrive and wanted to try and come up with a 2D type character controller, but physics based.  I'm not really sure where to begin. If I was doign a simple old school movement script I'd 'GetAxis' for "Horizontal and Vertical, use a variable to tweak speed, multiple by Time.deltatime type of a thing.  But Not sure how to get a nice controllable... 'feel' with Physics.

Imagine the character has a 'neutral' float level above the ground (or water), and I would imagine I add rigidbodies.AddForce form each axis button, maybe a slight counter force when I need it to stop say, flying up?   

Any thoughts would be mighty appreciated. My basement may flood, but at least I'd come out of this Hurricane with a kickass flying, 2D scroller type controller.  ;D

If you're in the neighborhood, be safe!

Brendan

6
Okay, this may sound odd, but I'm trying to figure out how to control the volume of a sound based on how close I get to it. Obviously Unity is setup for '3D' sounds and does this in one way. But what I'd like to do is have a sound (or sounds), as an audio source on various objects in a scene and as the character gets close to the object, the volume increases.  

I guess the difference is, I'd like to control the distance. For instance, if I were walking along side a walk with an audio source on it, I'd like it to only produce a sound if I came 'real close' to it or in contact with it. so a simple trigger isn't quite enough.  

I guess I could be casting raycasts, but that could get heavy I would imagine.  Any thoughts would be really appreciated.

Brendan

7
Playmaker Help / Auto-Type Effect (type-on text)
« on: August 23, 2012, 06:51:31 PM »
So I found this cool little script on the Unity wiki for Auto typing.  Basically it allows you to type on your GUI Text over time.  http://wiki.unity3d.com/index.php?title=AutoType

I set a Playmaker state to wait for an OnTrigger event that would send an event to a second state which activates the GUIText object. Unfortunately it flashes the full text first, then it types it on.

My next thought, was to add a 'set GUIText' in the second state after activating the GUIText object.  It still flashes the text first, then types it on.   

I'd appreciate some thoughts on how I might avoid the flash of the text before it types on.

thanks,
Brendan G.

8
I'm trying to digest more complex concepts in PlayMaker recently but this still eludes me.  When might you use a second (or third), FSM on an object.  Could someone suggest a relatively simple example of when this would be useful?

thanks,
B.

9
Playmaker Help / 2d Flying Character control
« on: August 10, 2012, 08:38:33 AM »
Hi All,

So I am trying to com up with a simple yet nimble 2d character controller.  It's harder than it sounds. Easy enough to tie a gameObject to the arrow keys or touch events, but there's that something....else.. not sure if it's inertia, or weight or easing... that I'm not sure how to address.  Take the attached image, a simple mockup. The Orange guy flies through his 2d world, collecting prizes and avoiding deadly pink smileys.  I'd like him to feel responsive, but not like you were pushing a penny across the table with your finger (hope that made sense as an analogy).

I was thinking Itween might be useful as it has some ease options but I wanted to ask here in case someone had some insight that would help me out.  I'm way more designer than the coding guy,  (Hence the love of Playmaker from the start).

Any insight help or example would be gratefully devoured.  Also, if you have a solid mechanic but would like to be compensated, I'm not ripe with cash but would certainly be open to discussing compensating you for a working solution.

Thanks guys, have a great weekend!

Brendan G.

10
General Discussion / Released Games made with Playmaker?
« on: July 03, 2012, 11:44:50 AM »
Wasn't sure if there have been any, but would be great to check out any that were. Maybe  give them some support...get the word out, or tweet about `em.

Anyone complete a game with Playmaker and have it for sale?

11
Action Requests / 'Offset' in 2d Wave Mesh (Mega-Fiers)[SOLVED]
« on: May 20, 2012, 11:54:26 AM »
I'm sure this could work for more than this one attribute.  But I'd like to be able to slowly increment the (texture) offset in this MegaShape within Mega-Fiers

Is there a generic way to access these type of attributes?

thanks,
B

Pages: [1]