14 Commits

Author SHA1 Message Date
tverona1
d224a65a45 Add version info in Settings 2020-04-25 16:05:10 -07: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
6bca1d0c07 Support for renaming apps
- Adds support for renaming apps: By pressing A or X on the controller, you can choose an alternate app name / icon. You can reset these changes back to default in Settings.
2019-09-08 14:28:45 -07:00
tverona1
1ab8190827 Support to sort by most recent usage 2019-08-20 23:41:09 -07:00
tverona1
dd7b8ff6a4 Added support for downloading assets (including auto-update)
- Added support for downloading assets (including auto-update)
- By default, auto-update is turned off. Enable it in settings.
- Default repository for app icons and names is [https://github.com/tverona1/QuestAppLauncher_assets]. This can be configured in config.json.
2019-08-17 17:13:07 -07:00
tverona1
18dbf110c9 Refactored code a bit
- Refactored GridPopulation class into two classes: GridPopulation handles populating the grid UI and AppProcessor handles processing the app entries.
2019-08-08 23:52:36 -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
a5c987acef Added support for "showOnlyCustom"
Added support for "showOnlyCustom": Only shows apps specified in appnames.txt.
2019-07-28 00:23:09 -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
de5225c19a Added ability to filter 2D apps 2019-07-26 01:09:08 -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
7fb1053be7 Added custom grid size support in config.json
- Added support for config.json
- Added custom grid size support in config.json (see readme for instructions)
2019-07-21 18:56:25 -07:00
tverona1
0d5e94c023 Added "Settings" view & cleaned up app hiding
- Added a settings view
- Hiding an app now dynamically removes the cell from the grid
- Moved the "reset app hiding" button under the settings view
2019-07-20 22:41:56 -07:00