raphaelrk / delaze

delaze is a virtual reality app that is intended to treat amblyopia (lazy eye) by encouraging stereoscopic vision
26 stars 10 forks source link

[site] Mobile support for game #6

Open raphaelrk opened 9 years ago

raphaelrk commented 9 years ago

The mouse_x value should be controlled by the accelerometer if on a phone or touchscreen Tetris should be in landscape mode in these cases, too - possible by checking the client's monitor width and height

Qwuke commented 9 years ago

I feel like it may be good to have it open a new page if we want to invest time into making a better web version/demo of the game. It's a lot harder to work with the game inside a modal, and if we had it in a different page it'd be a lot easier to do things like having it render in portrait vs landscape based on screen size, hiding the url bar when in mobile(i.e. making it full screen), and etc.