Forum Discussion

Paykash's avatar
Paykash
Member
1 month ago
Solved

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 

3 Replies

  • small added context

     or be

    looking to add an atm machine where users can purchase Kash to use in my lounge.. to use in my other worlds or dice games, card games, and vip roomaccess. or some kind of task for money accumulation etc ive seen it done alot im lost now atp

    • FreakyChest's avatar
      FreakyChest
      Member

      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.  

      • Paykash's avatar
        Paykash
        Member

        Jeez, you are the freaking best! It worked. When you get a chance in a week.

        come check out what your help created! You are awesome !