Search Unity

  1. Unity 2020 LTS & Unity 2021.1 have been released.
    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:
    311
    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:
    342
    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:
    311
    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:
    311
  5. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    318
    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:
    311
    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:
    318
    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:
    124
    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:
    311
    Thank you for the honest answer!
     
    JC-Cimetiere likes this.
  10. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    311
    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:
    588
    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:
    311
    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
     
unityunity