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

Pages: 1 [2]
16
Playmaker Help / Trigger side
« on: May 31, 2014, 04:44:00 PM »
Hi!

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!

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

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 (http://www.youtube.com/watch?v=7NehsLWcFIU) and tried to do the same using Playmaker but couldn't go too far. Can someone help me?

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

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!

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

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]