Sprite flips upside down on startup?

For questions about using Classic.

Post » Sun Nov 07, 2010 6:30 pm

Alright, so i'm rather new here, only been using the program for a few days now. What happens is I create a sprite and place it on the layout, and when I press run, as in the run the game, the sprite now becomes flipped upside down. The only thing that I put on it was Platform movement, but that doesn't seem to be the problem because it does the same thing without that behavior. Any help?
B
1
G
2
Posts: 4
Reputation: 633

Post » Sun Nov 07, 2010 6:50 pm

if you are using the platform behavior then make sure that the mirror and flip is ticked
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Sun Nov 07, 2010 7:19 pm

Now, this is a story all about how
My life got flipped-turned upside down
And I'd like to take a minute
Just sit right there
I'll tell you how I became the prince of a town called Bel Air

... oh wait, sorry flash back time.

Actually, what is the starting angle? 0, or 90?
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Nov 07, 2010 7:47 pm

[quote="DravenX":7yv2q2ls]if you are using the platform behavior then make sure that the mirror and flip is ticked[/quote:7yv2q2ls]


It is, and even if I don't use the platform behavior I still get the same problem. I've tried recreating the sprite about 3 different times and the same thing keeps happening. It appears normal and upright on the layout but when I run it, it gets flipped.

And the starting angle is at 0. Whats interesting is if I change it to 180, the sprite is upside down on the layout but starts out right side up. This would be OK, but it screws with movement animation...
B
1
G
2
Posts: 4
Reputation: 633

Post » Sun Nov 07, 2010 8:43 pm

Post a cap I guess.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Nov 07, 2010 9:16 pm

Ok, here is the cap.
http://www.box.net/shared/pvrqqozmur

Hope that helps..
B
1
G
2
Posts: 4
Reputation: 633

Post » Sun Nov 07, 2010 9:31 pm

Its your angles in the animation editor.
With the platform movement there's not much need to change the sprites angles.
Since its side view, not top down the sprite doesn't need to rotate.
Just add frames to the sprite, ticking auto flip etc should take care of most of it.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Nov 07, 2010 11:36 pm

Wow, that fixed the problem. Thanks so much!
B
1
G
2
Posts: 4
Reputation: 633


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests