[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
26
S
6
G
8
Posts: 774
Reputation: 6,685

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
294
S
117
G
96
Posts: 7,312
Reputation: 71,092

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
26
S
6
G
8
Posts: 774
Reputation: 6,685

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
399
S
236
G
89
Posts: 24,546
Reputation: 195,436


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 6 guests