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

Pages: [1]
1
Playmaker Help / Float Compare for falling death
« on: May 21, 2014, 01:01:50 PM »
Hi

I need an action similar to Float Compare, but to actually compare the difference between the floats, not just to see if it's less than, equal to, or more than.

i.e., I need to know if the difference between two floats is greater than 2 (a fixed value).

I'm trying to do a falling death based on Y distance fallen.  I have the Y position stored as a variable at the point of exiting one platform and again stored when they hit the next platform.

If the distance between the two is more than 2 world units, player dies.

Any idea how I can achieve this?

thanks



2
User Showcase / Spindizzy retro game remake
« on: March 18, 2013, 02:17:45 AM »
I'm making a remake of the 80s game Spindizzy using Playmaker, and documenting my progress on my website.

You can have a look here: http://siwaters.tv/series/unity3d-spindizzy/

There are a few details on FSM setups and the like.  It's still very much a work in progress, so there's no need to point out the glaring bug/gameplay issues that are present  ;)

New builds are added when I get time.

3
Playmaker Help / Set Visibility on everything outside a trigger area
« on: October 04, 2012, 02:26:40 PM »
Here's a tricky question.

I've got an isometric game (think Alien 8 or Knightlore. If you're under 35, Google them  :) ), made up of different "rooms" each of 8x8x8 in size

I'm currently mapping it out as one scene in Unity while designing the levels in 3D space.

What I need is a way of making a trigger box of 8x8x8 in size that, on enter, turns off the mesh renderers on everything "outside" the current room. (so you can't see what is in the room next door)

I'm thinking Set Visibility.  But it only works on one object at a time..  And my "rooms" are made of many objects....

I already solved the issue of switching to a new camera per "room" - that was relatively simple (using Jean Fabre's "Cut to Go Camera" action found on here. 

But this is a bit of a headache and I'm not even sure if it's possible.

Any ideas?



4
Playmaker Help / [SOLVED] Storing player position, and other questions
« on: September 30, 2012, 09:37:02 AM »
Hi there

I bought Playmaker around a month ago and am slowly progressing with a mock up of a game I'm making.

I have a few questions.  Here is what I am trying to achieve:-

1)  I have a character who is able to fall off a platform in a 3d isometric game.  I have a trigger plane underneath it, and have an FSM in place which checks for the trigger (on trigger enter) and then sends an event. Eventually I'll add this to a health variable as per the tutorials.

In the event, what I would like to happen is that the character respawns in about the same position that he fell off at.  So I need some way to store the characters Vector 3 constantly as a "last grounded position", then respawn at that point.

I believe I cannot use IsGrounded as I am using a physics based character, not the character controller.  if I can use IsGrounded, then I'd need someone to help me out with that.

2)  Related to this, I have a kind of "emergency stop" function when pressing space.  At present I am botching it by using "Rigidbody - sleep".  But this has the unwanted side-effect of stopping the character mid-air or wherever he is.  I need this to only be able to function when he is grounded.

Has anybody got any suggestions on that?

Many thanks in advance for any help.  I'm muddling through!

Pages: [1]