Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Using Unity Tiny to create Facebook instant games

Discussion in 'Project Tiny' started by Wattosan, Apr 15, 2020.

  1. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    433
    Hello,

    I was wondering if I wanted to create facebook instant games then how could I do it? It seems like I would need to use Project Tiny. But I cannot use C# for game logic?

    Thanks!
     
  2. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    837
    Hello @Wattosan ,
    Just be aware that currently we do not have any official support for the facebook instant games SDK. This is something we are going to introduce in a future version of Project Tiny.

    You can for sure write game logic using C#. The main difference between classic Unity and Project Tiny is that Project Tiny makes use of DOTS (Data oriented tech stack). For some insight in how game code can look like in a Project Tiny game, please have a look at our examples, at Project Tiny Samples.
     
    Wattosan likes this.
  3. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    433
    Okay, so I have to use DOTS?

    But could you please provide me some unofficial advice on making Facebook Messenger Instant games with Unity? I have a small project I need to make as an Instant Game and it requires a simple gameplay plus some Facebook related functionalities (see scores of friends, invite them to play with you, notify if player has beaten your score etc). If I were to use the Unity game engine, what would be the best approach to take here?
     
    charlescex likes this.
  4. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    433
  5. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Hi Wattosan,
    To make that you need to export tiny into a single HTML file.
    and that is not supported in the current version.
    the good news is that we are currently working on it and will be available soon
     
  6. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    433
    Hi, thanks!

    So just to clarify, currently it is not possible to make Facebook Instant games with Unity? I have looked at a couple of videos where people do that but these seem to be unofficial ways of doing that.

    Soon is very vague. Since we need to start working on the project very soon (yesterday) I'd be interested in knowing whether soon is in a couple of days, weeks, Q4 of 2020. Because currently it seems my only solution is to use another game engine, which does support these games.
     
  7. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    I was hoping to release it as part of Tiny 0.25 but we didn't make it
    so I assume it will be in Tiny 0.26
     
  8. JC-Cimetiere

    JC-Cimetiere

    Unity Technologies

    Joined:
    May 8, 2014
    Posts:
    123
    Folks interested in the Instant/Hypercasual type of games are welcome to experiment and share feedback on feature priorities, but as said on other threads like here, we still don't have a firm date for our "production ready V1". If you have a project with strict deadlines, it's early & risky to start using Project Tiny.
    Keep that in mind!
    JC
     
    rkvieira and Wattosan like this.
  9. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    433
    Thank you for the honest answer!
     
    JC-Cimetiere likes this.
  10. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    433
    Hello!

    Instead of starting a new thread I think it is better to write there.

    In what state is Unity to be used for Facebook Instant games? You did mention version 0.26 and now the latest seems to be 0.29.

    In the documentation you do have a section for "Single HTML File Output (Web)". With this is it possible to create an Instant FB game? How can we use the FB Instant SDK though?
     
  11. brunocoimbra

    brunocoimbra

    Joined:
    Sep 2, 2015
    Posts:
    657
    There is no official support for FB instant SDK directly, however some users already were able to use it by themselves.
     
    menatharwat020202 likes this.
  12. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    433
    Yes, I've seen those. I was wondering when will they add official support?
     
  13. menatharwat020202

    menatharwat020202

    Joined:
    Jan 10, 2021
    Posts:
    2
    You Are Right my Friend
    Finally I could Create my first Multiplayer Facebook instant Game using Unity C# And Photon.....If any one need help Ask and I will Answer.....But I have question.....I want to use my Own Music Track in my game Can I do That or facebook will Refuse Because They Use facebook sound Collection
     
  14. menatharwat020202

    menatharwat020202

    Joined:
    Jan 10, 2021
    Posts:
    2
    Hey......Finally I could Create my first Multiplayer Facebook instant Game using Unity C# And Photon.....If any one need help Ask and I will Answer.....But I have question.....I want to use my Own Music Track in my game Can I do That or facebook will Refuse Because They Use facebook sound Collection
     
  15. ducloc96

    ducloc96

    Joined:
    Mar 18, 2018
    Posts:
    26
    Hi. I'm newbie Unity Tiny. I wonder how build Unity Tiny to instant fb game?
    Can you describe each step?
    Thank you so much
     
  16. Kabir99

    Kabir99

    Joined:
    Jul 10, 2022
    Posts:
    3
    can you help me out to export webgl game to fb instant game?