Platform Walking/Jumping Glitch

Get help using Construct 2

Post » Sat Aug 29, 2015 8:24 pm

Hello guys!

I am testing a new platform game here... has anyone ever been to a walking / jumping glitch? While walking (right / left key pressed) the player jumps and/or the screen is scrolled up and down after a few pixels through...

- The player has 2 behaviors: platform and scrollto
- It starts on a sprite with solid behavior.

I have unset the player's scrollto behavior but it keeps happening. But this time the character/sprite moves a little bit down on Y and returns to its original Y (while walking).

Has anyone?

Thanks!
B
24
S
4
G
1
Posts: 174
Reputation: 1,821

Post » Sat Aug 29, 2015 8:34 pm

Can't know what is happening without seeing the events in the capx. It would be beneficial to provide a capx that shows the problem. Yo'll get a better response if you do.
B
41
S
19
G
65
Posts: 1,085
Reputation: 37,842

Post » Sat Aug 29, 2015 8:45 pm

Hi! Thanks!

It seems like this forum isn't accepting files upload anymore... how are you guys doing it these days?
B
24
S
4
G
1
Posts: 174
Reputation: 1,821

Post » Sat Aug 29, 2015 8:59 pm

Best bet is a free host such as Dropbox, Google drive or Onedrive (or whatever it's called). Hosts that require you to navigate interminable ads and popups are a definite no-no for most people.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
132
S
29
G
81
Posts: 5,329
Reputation: 56,657

Post » Sat Aug 29, 2015 9:43 pm

B
24
S
4
G
1
Posts: 174
Reputation: 1,821

Post » Sat Aug 29, 2015 10:27 pm

The issue is your image point on the player. The origin is getting changed in the frames, so the position gets offset when the animation plays. That's why it is jumping like that.
B
41
S
19
G
65
Posts: 1,085
Reputation: 37,842

Post » Sun Aug 30, 2015 7:40 pm

Bull's-eye! 2 last images of an animation had the image point misplaced!

Thanks!!
B
24
S
4
G
1
Posts: 174
Reputation: 1,821


Return to How do I....?

Who is online

Users browsing this forum: SputnikCZ and 2 guests