How do I apply gravity concept like angry bird

Get help using Construct 2

Post » Wed Jun 08, 2016 6:24 am

Huy guys. Right now I`m making a shooting game. 1st weapon ia a bow.. And as the bullet of course gonna be some arrows. And i don`t want my arrow move like a bullet that move straight. I want it apply some gravity concept like this.

Image

I want it moves like angry bird
B
13
S
5
G
4
Posts: 119
Reputation: 3,353

Post » Wed Jun 08, 2016 6:34 am

Good day @fathijack1999

I am unable to see your image, but you should look at the gravity property to apply gravity to the bullet,

Please see the attached screenshot:

Image

Hope this helps ;)
B
30
S
4
G
3
Posts: 67
Reputation: 2,329

Post » Wed Jun 08, 2016 6:35 am

There is a template included with C2 called Template-PhysicsCatapault.

Check that out...
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Wed Jun 08, 2016 7:04 am

@refais23 I will try that later.. Thank you
@spacedoubt Is it at Scirra store ?
B
13
S
5
G
4
Posts: 119
Reputation: 3,353

Post » Wed Jun 08, 2016 7:09 am

If you have C2, you have it.

look in your C2 folder for a folder called 'templates'
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Wed Jun 08, 2016 7:12 am

Just launch C2, start a new project and in the start project search box type 'physics'.
You will see the physics catapult template listed.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
85
Posts: 5,412
Reputation: 59,008

Post » Wed Jun 08, 2016 7:37 am

thanks.... Thank you sooooo much.. Now it`s angry Pig simulation XD
B
13
S
5
G
4
Posts: 119
Reputation: 3,353

Post » Wed Jun 08, 2016 3:14 pm

@fathijack1999
I made an angry birds type game last year for someone - it has the little white dots to help aim, stretching sling-shot, and a camera that follows the action, plus you can zoom in and out.

demo: http://www.rieperts.com/games/birds/

capx (needs chipmunk physics): http://www.rieperts.com/games/forum/angry_birds_chipmunk.capx

older version, regular physics: http://www.rieperts.com/games/forum/angry_birds.capx
B
96
S
33
G
20
Posts: 438
Reputation: 17,665

Post » Wed Jun 08, 2016 3:26 pm

Need chipmuck physic>???
B
13
S
5
G
4
Posts: 119
Reputation: 3,353

Post » Wed Jun 08, 2016 3:37 pm

@fathijack1999
chipmunk physics is a plugin made by RojoHound, and is better than the built in physics (has more features).

if you have trouble installing the plugin, just look at the older version I posted above. It doesn't leave the trail of dots after the shot, or allow zooming, but is close enough to give you an idea of what can be done. (and it doesn't use chipmunk physics.)
B
96
S
33
G
20
Posts: 438
Reputation: 17,665


Return to How do I....?

Who is online

Users browsing this forum: Elliott, kellehk, oosyrag and 34 guests