Speed movement problem when resizing

Get help using Construct 2

Post » Fri Nov 09, 2012 11:52 pm

I'm using this method to move an object
System EveryTick:
Set X to Object.X +2

The movement looks fluid, but the problem is that, when I resize the window(I'm using letterbox scale mode), the object moves faster.
Is there a way to avoid this? I noticed that using bullet behaviour runs equally faster when resized, but is there a way to implement this without using the bullet behavior?
B
34
S
4
G
5
Posts: 84
Reputation: 4,835

Post » Sat Nov 10, 2012 1:21 am

search manual for delta time
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Sat Nov 10, 2012 5:18 pm

Wow that's fantastic! :D
I just bought the standard version of Construct 2 to be able to publish to IOS/Android and use families.

But using dt i've found a new problem:
https://dl.dropbox.com/u/76175551/Problem.capx

The objects appear at minimal diferent distances and I can't use Wrap behaviour because it interferes with other things i'm planning to do.
What do you recommend to avoid those gaps
B
34
S
4
G
5
Posts: 84
Reputation: 4,835

Post » Sat Nov 10, 2012 6:02 pm

Instead of setting x to 960, set it to Ground.X + Ground.Width * 6.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Sat Nov 10, 2012 7:20 pm

Thanks! it resolved the problem :)
B
34
S
4
G
5
Posts: 84
Reputation: 4,835


Return to How do I....?

Who is online

Users browsing this forum: makkancs and 26 guests