[r68] WebGL flips sprite

Bugs will be moved here once resolved.

Post » Thu Nov 17, 2011 2:30 am

When setting WebGL on and giving a sprite angle 180, it flips the sprite upside down.
file

Ups, I forgot. For the sprite turn "Auto mirror/flip" to "Auto mirror"
In canvas 2d mode it mirrors normally
and in WebGL it flips the spriteNoga2011-11-17 02:42:35
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Thu Nov 17, 2011 2:40 am

It applies angle 180 to it, this is no bug.
Try to make an event "every tick" and action Sprite set angle to Sprite.angle + 1, you'll see the natural course that leads the sprite to be "head over heels".

But, this allowed to see that auto-mirror and auto-flip don't seem to work. If you set them in the project, the image doesn't flip or mirror.
Kyatric2011-11-17 02:41:29
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Thu Nov 17, 2011 2:44 am

[QUOTE=Kyatric]
But, this allowed to see that auto-mirror and auto-flip don't seem to work. If you set them in the project, the image doesn't flip or mirror.
[/QUOTE]

Yeah, I meant this, probably should go get some sleep.
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Thu Nov 17, 2011 4:31 am

Ah, you're right, auto-mirror and auto-flip don't work in WebGL. Will fix for next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest