How to throw an object?

Get help using Construct 2

Post » Tue Dec 13, 2011 10:36 pm

Yeah I have read the tutorials.

But will the apply impulse at angle work?

Will its velocity change according the mouse'
B
30
S
13
G
7
Posts: 740
Reputation: 7,964

Post » Tue Dec 13, 2011 11:24 pm

lo and behold !
demo


http://dl.dropbox.com/u/36224287/shootingrange.capxvtrix2011-12-13 23:24:54
ImageImage
B
63
S
19
G
6
Posts: 813
Reputation: 9,112

Post » Wed Dec 14, 2011 2:09 am

Sorry,I don't know what's your happened?
B
2
G
1
Posts: 4
Reputation: 458

Post » Wed Dec 14, 2011 2:45 am

Using set velocity is more accurate I think

thowMySprite.capx
Last edited by Yann on Sun Sep 14, 2014 10:47 pm, edited 1 time in total.
B
62
S
22
G
14
Posts: 1,481
Reputation: 16,400

Post » Wed Dec 14, 2011 3:26 pm

Thank you both, @Yann - Great example, but the object does not bounce?

@vtrix - The capx is 'empty' I think you need to 'save as single project' to share, or zip the entire project?
B
30
S
13
G
7
Posts: 740
Reputation: 7,964

Post » Wed Dec 14, 2011 3:32 pm

Wait never mind, i got it working :)
B
30
S
13
G
7
Posts: 740
Reputation: 7,964

Post » Wed Dec 14, 2011 3:59 pm

Picky smitchell :D
You didn't ask for bouncing in your first message.
B
62
S
22
G
14
Posts: 1,481
Reputation: 16,400

Post » Wed Dec 14, 2011 5:53 pm

oh sorry :) It doesn't matter, that part i can do myself, Thanks though :D
B
30
S
13
G
7
Posts: 740
Reputation: 7,964

Post » Tue Jan 24, 2012 4:28 am

Thanks Yann! Played with your code and learned a lot.
B
18
S
8
G
3
Posts: 73
Reputation: 4,120

Previous

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Bobbyneal100, R0J0hound and 6 guests