Making instances move as soon as they appear.

Just started using Construct 2? Post your questions here

Post » Thu Apr 28, 2016 8:11 pm

https://www.dropbox.com/s/7neppac4zbxv6 ... .capx?dl=0

When the instances appear on screen, they don't move instantly which causes a gap between the platforms to get wider and wider.

How do I get them to move as soon as they appear?
B
13
S
4
G
1
Posts: 54
Reputation: 1,440

Post » Thu Apr 28, 2016 8:30 pm

The problem is the movement code is only applied to the currently existing platforms. You need to store the same movement value and then apply it at the time of creation.
ImageImageImage
B
71
S
22
G
259
Posts: 3,793
Reputation: 143,702

Post » Thu Apr 28, 2016 11:51 pm

Thanks, @blackhornet. Can you go a little further and give a few hints on how to do that?
B
13
S
4
G
1
Posts: 54
Reputation: 1,440

Post » Fri Apr 29, 2016 12:23 am

ImageImageImage
B
71
S
22
G
259
Posts: 3,793
Reputation: 143,702

Post » Fri Apr 29, 2016 4:37 am

You're awesome, @blackhornet! Thank you so much.
B
13
S
4
G
1
Posts: 54
Reputation: 1,440


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest