Closed Bug 957756 Opened 12 years ago Closed 7 years ago

HTML game rendering rotated 180 degrees in landscape mode

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: u495161, Unassigned)

References

Details

Attachments

(3 files)

Attached file Construct 2 project
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20131216183647 Steps to reproduce: 1. Create game using Construct 2 (attached link to my test project, ) 2. Install it on device 3. Run Actual results: In landscape mode, whole game is rendered 180 degree rotates, but touch points are normal. Blue box is in right-bottom corner, when you tap it, nothing happens Expected results: Blue box should be in left-top corner. Tapping it, should make it bigger
Looks like TEXTURE_NEEDS_Y_FLIP flip texture by screen axis (canvas' texture is upside-down during rendering, I don't know why...). This works ok in portrait mode, but in landscape is flipping by wrong axis. I'm attaching some screenshots from build with commented TEXTURE_NEEDS_Y_FLIP flag.
Attached image No flip - portrait
Attached image No flip - landscape
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 970632
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: