can any body tell me whats wrong here

Get help using Construct 2

Post » Sun Nov 24, 2013 1:04 am

i have made a platform but it seems to have errors in the jump control
the character sometime jump and sometime dont

capx:
https://dl.dropboxusercontent.com/u/62993408/beavus.capx
B
6
S
1
Posts: 49
Reputation: 573

Post » Sun Nov 24, 2013 1:49 am

I don't think it's a good idea to have the player set to be both a bullet and platform behaviour.
B
46
S
16
G
77
Posts: 2,155
Reputation: 45,823

Post » Sun Nov 24, 2013 1:53 am

@plinkie
nice so how can i jump with the bulletminaehab2013-11-24 01:54:20
B
6
S
1
Posts: 49
Reputation: 573

Post » Sun Nov 24, 2013 1:56 am

I'm not sure how your game is meant to work really but I would stick with platform only and use simulate control to push left/right instead of using bullet set angle 0/180. That way you can at least have the nice jumping. Also disable the pressing of left/right.
B
46
S
16
G
77
Posts: 2,155
Reputation: 45,823

Post » Sun Nov 24, 2013 2:10 am

@plinkie
no iam sticking with an idea so the game have to be bullet so any ideaminaehab2013-11-24 02:16:33
B
6
S
1
Posts: 49
Reputation: 573

Post » Sun Nov 24, 2013 2:31 am

This is because you've mixed the Bullet and Platform behaviors together to manage the player's movement. If you're using Platform behavior then the player should not also be a bullet as well...

Try using an 'is_moving_right' boolean (or similar) and simulate the platform controls to make the player move in the same way - should work a treat!

Edit - I must be slow at typing! You can't mix the behaviors in the way you want so I'm afraid you'll have to change your idea (can't think of why you would want to do this with bullet behavior when platform is easily good enough and glitch free). If you want to change the player into a bullet later then disable / enable the behaviors at the appropriate time so that they don't conflict.Colludium2013-11-24 02:34:56
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Sun Nov 24, 2013 3:46 am

As I said, and the guy above has also said, you don't need to use both and if you want jumping I would use platform. If for some reason you want to stick with bullet then you'll need to use something like 'move at angle 270' to simulate jumping but I'm not sure why you would opt for that with the platform behaviour available.
B
46
S
16
G
77
Posts: 2,155
Reputation: 45,823

Post » Mon Nov 25, 2013 1:18 pm

done i fix it with platform 'is_moving_right' boolean
thanx guys 4 help
B
6
S
1
Posts: 49
Reputation: 573


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Waltuo and 24 guests