9 Commits

Author SHA1 Message Date
tverona1
62e09fd54a Support for large # of chinese characters
Added fallback font w/ increased atlas to support large # of chinese characters
2019-11-23 12:25:18 -08:00
tverona1
4f0399bcdf Adding support for custom background images
This change adds support for custom background images.

Usage:
- Background images are stored in "backgrounds" folder as with jpg or png.
- Both 360 degree (equirectangular) and 6-side cubemap images are supported. This is automatically detected based on aspect ratio (with cubemap having 4:3 aspect ratio).
- Select the background from Settings.

Changes:
- The selected background image is persisted in config in this format: "background": "backgrounds/my_background.jpg",
- Image is decoded in a background thread (via Android plugin), as Texture2D.LoadImage can cause multi-second freeze on the UI thread. We then compensate for unity (re-ordering coordinate origin and also alpha channel).
- Made ground smaller & semi-transparent
2019-09-14 18:07:34 -07:00
tverona1
333d17cffb Fix icon aspect ratio, fix Go controller scrolling
- Fixed icon aspect ratio: Icons now maintain their original aspect ratio
- Fixed Go controller scrolling (hopefully)
2019-09-01 12:12:50 -07:00
tverona1
81e778f281 Improved tab support
- Ability to specify position of auto & custom tabs (top, left, right)
- Highlighting around selected tab
2019-08-04 13:09:49 -07:00
tverona1
f14cc15164 Support for overflowing tabs 2019-08-01 23:29:20 -07:00
tverona1
635983e773 UI settings support for category configuration
Added UI support in the settings view for configuring categories
2019-07-27 19:02:49 -07:00
tverona1
3eb5fd2198 Preliminary support for tabs and also fix an issue with scroll view collider
- Added preliminary support for tabs: Added config support for "categoryType" specifying "none" or "auto". None means no tabs. Auto means that we create 3 tabs - Quest, Go/GearVR and 2D. These apps types are distinguished based on package information.
- Added support in UI for showing / hiding 2D apps.
- Fixed an issue with scroll view collider: Looks like Unity UI scroll view object does not interact very well in a VR environment. This one was a doozy. I noticed, although the scroll view masks UI that falls outside its rectangle (as it should), it does not suppress colliders. This means that it's possible to interact with colliders that get scrolled above the scroll view (i.e. like clicking on a cell to launch an app when that cell is outside the scroll view). The bigger problem is that this interfered with the tabs, which are above the scroll view. After contemplating several solutions, I ended up with a simple but effective one:
            // To fix this issue, we cast a ray from current pointer to the scroll view's box collider.
            // If we get a hit, it means we're inside the scroll view - so we enable all the children box
            // colliders, which will behave as expected.
            // If we do not get a hit, it means that we're outside the scroll view - so we disable all the children
            // box colliders, which addresses the issue above.
2019-07-27 16:48:07 -07:00
tverona1
2b6ebb6e73 Fix app for build 7 update; added UI support for adjusting grid size
- Build 7 update broke the controllers because I did not include the "android.hardware.vr.headtracking" uses-feature in the manifest. Because of this, the headset was incorrectly registered as an Oculus Go. Looks like they started to enforce this setting in the latest update.
- Added support for adjusting the grid size in the settings panel.
2019-07-24 22:22:49 -07:00
tverona1
fe3f38ee64 Initial checkin
Initial checkin of Quest App Launcher
2019-07-16 23:46:19 -07:00