[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
9
Posts: 774
Reputation: 7,185

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
312
S
129
G
101
Posts: 7,432
Reputation: 75,388

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
9
Posts: 774
Reputation: 7,185

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
415
S
248
G
92
Posts: 25,295
Reputation: 200,984


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests