-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimental Emote Support, Configurable Background Alpha
Emote support is a little messy right now. Something about Unity's TextMesh Quads causes a crash when running the Release version, but no errors are being reported in the Editor. For now I'm going to release a Development version which won't crash when it happens, but instead will spam some errors to the Development Console which you can just Close and ignore until the errors go away (after you receive enough messages to clear the buffer). Some emotes are still not being displayed properly (seems random) but you should be able to use up to 7 unique emotes per line, with no specific limit on the number of emotes per message or at any one time, aside from the 7 unique emotes per line limit which Unity imposes. I'm having difficulty pinning down the exact cause of the crash, but it definitely has something to do with Unity's TextMesh and lots of Quads, so I may have to work up a more elegant solution. For now, this version works fine in the Editor and works okay in Development Mode but some messages bug out :(. Also in this version, I added a configurable Background Alpha Slider to the RGB Sliders. This Alpha only controls the Background Alpha, so it is now possible to have a nearly completely transparent background, with fully opaque text, if desired. It seems like SteamVR prevents me from having a fully transparent overlay, but I'll have to look into that when I get a chance :P I also updated to the latest Unity SteamVR Plugin files. I don't think anything changed, but I was having issues until I reimported it for some reason, so I went through and stripped the files we didn't need again, and it seems to be working fine so w/e. The controller manager seems to have changed, but GitHub isn't being really helpful with the file comparison so I'm not sure what changed exactly. Speaking of the controller manager, I updated the TrackedDeviceManager so it won't spam the chat when the controllers aren't detected, it will just notify you once. I also made it possible for multiple instances of the Overlay program to be running simultaneously. You can now correctly run the exe multiple times and configure them separately such that you can have multiple Twitch Chat's running/visible at the same time. I really wanted to wait until Emote support was more mature, but I haven't updated in a while and I suspect some people are getting impatient for basic Emote support :o The Emote support is a bit inefficient but only adds an extra 1% average CPU usage on my PC, so I think the inefficiencies are acceptable until I can push out a more optimized version. I recommend sticking with a previous version unless you really want the Emotes, because this version has a few bugs to work out.
- Loading branch information
Showing
28 changed files
with
886 additions
and
347 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.