Problem with "choose animation"

Get help using Construct 3!

Post » Tue Sep 26, 2017 1:21 pm

Hi guys, i'm having this weird problem;

I'm making an object spawn every x seconds. and it bullets to the left.

On created, set animation to: "choose ("1","2","3","4")

the object spawns 1 & 2 spawn perfectly, they bullet to the left. but 3 & 4 spawn and bullet to the right.

How can it be that animations inside the same object are set in different bullet speed/direction without any programming of it?
B
5
Posts: 25
Reputation: 271

Post » Tue Sep 26, 2017 6:24 pm

Well the answer is it's not going to be a problem with choose animation if they are definitely the same object. You must be setting the angle with some other logic.
B
47
S
17
G
81
Posts: 2,230
Reputation: 48,107

Post » Tue Sep 26, 2017 6:34 pm

chrisyamao wrote:Hi guys, i'm having this weird problem;

I'm making an object spawn every x seconds. and it bullets to the left.

On created, set animation to: "choose ("1","2","3","4")

the object spawns 1 & 2 spawn perfectly, they bullet to the left. but 3 & 4 spawn and bullet to the right.

How can it be that animations inside the same object are set in different bullet speed/direction without any programming of it?


im pretty sure (90%) you have a image point problem. if 1 and 2 are spawning correctly then your 3 and 4 have the wrong image point position unless their centered on all frames and animations and then is a logic problem in your code.
B
78
S
23
G
69
Posts: 1,353
Reputation: 44,005

Post » Wed Sep 27, 2017 12:45 pm

Imagepoint shouldn't affect anything except where the object spawns, it will appear to shift over, but it shouldn't be moving as bullet at a different angle.
B
47
S
17
G
81
Posts: 2,230
Reputation: 48,107


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 1 guest