New World Guidance... Currency Gizmo?
Hi, I'm Plee.. new creator in Meta. So excited to be learning truly with this community.. but I also don't want to be taken advantage of.
Looking for an efficient way to promote, keep visibility and drive traffic to my 18+ environment.
Plee's Lounge - 839836115886270
It' s a lounge and I think its cooler than alot ive seen.. but can use some work. I have some plans.. would really love to host or plan a launch event or join the 18+ or 21+ night community or tours.
Mainly where do creators start? Im quite a loner..
and I cannot for the life of me figure out how to efficiently create a currency system gameplay/ ui.. even w the guided youtube videos, documentation, and mhcp tutorials theres not much on gameplay. And the tutorials in the creator hubs always open to broken links. :(
Wanna get this started before I work on my next project within worlds
Use persistent variables, docs at https://developers.meta.com/horizon-worlds/learn/documentation/typescript/getting-started/persistent-variables-v2
One simple way would be to use a number persistent variable and call it money. When you want to display current money, use get on money persistent variable, when you buy get, subtract from current money and then set again (make sure to check they have enough money first). You can use the same persistent money through your other worlds as well, so if they earn money in one, it will shop up in your other worlds too.