setKeyValue("key", "value", function () {
  
}); ```
  • -wyi replied to this.

    where it says key you put what you want the value keyed with

    • -wyi replied to this.

      and Value is where you put the value of the key

      Aw you ruined my very hard-to-understand explanation

      -wyi omfg I'm stupid as shit

      wait how do I make it interact with stuff once called back

        -wyi What I usually do is define a variable at the start of the program, and in the draw loop, I have it call getKeyValue to get... well, whatever you need to get, and then set the variable to the response.

        • -wyi replied to this.

          -wyi

          var score = 0;
          function draw() {
            getKeyValue("score", function (rec) {
              score = rec;
            });
          }

          -wyi Well i don't have time at the moment to put up something I may just put up a separate post going over how it works that is if i don't feel like doo doo by then but I'll get around to doing it soon, hopefully you won't mind waiting

          ASmartCoder changed the title to GUYS ITS POSSIBLE .

          this is literally what went on im my brain when i discovered key values, back when i was important 😪

          L
          Last Chat :(
          See ya round, people.
          Aug 16, 2024
          T
          t43rew t34t3t45ret 45 e trsdyrt
          wt rtret
          Aug 14, 2024
          general
          Goodbye Gamelab Forum.
          Aug 12, 2024
          Not CDO chat
          yes
          Jul 25, 2024

          Chat

          Welcome to the Chat!

          Please select a channel or DM on the left.
          ;