• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums

Global Moderators

Forum wide moderators

Private

Posts


    Voting Leaderboards
  • Paul WinterhalderP Paul Winterhalder

    Hi,

    Actually - voting leaderboards are implemented via the PostScoreToLeaderboardOnBehalfOf() call - where you can basically vote for someone else's score. [i.e. voting for that person].

    Create the leaderboard as a "Cumulative" leaderboard - and basically the player votes for the score of another player - incrementing it by +1.

    I suppose we should add those details to the roadmap item!

    I hope that helps to clarify things!

    Paul.


  • Scheduled Script Proxy API Calls
  • Paul WinterhalderP Paul Winterhalder

    As I mentioned in the support chat - the issue is that midnightPSTinUTC isn't dynamically calculated for midnight today -- it's midnight PST on Oct 4th. [i.e. over a week ago].

    What's happening is the call is accepting that past date - which puts the script in the front of our queue to be run ('cause we think we're late!) - and it gets run in the next 60 second job interval. And then reschedules itself in the past again.

    So basically this script is running roughly 60*24 = 1440 times a day.

    Anyway - I'll have the devs look into it - we should return an error if you are scheduling the script too far into the past... [i.e. a second or two in the past is probably fine - and best to do in case the scheduling script has delays of some sort... but clearly 10 days in the past is too far! Probably 60 mins in the past is too far! 🙂 ]


  • Scheduled Script Proxy API Calls
  • Paul WinterhalderP Paul Winterhalder

    @larrybiely over 12K API calls a day? Hmm - I'll take a look at that script...


  • Buying lives with coins
  • Paul WinterhalderP Paul Winterhalder

    HI @richard - we're currently working on a feature that will handle this directly for brainCloud 5.9.

    In the meantime, an interim approach would be to:

    • Manage the Lives in a virtual currency.
    • In the item catalog - you can indicate the currencies to award from the offer via the extra data JSON.
    • And create a post-hook on PurchaseUserItem - calling a script to award the appropriate currencies - and immediately consume the new "item" that was purchased...

    Just a thought...

    [But yeah - we're going to have a more direct solution in 5.9 - which is currently targeted for November release.]

    Paul.


  • [Unity] Client SDK parameter inconsistency/error
  • Paul WinterhalderP Paul Winterhalder

    Thanks for reporting this @devsleeper !


  • Early access - Visual Studio Code extension!
  • Paul WinterhalderP Paul Winterhalder

    @devsleeper - we hope you like it! 🙂


  • Early access - Visual Studio Code extension!
  • Paul WinterhalderP Paul Winterhalder

    Hi folks,

    We are pleased to announce the Early Access availability of our new Visual Studio Code plug-in.
    https://marketplace.visualstudio.com/items?itemName=braincloud.vscode-bccfs

    2025-10-01_17-37-55.png

    As you would expect, this plug-in enables developers to create and edit cloud code scripts directly from the comfort of their Visual Studio Code IDE.

    Key capabilities:

    • Connect to a Team; Switch Teams
    • View all apps (that the developer has access to)
    • View/edit/delete cloud code scripts of each app
    • Create new scripts (script names must have an extension of .ccjs)
    • Create new folders (folder names must be all lowercase)
    • Supports Intellisense for brainCloud API
    • Allows devs to edit the script metadata (example parameters, timeouts)

    Integrating with Visual Studio Code enables developers to leverage the advanced capabilities of that IDE, such as refactoring and AI assistance! (Note - the AI suggestions aren't always right - but they will hopefully get better!)

    Also note that the extension does not support running the scripts from the IDE. You still need the brainCloud Portal for that!

    Key requirements:

    • Public BaaS and/or Private instances supported
    • For connecting to brainCloud Platform version 5.8 or higher
    • Uses brainCloud SSO and our Builder API to establish an API connection.
    • "Builder API Access" must be enabled from the Team > Setup > Team Info menu. Does NOT require Static API Keys.
    • Developer must have write access to the App > Design > Cloud Code > Scripts page

    2025-10-01_17-21-11.png

    Troubleshooting tips:

    • If you get into a weird state, click on the brainCloud extension, expand the "Environment Info" section, and click "Reset Local State". Don't worry - it only affects the local IDE state. All your scripts on brainCloud are still saved - you'll need to log in again.
      2025-10-01_18-43-36.png

    Anyway - give it a test run and let us know what you think!

    Paul.


  • Need support for both Meta Quest *and* Oculus Rift platforms for a single game
  • Paul WinterhalderP Paul Winterhalder

    Cool. Thanks for the update @MattForemanDev !


  • Need support for both Meta Quest *and* Oculus Rift platforms for a single game
  • Paul WinterhalderP Paul Winterhalder

    Hi @MattForemanDev ,

    Thank-you for the very detailed explanation of your situation. We'll review it with the devs.

    Question - do you know if the id used to identify end-users is the same across both devices? i.e. I'm assuming that ideally, if someone logs into the game via Quest - and then later Rift - you'd want them both accessing the same account - with the same player progress, etc. - right?

    Paul.


  • ScheduleRunScriptUTCv2 doesn't seem to work as expected?
  • Paul WinterhalderP Paul Winterhalder

    Cool - good to hear it. And once again: thanks for reporting it!

Member List

Paul WinterhalderP Paul Winterhalder
  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users