How do I make a shooting mechanic like in the game "Ballz"

Get help using Construct 2

Post » Sun Apr 30, 2017 4:16 pm

So in ketchapp's new game, "Ballz" they use a launching mechanic, where the user swipes back to launch the ball(s). I was wondering how i would mimic that, and the aiming dots mechanic??
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sun Apr 30, 2017 4:18 pm

that seems complex. :twisted:
B
5
Posts: 21
Reputation: 269

Post » Sun Apr 30, 2017 4:49 pm

Use something like plugin-jcw-trace-raycast_t172320 to get the distance.
Use some trig to place the dots at the distance divided by segment size.
Aiming would just be the angle() between touch, and the emitter.
Image ImageImage
B
168
S
50
G
169
Posts: 8,281
Reputation: 108,191

Post » Sun Apr 30, 2017 5:11 pm

@newt How would i do the ball launch mechanic. That's the most important part
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sun Apr 30, 2017 6:16 pm

look to angry bird template it will helps you a lot
B
45
S
16
G
8
Posts: 792
Reputation: 8,306

Post » Mon May 01, 2017 10:00 am

@matrixreal I'm using it but the problem is, I can't seem to make the catapult appear where the pig stops and make it launch normally...
B
25
S
6
G
4
Posts: 173
Reputation: 3,933


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 16 guests