How do I fix jumpy movement

Get help using Construct 2

Post » Sat Jun 28, 2014 10:25 pm

I'm trying to make a simple tank/shooter game, but the movement of the sprites seems to periodically 'jump', when I run the layout in debug mode, the framerate is 35-40 FPS even when there are many objects on screen. I haven't found any other posts about this problem, so I don't know if it's just my PC, so please help.

I've included the project file in a Dropbox link, the upload on the forum doesn't seem to work right now:
https(colon)(Slash)www(dot)dropbox.com(slash)s(slash)26jzixujfz4b5gi(slash)C2Tank.capx
B
4
Posts: 6
Reputation: 212

Post » Sat Jun 28, 2014 10:58 pm

What do you mean by Jump, Can you upload a image for the problem.
Because it's run fine on my pc.
Image
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sun Jun 29, 2014 12:07 am

A0Nasser wrote:\Can you upload a image for the problem.
\

A single image won't show what I'm talking about.
Say one of the sprites is moving to the right, periodically, the object will "teleport" slightly, but noticeably, further ahead, making movement look choppy.
B
4
Posts: 6
Reputation: 212

Post » Sun Jun 29, 2014 1:22 am

You have to make sure every frame and every anchor point (the one used for positioning) are the same size and on the same position.
If they are not, there will be jumpiness as you said in your last post.
B
6
S
1
Posts: 73
Reputation: 571

Post » Sun Jun 29, 2014 1:59 am

rezagamertag wrote:You have to make sure every frame and every anchor point.

This is not the problem, even non animated sprites appear jumpy
B
4
Posts: 6
Reputation: 212

Post » Sun Jun 29, 2014 2:01 am

VeryConfused wrote:
rezagamertag wrote:You have to make sure every frame and every anchor point.

This is not the problem, even non animated sprites appear jumpy


You're going to have to Crtl+F your events and find every event you've added to the sprite that is jumpy to see if anything could have caused it to act like that.
B
6
S
1
Posts: 73
Reputation: 571

Post » Sun Jun 29, 2014 2:06 am

rezagamertag wrote:
VeryConfused wrote:
rezagamertag wrote:You have to make sure every frame and every anchor point.

This is not the problem, even non animated sprites appear jumpy


You're going to have to Crtl+F your events and find every event you've added to the sprite that is jumpy to see if anything could have caused it to act like that.


No events should cause the jumpyness. All of the sprite objects jump periodically, and one is controlled just by a bullet behavior whose speed is changed only once by the events, so if it were the cause, it would only jump once.
B
4
Posts: 6
Reputation: 212

Post » Sun Jun 29, 2014 7:39 am

I understand what you saying.
On my local preview mode I can notice jumpyness but on a published project It is much smoother.

http://www.scofano.com.br/sandbox/teste/
b = bullet
nb = non bullet (move +1)
cm = custom movement

http://www.scofano.com.br/sandbox/move.capx
B
32
S
5
G
1
Posts: 163
Reputation: 2,648

Post » Sun Jun 29, 2014 1:41 pm

Scofano wrote:I understand what you saying.
On my local preview mode I can notice jumpyness but on a published project It is much smoother.

Thanks, if the finished product is smoother, then its fine.
B
4
Posts: 6
Reputation: 212


Return to How do I....?

Who is online

Users browsing this forum: stevenode, Yahoo [Bot] and 10 guests