Stupid question

Get help using Construct 2

Post » Fri May 10, 2013 7:35 pm

How I can move an object from one hand to another, but is not suddenly going slowly.
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Fri May 10, 2013 9:15 pm

what do you mean by hand?
B
18
S
6
G
3
Posts: 197
Reputation: 4,129

Post » Sat May 11, 2013 11:10 am

For example from point a to b... but does not want to appear suddenly, as if it were walking the object
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Sat May 11, 2013 11:26 am

Hi,

Try rexrainbow's MoveTo behavior:

https://dl.dropboxusercontent.com/u/5779181/C2Repo/index.html

Cheers,
Greg
B
17
S
3
G
3
Posts: 79
Reputation: 3,698

Post » Sat May 11, 2013 12:38 pm

I do not understand that I have to get off .. are plugins, I prefer CapX
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Sat May 11, 2013 1:40 pm

Plugins are extensions that will allow you to use extra features developed by the community.

To install a plugin you just have to open the C2 install folden at exporters/html5/plugin and paste the plugin here, the plugin features will appear in C2 then. Nothing to do with capx, your C2 project is still a capx when you use plugins.
B
20
S
5
G
3
Posts: 58
Reputation: 4,136

Post » Sat May 11, 2013 1:50 pm

You don't need a plug in to move from the right to the left hand side of the screen,slowly, if that's what your trying to do...

Just give your object the bullet behaviour, you can adjust the speed and set the angle as required...Pixel perfick2013-05-11 13:51:28
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Sat May 11, 2013 7:21 pm

Every tick:
--Set objectA position to lerp(objectA.X, objectB.X, 0.1), lerp(objectA.Y, objectB.Y, 0.1)

Change the 0.1 value to change speed
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 0 guests