A simple counter in VRChat that is network-friendly.
What you'll want to do is copy the entirety of the Logic folder over to your other project.
If you don't want fonts to break, don't forget Fonts/DS-DIGI.TTF as well.
Next, setup your array of digits that will make up your scoreboard.
Finally, for every digit, from right to left (except the left-most), configure:
- The
Underflowevent to trigger the animator triggerdecrementon the animator (digit) to the left. - The
Overflowevent to trigger the animator triggerincrementon the animator (digit) to the left.
To increment or decrement, you can just call the animator trigger increment or decrement using another VRC_Trigger attached to a button, somewhere else.
To set the values for a digit, just set sync_state to whichever digit you want the digit to be, and then trigger animator trigger sync using another VRC_Trigger attached to a button, somewhere else.
Credit me, though I don't want you to just go pasting the GNU License into your world.
- Stone Button - Minecraft, Mojang AB
- Network Theme - Megaman Star Force 2, Capcom
- Various Clock Icons - Flaticon
- DS Digital - Dusit Supasawat (Dafont)
- Lilita One - Juan Montoreano (Google Fonts)
Obviously I never asked for any permission. I just cobbled this together with whatever I had, original or not.
Current public version: cba94f1eda2375b575d05db80f54b498bdc47bac
World ID: wrld_f4993f0f-389f-4998-9a63-ffbc0cc21c5f