Last night, I built a VR game prototype in a few hours with Muse Code on PC. It was already available on macOS and Linux, and today we’re bringing it to PC! 🔥
I tested it with Unity through the Unity CLI, and here are a few things that worked really well for me:
- Having Muse Code on PC alongside Link, which is only supported on Windows, makes testing in the headset so much faster.
- I built one feature at a time, just like I do with other agents: a Unity project ready for MR/VR, then the core mechanic, the game loop, and finally the environment.
- I added rules to AGENTS md to prioritize Meta VR CLI for context. This worked really well for implementing the hand tracking punch mechanic and power up.
- After initially testing in Meta XR Simulator, I found that the shaders needed changes for stereo rendering in VR. Muse Code handled those updates really well.
𝗧𝗼 𝗶𝗻𝘀𝘁𝗮𝗹𝗹 𝗶𝘁, run these commands:
irm | iex
Give it a try with a VR idea you’ve been wanting to prototype, or a feature in your existing game. Create a branch and give yourself room to experiment!
What’s the one VR/MR feature you’d want me to try building next? 👀