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

Pages: 1 ... 7 8 [9]
121
Playmaker Help / Re: How do I make this math?
« on: January 31, 2014, 09:03:14 AM »
Hi Jean!

This Follow Mouse action is really straightforward! Much better than use Mouse Pick and get/set mouse coordinates for the object! I hope this action to be included in a Playmaker update. Couldn't add an ease in/out to the Move Towards action. I played a bit with "spring joint" as you mentioned in a post before with no success. I think that an acceleration movement to go slowly from 0 to a maximum speed when the mouse button is down and then slowly return to 0 when the mouse button is up even if the maximum speed was not reached.

Many thanks for your help!

122
Playmaker Help / Re: How do I make this math?
« on: January 30, 2014, 09:21:21 AM »
Hi Jean!

Thanks for your reply.

I couldn't understand the example you made. Inside the Mouse game object is a "missing Action" inside named FollowMouse. Are you using it for a placeholder (as described here: https://hutonggames.fogbugz.com/default.asp?W838) or my Playmaker is missing this action?

Quote
-- the move toward action has its Finish distance set to 0 so that it never stops catching up even if at some point it's perfectly positionned where the target is.

I tried it before but couldn't set an easing to it (as it originally has on the game I sent to you).

Again, thanks for your time and patience!

123
Playmaker Help / Re: How do I make this math?
« on: January 28, 2014, 04:45:53 AM »
Hello Jean!

Any news?

124
Playmaker Help / Re: How do I make this math?
« on: January 21, 2014, 01:42:15 PM »
Jean, I PM you with a dropbox link to the file.

Cheers!

125
Playmaker Help / Re: How do I make this math?
« on: January 21, 2014, 05:40:44 AM »
Hello Jean!

Thanks for your reply!

Sadly it's not what I'm looking for. Do you mind if I send to you the original project so you can play and see exactly the kind of movement I'm talking about?

Cheers!

126
Playmaker Help / Re: How do I make this math?
« on: January 14, 2014, 06:09:28 AM »
For sure, Jean!

127
Playmaker Help / Re: How do I make this math?
« on: January 13, 2014, 08:11:49 AM »
The problem with iTween is that I couldn't accomplish the same result of the code I used before. :(

I couldn't:

- stop the movement with easing (slowing down until stop) when mouse button is up. I got the easing in (start movement) but when the mouse button is up it stop suddenly or goes to the last vector3 position.

- stop the movement but without the object reaching the last place where the mouse button were down;

- move the object again without letting the mouse button down if the object reach the same position of the mouse pointer. At now, it stops the movement and I need to click again to move.

Thanks in advance!

128
Playmaker Help / Re: How do I make this math?
« on: January 10, 2014, 09:27:46 AM »
Hello!

I described the code as I did in multimedia fusion. I don't have a programming background so I don't know how to show it in code language...

The movement is the same like in this video: http://youtu.be/_Yls_iiDDj8?t=5m55s

Thanks!

129
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 ... 7 8 [9]