soccer game

Get help using Construct 2

Post » Tue Jun 05, 2012 12:43 am

I'm creating a soccer game and individualy the player (platform behaviour) and the ball (physics) act normal but together they move strange and not as intended. How can I get this to work?
thx for the help. A demo is included under this

example of game
B
15
S
3
G
4
Posts: 11
Reputation: 2,726

Post » Tue Jun 05, 2012 2:46 am

Have you tried pinning behavior for the ball?
Zelda Gamekit (my project)

Example capxs I have made:
Zelda-Style Inventory
Zelda Hearts System

The unwritten "How do I" capx etiquette! Nearly always provide a capx of the problem you have, and try to isolate the problem and/or no capx above 10 MB. :)
B
38
S
19
G
26
Posts: 438
Reputation: 16,581

Post » Tue Jun 05, 2012 9:06 pm

Sorry but I don't see how this can help. The behavour of the ball should be completely seperate from that of the player.
The problem here is that both objects (player and ball) can't be in the same room without acting strange (there's nothing programmed of any interaction yet, I just created a player (platform behavour) and a ball (physics). can't those behavours be in the same room without acting strange and influencing each other without intended to?
B
15
S
3
G
4
Posts: 11
Reputation: 2,726

Post » Tue Jun 05, 2012 9:56 pm

You shouldn't really use platform and physics together. They don't work well together (as you can see).
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Tue Jun 05, 2012 10:23 pm

Do your own platform behavior using the physics behavior.
http://dl.dropbox.com/u/5426011/fixed/ratboy.capx
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Wed Jun 06, 2012 7:23 pm

great, many thx R0J0hound!!!
B
15
S
3
G
4
Posts: 11
Reputation: 2,726


Return to How do I....?

Who is online

Users browsing this forum: flemmig, MisterAqua, Nifl and 30 guests