Took a break from the daily work and tested something i have wanted to give a try for some time. How to make something physics move, based on the velocity and direction of your touch.

So it ended up with me creating a basketball game and a dart game. Booth the games are using the same basics for tossing a physics around.

undefined undefined

Screenshots above.

Test the games
Instructions. Grab the ball/dart and toss it in any direction. The faster you drag it before you release it, the faster the throw.
The basketball can only be tossed when its on the ground. The darts become non physics when they touch the board.

Basketball

Dart

 

Download

You can download the Construct2 .capxfiles here, if you want to use it as a base for a game, learn how i did it or for whatever reason.

Download Basketball
Download Dart