Shooter at touch point

Get help using Construct 2

Post » Mon Aug 18, 2014 3:04 pm

What am I doing wrong?
I'm starting a bubble shooter and right at the beginning this happened.
Please have a look at the capx, I'm setting the angle of motion to a certain position but for some reason the event seems to fail at first try.
I set angle of motion of my bullet to Launcher.Angle, after that I try logging Bubble.Bullet.AngleOfMotion and Launcher.Angle and I get different results.
What am I missing?
You do not have the required permissions to view the files attached to this post.
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643

Post » Tue Aug 19, 2014 8:37 am

On start of layout
Bubble - Set acceleration to 1

Tried adding that to On any touch end, but didn't work. Another option is to initialize all the Bubble objects as acceleration = 1
B
32
S
7
G
2
Posts: 317
Reputation: 2,851

Post » Tue Aug 19, 2014 12:08 pm

Setting the angle-of-motion on a bullet only works when it has speed (has motion), so if you drag the action set speed above the set angle it works as expected..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: asdtricky, brunopalermo, ST314 and 30 guests