The forum on this site is closed for new comments and posts. Continue the conversation in our Snap AR Discord server.

[Tutorial] Mini Game 05 -- Game Design, Tween Animation and Sounds

  • hi Nico S

    nice work and i love how you pushed people to create 
    but i didn't followed the tutorial in my lens
    actually i made the lens before you made the first tutorial of this amaizing game

    Thank you for all the effort you made

    i will use the tutorial of my next lens 

    Cheers.

     

    Comment actions Permalink
  • Wow! It’s finally here !! Thanks Nico for the awesome work and the mention 

    cant wait to see community creation on this 

    Comment actions Permalink
  • Wow! It’s finally here !! Thanks Nico for the awesome work and the mention 

    cant wait to see community creation on this 

    Comment actions Permalink
  • Thanks Nico for this very specific and engaged tutorial !

    Comment actions Permalink
  • Thank you nico for these awesome tutorial!

     

    Cheers,

    SirQu3ntin

     

    Comment actions Permalink
  • Nice 👍

    Comment actions Permalink
  • Nice! i like this info, maybe i can use it in one of my lenses

    Comment actions Permalink
  • This is Awesome I have to try this.

    Comment actions Permalink
  • This is Awesome I have to try this.

    Comment actions Permalink
  • Hi @...

    Awesome tutorial! I was wondering how you would change catching the donuts with your mouth to a tap trigger? And whether you can change it to a timer?

    Thanks again!!

    Comment actions Permalink
  • Hey Alexa Mazza !

     

    If you want the donut to be 'eaten' when they are tapped, you'll need to create a TapEvent on your ObjectPrefab script. Also don't forget to attach a touch component to your donut prefabs. Then you'll just have to put the function onHit() under the tap event.

     

    To create a countdown timer for the game there will be several scripting changes:

    You'll need to first create a countdown timer, check out this post about creating a countdown timer for a lens:

    https://support.lensstudio.snapchat.com/hc/en-us/community/posts/360007065286-How-Do-I-Put-A-Timer-Into-A-Lens-

    Then you'll need to link several UI elements with your countdown timer so user can see on the screen the amount of time they have left in the game. The process is exactly the same as how we link UI elements with the current score number here.

    Then in your countdown function wherever you're checking if the 'countdown time' has become 0, we'll call the OnGameEnd() function so the GameOver screen will display.

    Happy creating ^^

    Comment actions Permalink
  • Wow! Really amazing!

    It’s finally here !! Thanks Nico for the awesome work and the mention. 

    cant wait to see community creation on this.

    Comment actions Permalink
  • This is amazing Nico!  It's cool to meet another game designer with the same name as me (especially another woman) ^.^  Hope to see more of your work

    Comment actions Permalink
  • Wao that's great. 

    Comment actions Permalink
  • Hi I already met this problème you just have to double click on at the report challenge.Records to re uploaded it in your Mac you can find. You will this file to your venture folder.

    Comment actions Permalink
  • Loved this tutorial thank you!! I made this cake catching game from it https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=1a4b5cab80274a70b0a325bcaf25fa96&metadata=01

    Comment actions Permalink
  • Hi Thanks for an amazing tutorial and sample. I have used this tutorial and downloaded the files. But for some reason the donuts are not being eaten by mouth. What can be the reason? Even used your downloaded files and its not working with the downloaded files as well.

    Comment actions Permalink
  • Hi Afaq Aziz

     

    Thanks for reporting the issue. The problem is due to a LS API update and I think the GetFacesCount was not recognized and I replaced it with GetFacesCount()

     

    If you download the project again it should work now! Sorry about the inconvenience, and thanks for reporting ^_^

    Comment actions Permalink
  • Hi Afaq Aziz

     

    Thanks for reporting the issue. The problem is due to a LS API update and I think the GetFacesCount was not recognized and I replaced it with GetFacesCount()

     

    If you download the project again it should work now! Sorry about the inconvenience, and thanks for reporting ^_^

    Comment actions Permalink
  • Hi Nico

    Thanks a lot for updating the files. I have one another question. How can I choose to show certain donuts. For example I tap on one button, it only shows yellow donuts. If I tap on another button it only shows blue donuts. Really appreciate your help.

    Thanks

    Comment actions Permalink
  • Hi

    I want the mouth poistion image to fix at certain y axis, so that it moves only in horizontal direction but cannot move in vertical directions. How can I achieve that. Please let me know.

    Thanks

    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?

Version

Graphics

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:

Name:

Email:

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!