How do I set a progressive force on holding mouse button?

Get help using Construct 2

Post » Wed Mar 30, 2016 9:40 pm

Message: Lucatiel641 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi, I'm new in Construct2, I need to make a game that uses Physics, and I'm trying to make a game that shoots a cannon ball in the direction and force that players want. Ex.: The longer I hold the mouse button, the faster/stronger the cannon ball will be.

I'm trying to do like this, but the variable Força (force) doesn't change, it keeps always zero, and the cannon ball force is constant. Any tips, please?

http://imgur.com/YwP29Jm

Thanks in advance!
B
13
S
6
Posts: 9
Reputation: 1,093

Post » Thu Mar 31, 2016 12:37 pm

Is there some other part of the project that changes that variable?

Edit: sample capx http://www.mediafire.com/download/d70kn ... utton.capx
B
42
S
14
G
3
Posts: 165
Reputation: 5,115


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 7 guests