Bird Problem

Get help using Construct 2

Post » Sun Sep 22, 2013 2:06 am

I'm having a problem with a bird sprite. It always faces the right way but it sometimes turns upside down.

It uses 8 direction with only left & right enabled. I cannot use platform instead because it flies (platform makes it go along the ground).

Here are the settings. Anything else I can try to keep it right-side up?

Eliyahna2013-09-22 02:07:24
B
18
S
2
Posts: 61
Reputation: 902

Post » Sun Sep 22, 2013 2:25 am

Can't really assist without a .capx as I don't know when it's being triggered.
B
47
S
18
G
84
Posts: 2,271
Reputation: 49,796

Post » Sun Sep 22, 2013 2:46 am

Sorry I just can't share that. No offense!!! I have months worth of work into it. There doesn't seem to be any "set" time that it happens. The screenshot above shows all there is to the sprite in question.
B
18
S
2
Posts: 61
Reputation: 902

Post » Sun Sep 22, 2013 2:53 am

It's probably an error with how you've triggered the animations to play when the player is moving in a certain direction. One of the events will be overriding another one. Whichever way it is facing when it is upside down, check other events that trigger this animation and make sure it's not overriding anything. I can't do much more without seeing the events. If you can't share the .capx then upload a demo of the game so we can see. If you export as HTML website and add to dropbox then users should be able to play a test version.
B
47
S
18
G
84
Posts: 2,271
Reputation: 49,796

Post » Sun Sep 22, 2013 3:13 am

Actually, because it has bullet I removed those. This is the only other reference to the sprite's "direction":

B
18
S
2
Posts: 61
Reputation: 902

Post » Sun Sep 22, 2013 4:46 am

this is just how I would do it.

https://dl.dropboxusercontent.com/u/45198/bird%20example.capx

I am not sure what movement you are trying to achieve but I like to handle my left and right this way.

Also I used platform as an example you can always use 8 directional but with the max fall speed set to 0 platform will just let you move left to right.BACLog2013-09-22 04:47:37
B
26
S
7
G
1
Posts: 83
Reputation: 2,575

Post » Sun Sep 22, 2013 5:04 am

Is the crow the playable character? If so, I wouldn't use Bullet behaviour.
B
47
S
18
G
84
Posts: 2,271
Reputation: 49,796

Post » Sun Sep 22, 2013 7:38 pm

@BACLog - Evidently I need to upgrade my version before I can open your cap. I only purchased this software a few months ago!? I will let you know...

@plinkie - no. As I said, those are the only controls. This is not a playable character
B
18
S
2
Posts: 61
Reputation: 902

Post » Sun Sep 22, 2013 8:23 pm

Turns out the version I have (r139) is the latest stable version. I'm not willing to install betas over a stable version so I won't be able to open your cap, sorry. Thanks
B
18
S
2
Posts: 61
Reputation: 902

Post » Sun Sep 22, 2013 11:55 pm

I was wrong! I did find something else I didn't see before. This is on there. Could this be causing it? I think this has to be the problem. I'm just stumped how to solve it...



This is to make the bird come toward you if you get close to it to try to make collision event.Eliyahna2013-09-22 23:59:59
B
18
S
2
Posts: 61
Reputation: 902

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests