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
29
S
12
G
7
Posts: 740
Reputation: 7,849

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
61
S
19
G
6
Posts: 809
Reputation: 9,028

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
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

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
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Wed Dec 14, 2011 3:32 pm

Wait never mind, i got it working :)
B
29
S
12
G
7
Posts: 740
Reputation: 7,849

Post » Wed Dec 14, 2011 3:59 pm

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

Post » Wed Dec 14, 2011 5:53 pm

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

Post » Tue Jan 24, 2012 4:28 am

Thanks Yann! Played with your code and learned a lot.
B
14
S
6
G
3
Posts: 71
Reputation: 3,811

Previous

Return to How do I....?

Who is online

Users browsing this forum: alextro, Colorfish, MarkThomas and 30 guests