Jump to content

Add support VR with Oculus or Google Cardboard


jdnichollsc
 Share

Recommended Posts

Hi,

think about it twice :) You're talking about devices to look into 3D spaces. Phaser/PIXI is a 2D environment. You have no real space nor depth information for your objects- you could only fake it with the displayobject depth order like in the old actionscript times. Besides this PIXI is missing a second camera feature. You can't instantiate a second camera like it's possible in threejs (which is the 3d library used for most of the web based VR examples). I think there is no easy solution to create this feature in Phaser/PIXI.

 

Do you already own a google cardboard and want to try it with Phaser? The easiest parameter to read might be the device orientation. With this you could control your game movement with your head.

 

Have fun!
Regards George

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...