Commit Graph

52 Commits

Author SHA1 Message Date
oxmc
82421eb690 Update AssetsDownloader.cs 2022-12-31 04:04:21 -08:00
oxmc
64c243fb2a Update AssetsDownloader.cs 2022-12-31 03:56:01 -08:00
oxmc
14e44e456a Update AssetsDownloader.cs 2022-12-31 03:48:37 -08:00
oxmc
bd39092926 Update AssetsDownloader.cs 2022-12-31 03:38:33 -08:00
oxmc
83b9844fa7 Update AssetsDownloader.cs 2022-12-31 03:32:55 -08:00
oxmc
95c1f824ca Update AssetsDownloader.cs 2022-12-31 03:23:50 -08:00
oxmc
24632b9342 Update AssetsDownloader.cs 2022-12-31 02:30:29 -08:00
oxmc
d172c2446b Update AssetsDownloader.cs 2022-12-31 02:19:55 -08:00
oxmc
4563d42668 Update AssetsDownloader.cs 2022-12-31 02:04:24 -08:00
oxmc
d4bc25c8cd Update Config.cs 2022-12-29 09:19:22 -08:00
a9247df300 Test 1 2022-12-29 07:51:19 -08:00
oxmc
5ba43d051a Update Config.cs 2022-12-09 12:02:05 -08:00
tverona1
17501f5d75 Semi-transparent floor, fix appname override
Small tweaks:
- Made floor semi-transparent (this was lost somehow)
- Fixed appnames override to not set name to empty string if only category is over-ridden.
2020-05-04 17:03:01 -07:00
tverona1
ddea5d2acd Support for hand tracking 2020-05-02 19:29:40 -07:00
tverona1
d224a65a45 Add version info in Settings 2020-04-25 16:05:10 -07:00
tverona1
f0838f528a Fix loading VectorDrawable icons
Fix loading VectorDrawable icons
2019-12-15 13:36:45 -08:00
tverona1
2fd091667b Fix cubemap sky map rendering
Fix an issue with cubemap sky map rendering
2019-11-23 14:31:31 -08:00
tverona1
91aa2479b9 Optimize memory utilization for large # of icons
Optimize memory utilization for large # of icons by dynaically loading / unloading icons as they are scrolled into view.
2019-11-23 13:09:25 -08:00
tverona1
fa1f67cfc2 Support for 3d background: 2048px 6-side horizontal cubemap
Adding support for 2D texture that represents 6-sided cube (2048px per side) as a horizontal layout:
[ +x ]  [ -x ]  [ +y ]  [ -y ]  [ +z ]  [ -z ]

This is the recommended representation of cube map as it is more efficient in terms of memory.
2019-11-02 10:58:59 -07:00
tverona1
6d2ae2ea04 Enable autoUpdate by default 2019-09-14 19:02: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
30fbb2afb6 Accelerate scroll speed over time
This change accelerates scroll speed of the grid view over time, so make it faster to scroll through large content.
2019-09-08 17:54:38 -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
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
5609338fb5 Fix json deserialization issue
- Fix json deserialization issue that resulted in duplicate repo entries in config
- Download to temp filename and rename to destination (to handle scenario of file contains error body)
2019-08-24 17:49:30 -07:00
tverona1
5a1db19185 Only show auto tabs that are actually populated 2019-08-23 22:11:43 -07:00
tverona1
1ab8190827 Support to sort by most recent usage 2019-08-20 23:41:09 -07:00
tverona1
d30673f8a3 Support for appnames.json format; support for launcher on Go
- Added support for appnames.json format. Example entry: "com.HighVoltage.Crossbow":{"name": "Ballista", "category": "cat1", "category2" : "cat 2"}.
- Set headtracking required to false to support launcher on Go.
2019-08-18 15:47:06 -07:00
tverona1
202d91334b Lock around downloading assets
- Added lock around downloading assets to ensure only one download task is running at a time
2019-08-17 17:34:53 -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
bf732321ee Support for zipped icon packs
- Added support for zipped icon pack files (iconpack*.zip)
- Added support for multiple appnames*.txt files
2019-08-09 23:38:17 -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
4fa3de6dec Async processing of apps
- Async processing of apps
- Async load of icon image
2019-08-08 23:17:37 -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
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
4b3bd0b2ee Add support for custom categories
- Add support for custom categories. These can be appended to the entries in appnames.txt as follows: packageName,appName[,category1[, category2]]
- Add support for comments (#) in appnames.txt
2019-07-27 23:11:08 -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
06298e39a9 Initialize grid values in-line 2019-07-23 23:13:27 -07:00
tverona1
4d545de5bd Enable raw pointer
Enable the option to render a ray pointer (dot at end of the laser pointer)
2019-07-23 23:06:47 -07:00
tverona1
f85417e7cc Scroll view - stretch to canvas rather than hard coded size 2019-07-23 21:38:43 -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
weathon
94257ee4f8 Putting an Apk into the excluded list won't auto-refresh now (was annoying to always get a refresh when scrolling); Added a refresh button; added a delete button that resets the whole file; 2019-07-18 17:40:24 +02:00
weathon
2740bf207c When pressing Y or B on the controller, the package name of the selected App will be added to the excluded list and the scene will be reloaded; 2019-07-18 10:40:47 +02:00
weathon
a5f112f461 Added the ability to exclude packages from the launcher by adding them to the 'excludedpackages.txt' in the android/data/aaa.QuestAppLauncher.App/files folder; 2019-07-18 08:36:56 +02:00
tverona1
0fa9a73ad8 Remove incorrect comments 2019-07-17 00:12:44 -07:00