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

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

123
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!

124
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!

125
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]