Simple sprite movement?

Get help using Construct 2

Post » Mon Jan 23, 2012 1:23 pm

I just want to do some basic things with my menus and a few in-game sprites. A dialog box sliding in from below, or buttons and text sliding in from offscreen for example. By themselves w/o input from the player.

I tried using some dt expressions but that seems needlessly complicated for some simple automatic movement and I couldn't figure out how to stop them from moving either. animating this in seems wasteful too. Any help?
B
13
S
6
G
5
Posts: 74
Reputation: 3,991

Post » Mon Jan 23, 2012 1:49 pm

lerp is your friend. It is a system expression, you should experiment with it. There are a couple tutorials for it, too, hit the search box, apparently it works now.

Tis a good day.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Mon Jan 23, 2012 2:36 pm

Thanks, I'll mess with it but I seriously doubt math will ever be my friend.

Would anyone be able to provide a simple example using this method with what I want to do? Would make learning this a whole lot easier.
B
13
S
6
G
5
Posts: 74
Reputation: 3,991

Post » Mon Jan 23, 2012 5:34 pm

For reference:

Explanation of lerp - LINK
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests