Post

Okay, one more time-- "Our Wishing Tree", my new world, is out now! Make your own ornament, imbue it with a message, and leave it on the tree. They're synced globally, so they appear in real time across all instances. Merry Christmas! #VRChat #MadeWithUdon #vrchat_world紹介 vrchat.com/home/world/w...

18 reposts54 likes

Thank you very much! This is my first effort to make a real world in a long while and I'm very happy for your kind words. As well, the community response has been excellent!

Mind if I ask how you went about implementing the cross instance syncing? That's awesome and I'd love to see more stuff like it, especially if it could lead to some unique collaborative shenanigans.

the short version is that I use web loading to grab data about the ornaments on a fixed interval, about every minute or so. each time we grab fresh data, new ornaments are spawned in. the long version is that for ornament customization you'll notice all of the options are convenient powers of two...

...(16 colors, 4 glitters, 4 shapes, etc) so that whatever combination of options gets chosen can be bitpacked into an integer. fun fact about web loading: while you can't modify URLs at runtime, there is no limit to how many urls you can pre-place into a world, so one script is dedicated to...

...holding a big array of all possible URLs so whatever integer for the ornament we need can be conveniently grabbed by index. by asking the user to modify the URL they can append their message to the end and then the act of "loading" that URL gives the server end info about the look and message...

Thank you very much!! This was my first time making a real world-- like, an actual space with stuff in it-- in a while. It makes me very happy to hear you thought it was pretty!!!

(and sorry for double-dipping, but I finished the video I said I would have done like two days ago and figured I'd share. Hope you all don't mind, I promise this is my last shameless promotion post for now!)