1 decade ago by taddeimania
Hi Folks,
I've looked through the forums to see if anyone else is having the same problem but I haven't had much luck so i'm sorry if this has been addressed already.
So I took a prototype project into Ejecta just to see what the process was with that wrapper and was altogether impressed except for one caveat. The orientation seems to be incorrect (or at least not how I want it).
This is how the application looks in the browser.
http://i.imgur.com/h0r2Tmq.png
This is how the application looks in horizontal iPad running iOS 5.1.
http://i.imgur.com/3s6Afpt.png
When I run the application in portrait it is playable but I don't want to support portrait mode - I want to design this game board to run strictly in horizontal mode.
The source for the game is:
https://github.com/taddeimania/impactjs-memorypuzzle
and the contents of my index.js is simply:
I've tried calling
before of the ejecta.require()'s but that didn't do anything.
I'd appreciate any help on the matter. Thanks!
I've looked through the forums to see if anyone else is having the same problem but I haven't had much luck so i'm sorry if this has been addressed already.
So I took a prototype project into Ejecta just to see what the process was with that wrapper and was altogether impressed except for one caveat. The orientation seems to be incorrect (or at least not how I want it).
This is how the application looks in the browser.
http://i.imgur.com/h0r2Tmq.png
This is how the application looks in horizontal iPad running iOS 5.1.
http://i.imgur.com/3s6Afpt.png
When I run the application in portrait it is playable but I don't want to support portrait mode - I want to design this game board to run strictly in horizontal mode.
The source for the game is:
https://github.com/taddeimania/impactjs-memorypuzzle
and the contents of my index.js is simply:
ejecta.require('lib/impact/impact.js'); ejecta.require('lib/game/main.js');
I've tried calling
canvas.rotate(90)
before of the ejecta.require()'s but that didn't do anything.
I'd appreciate any help on the matter. Thanks!