SackBoy Character using Bone movement.

Post your own tutorials, guides and demos.

Post » Fri Apr 22, 2011 4:47 pm

Here' an example of 'Sackboy' with bone movement.



[url:9rf0s2je]http://dl.dropbox.com/u/22173473/Sackboy.cap[/url:9rf0s2je]

The jump animation is actually a 'kick', and there is a ball object (with physics)

I couldn't get it collision working though! If anyone can could they post a cap?

Feel free to modify, improve or whatever.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Fri Apr 22, 2011 5:33 pm

What version of Construct did you use?
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Fri Apr 22, 2011 5:39 pm

[quote="MrMiller":2c7a0btp]What version of Construct did you use?[/quote:2c7a0btp]

Construct v0.99.97
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Sat Apr 23, 2011 2:14 pm

I tried and got this :

[quote:qvln2tbc][url:qvln2tbc]http://prawnsushi.free.fr/bazar/sackboy.cap[/url:qvln2tbc][/quote:qvln2tbc]

Not sure it's the proper way to do it though...
B
4
S
1
G
2
Posts: 91
Reputation: 1,057

Post » Sat Apr 23, 2011 3:35 pm

[quote="prawnsushi":1z4h409v]I tried and got this :

[quote:1z4h409v][url:1z4h409v]http://prawnsushi.free.fr/bazar/sackboy.cap[/url:1z4h409v][/quote:1z4h409v]

Not sure it's the proper way to do it though...[/quote:1z4h409v]

Seems to work ok ! I was trying to use the little red sprites to control the ball, but your example is better.

Thanks
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Thu May 12, 2011 1:24 am

Great example Chris.

I found that I was able to get the legs to collide with the ball and take advantage of physics, by allocating a physics behavior to both leg limbs. So the character is able to dribble the ball around like a soccer player.

The only two things I haven't gotten to yet is figuring out why I can't dribble the ball to the left. It's strange, I can move it to the right all the way to the end of the screen, but when I get to the end and try to dribble back to the left the ball won't move. Hmmmm.
B
12
S
4
G
3
Posts: 426
Reputation: 2,458

Post » Thu May 12, 2011 1:40 am

Got it. The problem was that only one leg was registering collision for some reason. However, when I switched to using an Ellipse Collision mask on the limb that wasn't colliding, it made me able to dribble in both directions.
B
12
S
4
G
3
Posts: 426
Reputation: 2,458


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 1 guest