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

Pages: 1 [2]
Playmaker Help / Key down firing multiple events wrongly[SOLVED]
« on: June 20, 2014, 07:42:54 AM »

I'm using a "master control" FSM to send events when needed but it is firing some events that need to wait for input. Each FSM that receives the event are waiting for the "Return" key but should wait for another "return" press and it is not happening. All related FSMs are firing with only one input. Like this:

FSM 1 receives the input and send event to activate FSM 2 but as soon as FSM 2 enter the "waitInput" state it fires an event as if the "return" key as pressed again and goes to another event that fires the 3rd FSM. I had another FSM that was equal to this and was working fine. Could it be a bug?

I got a workaround setting the send event to delay 0.1 second before sending the event. This workaround would break on stress situations like low fps on old machines?

Thanks in advance!

Playmaker Help / Trigger side
« on: May 31, 2014, 04:44:00 PM »

Is it possible to detect which side of a cube trigger was entered?

I'd like to send events based on which side of the trigger (top / bottom / front / back / left / right) was entered.

Thanks in advance!

Playmaker Help / Lap system with checkpoint for racing game
« on: May 26, 2014, 04:31:22 PM »

I'm trying to make a lap system using the checkpoint system that comes with the arraymaker samples but couldn't figure how to prevent "user cheating" because if the player pass over the last checkpoint (the one that subtract the lap counter) without crossing other checkpoints before it still counts a lap as complete. I followed this video and script ( and tried to do the same using Playmaker but couldn't go too far. Can someone help me?

Playmaker Help / Array List Get Next / Previous[SOLVED]
« on: May 15, 2014, 05:49:36 PM »

I'm trying to make a player select screen using one parent with 5 children. I have one button to move next and one to move back in the array list but it's not working as I expect. The issues are:

1- the first child in the list only appears after I click to go next or previous (it is starting with none selected). I'd like to start showing the first child in list;

2- If I'm moving next and then press to move to the previous item on list it goes to the last object and if I move next again, it goes to the last child shown. I'd like it to go "-1" in the list when moving next and "+1" when moving to the previous. The way it is, looks like there are two arrays being acessed by each button. To make it more clear: If it's in position two on the list and I press "previous" it is not going to position one. It's going to position five and if I press "previous" again it goes to position four. If I press "next" it goes to position three, not to position five.

I made a scene showing the issue Keep in mind that it requires the ArrayMaker to work properly.

Thanks in advance!

Playmaker Help / How do I make this math?
« on: January 09, 2014, 04:38:51 PM »

I'm a bit new to Unity + Playmaker and don't know how to make this using Playmaker:

Code: [Select]
Left mouse key is down
[i]Sqr[/i]((X position "player")-X position mouse) [i]pow 2[/i] + (Y position "player")-Y position mouse) [i]pow 2[/i]) > 5

Set player to Look at mouse X 0, Y 0

Left mouse key is down
[i]Sqr[/i]((X position "player")-X position mouse) [i]pow 2[/i] + (Y position "player")-Y position mouse) [i]pow 2[/i]) > [b]Speed[/b] "player" + 5

Set [b]Speed[/b] to Min([b]Speed[/b] "player" + 5, 60)

I used this code to move the "player" in a 2D space with a bit of ease in/out. While the mouse key is down it "accelerates" towards the mouse position (and keep following the mouse), stops when in the same position of the mouse pointer while the left key is pressed and loses speed until stop with ease even without reaching the last mouse position were the left mouse key was down.

It worked very well on Multimedia Fusion but I couldn't figure how to achieve this using Playmaker. I tried iTween, Add Force, Move To and none gave me the same result as the code above.

I don't have any intention to stick with this code at any cost so if you know another way to achieve the same thing or want to share how to use this code on Playmaker, please help.

Thanks in advance!

Pages: 1 [2]