Simple score and speed up of Angry Birds template

Get help using Construct 2

Post » Sun Feb 17, 2013 4:23 pm

Hi guys,
I have 2 questions that I require help with:
Question 1.
How do I set a simple scoring system up, when you collect a coin, 1 is added to your score. I have this:

http://s150.beta.photobucket.com/user/melonrecords/media/score.jpg.html
(sorry, cant post links yet)

Question 2:
When using the default 'angry birds physics' template, how can I make the pig fly faster?

Thanks guys.
Willwill1082013-02-17 16:24:44
B
9
S
1
Posts: 40
Reputation: 1,120

Post » Sun Feb 17, 2013 4:30 pm

pig fly faster? You mean bird? Well once thing you could do, assuming you're treating the bird like a physics object, is apply an impulse to the bird, either at the angle it's travelling at or towards the target.
B
20
S
10
G
4
Posts: 106
Reputation: 4,219

Post » Sun Feb 17, 2013 4:33 pm

That's right for adding the score but the 'every tick -> set text' should be it's own event and not part of the 'on start of layout' event.

For the speed change the impulse value. In the example the impulse is set to
distance(Self.X, Self.Y, CatapultBlock.X, CatapultBlock.Y) / 4.5
Just change that 4.5 value.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Sun Feb 17, 2013 4:46 pm

That is amazing, that very much, I would never have found the impulse value!
Thanks again.
Will.
Tell me how to push your rep up and I will.
B
9
S
1
Posts: 40
Reputation: 1,120


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests