The forum on this site is closed for new comments and posts. Continue the conversation in the new forum, and learn more here.
  • Hey Ralph,

    Perhaps you could try John's solution in the meantime as we add that feature request to the list!


    Comment actions Permalink
  • Yep! I just saw that. I'll probably give it a try over the weekend.

    I was going to attempt to modify the logger script to work in world coordinates, but it seems like a lot of work. Still, I bet allowing logger to be attached to an object and use the local axis to orient world space text with maybe a few options (outline, color fade, etc.) in the material would solve most use cases.

    Comment actions Permalink
  • use 2 sprites , left # & right # set array of images 0-9

    // -----JS CODE-----

    //@input Component.SpriteVisual sprite

    //@input Component.SpriteVisual sprite2

    //@input Asset.Texture[] textures

    //@input int startp

    //@input int startp2

    var textureIndex = script.startp;

    var event = script.createEvent("TouchStartEvent");



    var textureIndex2 = script.startp2;

    var newTex = script.textures[textureIndex];

    var newTex2 = script.textures[textureIndex2];

    script.sprite.mainPass.baseTex = newTex;

    script.sprite2.mainPass.baseTex = newTex2;

    script.startp = script.startp + 1;

    textureIndex = (textureIndex + 1);

    if (script.startp > 9) {

    script.startp2 = script.startp2 + 1

    print("add 1 left")

    script.startp = 0

    textureIndex = 0




    Comment actions Permalink
  • Nice work Ralph. As I come from a gaming background this gamification element of Lens Studio really interests me. I had a similar idea and a lot more besides. We need a way of sharing scores and keeping tabs on ranking etc built in to SnapChat lenses - similar to Game Centre or Xbox Gamerscore points set up. Snapchat would be a perfect platform for this. Maybe one for the wishlist of not done so already?

    Comment actions Permalink
  • Yeah, they need sort of a Snapchat graph API. The Facebook Camera Effects Platform lets you access part of the Facebook API. You can get some bits of user data etc. Plus you can access any URL you want to link to your own web backends to effects etc. to store persistent data and retrieve data and assets.

    I'd love this feature for Snapchat--also maybe a tiny amount of cloud storage per user that we could access. Kind of like the equivalent of Unity's prefs memory--like 8 or 16k per lens or something so we could store simple persistent data with a Lens...such as scores and game progress.

    Comment actions Permalink

We're here to help! We just need a little bit of information...

What system are you using?

Have you downloaded the latest version of Lens Studio?

Please download the latest version of Lens Studio. If you still run into this issue, please come back and report it!

Is this issue causing Lens Studio to crash?

What system do you run Lens Studio on?



Follow the next steps to help us solve your issue:

  • Copy and paste this text into your TerminalCommand Window
    open ~/Library/Preferences/Snap/Lens\ Studio/ %LOCALAPPDATA%\Snap\Lens Studio Copy Text
  • Press ReturnEnter to run the command. The Lens Studio folder will automatically open
  • Prepare to upload your files: zip the "Log" Folder by right-clicking and choosing "compress."
    Locate the Log.txt file right above it.

    Attach a screenshot of the issue:



What is this most relevant to?

Please enter a brief description of your issue:

Thanks for submitting this issue.

Unfortunately, it's likely due to the operating system or hardware you're using – since they don't meet the system requirements for Lens Studio.

Still, we hear you loud and clear, and are logging the issue in case there's ever a workaround we can provide!

Minimum Requirements

Operating System: Windows 10 (64 bit); MacOS 10.11+

Hardware: Minimum of Intel Core i3 2.5Ghz or AMD Phenom II 2.6Ghz with 4 GB RAM; Intel HD Graphics 4000 / Nvidia GeForce 710 / AMD Radeon HD 6450 or better; screen resolution of 1280x768 or higher

We'll try to resolve this issue as soon as possible. Thanks for letting us know about it!

Keep an eye out for a followup email from us. We may have a couple more questions for you, or we might already have a solution to offer.

Happy creating!