I have a problem, Infinite Runner

Get help using Construct 2

Post » Thu Sep 18, 2014 12:52 pm

So I'm trying to create an infinite runner game. This is my first serious project, and I really want to do a great job on it. :)
My problem is: The Auto-Runner template starts you off great, but one problem I am encountering is that the player is very jerky, and keeps on being pulled back by what seems to be friction. It does not make much sense to me as I am a relatively new Construct 2 user but I'm sure many of you know what I'm talking about.
So to sum things up, how can I effectively have my player run smoothly without looking like it's lagging or being held back by the platform.
All help is appreciated, thank you!
B
6
S
1
Posts: 89
Reputation: 619

Post » Thu Sep 18, 2014 1:46 pm

there is no physic behavior on any object. so I think that isn't friction.

and look closely event number 9 & 10
"Due to the acceleration of the platform movement, we need to do some tweaks to make sure the player doesn't gradually get pushed off to the left of the screen over time."

so it's not being held back by the platform
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
63
S
14
G
2
Posts: 291
Reputation: 6,641

Post » Thu Sep 18, 2014 2:50 pm

Okay, so why does the template lag ever so often?

What I want is for the game to run smoothly, right now it's close but it isn't running as smooth as it should be. Esp when I apply an animation to my player, everything just gets really glitched out.
B
6
S
1
Posts: 89
Reputation: 619

Post » Thu Sep 18, 2014 5:22 pm

can I see your capx?
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
63
S
14
G
2
Posts: 291
Reputation: 6,641

Post » Thu Sep 18, 2014 11:57 pm

Here it is, the temporary player is sad right because things are not working out too well for him.. lol :D
You do not have the required permissions to view the files attached to this post.
B
6
S
1
Posts: 89
Reputation: 619

Post » Fri Sep 19, 2014 2:58 am

Does your sprite have animations? That will normally cause the player to be suddenly pulled back every now and then and will also sometimes stop the player from jumping.
B
37
S
14
G
3
Posts: 263
Reputation: 4,270

Post » Fri Sep 19, 2014 6:25 am

Yeah it does. I was actually going to create a separate post for that very question you just asked, so thanks for being insightful. I did a platformer tutorial by Ashley, and he showed how to use a playerbox so that the platformer behavior does not interfere with the animation. I tired doing this but I'm sure it's more complex than I presumed.
I just want to know how I can make everything run smoothly whilst including animations on the player.
If you could help me out that'd be great. Thanks again!
B
6
S
1
Posts: 89
Reputation: 619


Return to How do I....?

Who is online

Users browsing this forum: Bootfit and 16 guests