Shader based arcade game for VRChat
A 8x8 Custom Render Texture (CRT) with a feedback loop governs the interactions between players, zombies, and the boss. It also manages the states such as idle, attack, or knocked down that results from such interactions. Originially, I had everything inside a single CRT with the depth sorting done by a radix sort. However the performance was poor on the Quest, so I took up Merlin's advice to seperate the sprites into individual quads and composite it with a camera. The Quest performant version is the one setup for in this project.- Download the .zip or the Unity package in Release
- Install the VRCSDK
- Import the KungFu Chat Unity package
- Either open the Scene or place down the prefab in the Editor
- Setup the VRC Layers
- Put the KungFu Layers GameOject in the Default layer, but I recommend making a specific layer just for the game
- Make sure the Culling Mask of the KungFu Layers Camera is in the same layer
- Follow the same steps as above and convert to the Android build
- Set the Max Size for char-sprites.png, boss-sprites.png, zombie-sprites and UI.png located in Assets > Shader Games > KungFu Chat > Textures to 4096
- Set the Format of the same files to RGBA Compressed ASTC 6x6
- Set the resolution of KungFu Quest.renderTexture located in Assets > Shader Games > KungFu Chat > Quest Compatible to 128x128