[r100 Awesomium] Mouse wheel sprite rotation

Bugs will be moved here once resolved.

Post » Wed Aug 22, 2012 8:28 pm

It seems that the exported project with Awesomium has a different opinion on what "On mouse wheel down" and "On mouse wheel up" mean than the browsers do.

A simple
On mouse wheel down - Sprite Set angle to Sprite.Angle + 10 degrees

will rotate the sprite clockwise when exported for html, and anti-clockwise when exported with Awesomium.

CAPX
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Thu Aug 23, 2012 2:51 am

So, Awesomium thinks down is up? Strange.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Thu Aug 23, 2012 9:31 am

At first I thought it has something to do with the way Awesomium does angles, but yes, it seems Awesomium mixes up down and up wheels.
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Post » Thu Aug 23, 2012 5:26 pm

Huh, that's odd. I've no idea why that is, but I've inverted the direction for Awesomium in the next build and that seems to fix it.
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 4 guests