Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[CARD $14o] subtitle system for dialogues and SFX

Discussion in 'Open Projects' started by philipeng, Oct 1, 2020.

  1. philipeng

    philipeng

    Joined:
    Oct 3, 2019
    Posts:
    11
  2. TheReaperGames

    TheReaperGames

    Joined:
    Jan 10, 2017
    Posts:
    2
    Will you work with a system for various languages? I think that would be very important.
     
    philipeng and MileyUnity like this.
  3. MileyUnity

    MileyUnity

    Joined:
    Jan 3, 2020
    Posts:
    92
    I think that the initial system should indeed support multiple languages from the very start, actually adding the right translations for everything would be a lower priority for now as long as English is supported. Once we get closer to a proper release there should be a focus on adding various languages to the game
     
    philipeng likes this.
  4. philipeng

    philipeng

    Joined:
    Oct 3, 2019
    Posts:
    11
    yep! That is what I want to do.
     
  5. philipeng

    philipeng

    Joined:
    Oct 3, 2019
    Posts:
    11
    Hey Miley! do you have any idea on how those translations are going to happen?
     
  6. Jirushi

    Jirushi

    Joined:
    Jan 17, 2020
    Posts:
    33
    Localisation package I assume?
     
    MileyUnity and philipeng like this.
  7. philipeng

    philipeng

    Joined:
    Oct 3, 2019
    Posts:
    11
    That is pretty good. Kinda what I implemented on a game couple months ago for scalability.
    Is this one available only for 2020 version?
     
  8. Jirushi

    Jirushi

    Joined:
    Jan 17, 2020
    Posts:
    33
    I think it even works in 2018 if I'm not mistaken.
     
  9. MileyUnity

    MileyUnity

    Joined:
    Jan 3, 2020
    Posts:
    92
    No idea at this point, I’ve never done localization yet for games so feel free to suggest something if there isn’t any system mentioned on the roadmap yet
     
  10. philipeng

    philipeng

    Joined:
    Oct 3, 2019
    Posts:
    11
    I liked that. Does it need 2020
    My idea is to use a json file for per localization which can be called within the SubtitlesHandler class. It's possible to to be a CSV file as well. In the inspector it is necessary only to attach the SFX and the key value for the json file.
    Additionally, create a coroutine just to display the subtitle with a "typing" effect on the UI.
     
  11. Jirushi

    Jirushi

    Joined:
    Jan 17, 2020
    Posts:
    33
    It works for 2018 2019 2020

    The localisation package is pretty much the official system.
     
  12. philipeng

    philipeng

    Joined:
    Oct 3, 2019
    Posts:
    11
    For the localisation package I would have to add the package to the project. Is it a big deal?
     
  13. Jirushi

    Jirushi

    Joined:
    Jan 17, 2020
    Posts:
    33
  14. ChemaDmk

    ChemaDmk

    Unity Technologies

    Joined:
    Jan 14, 2020
    Posts:
    65
    Yes the localization package is the way to go, but we will wait until it's out of preview.
    The available version is currently 0.8.0 - preview

    We want to avoid having PRs that are just adding packages to the project, that's why we have it in the guidelines :)
     
    philipeng likes this.
  15. philipeng

    philipeng

    Joined:
    Oct 3, 2019
    Posts:
    11
    Yep! That's what I was thinking. However, do you think I should proceed it my way? Without using the package and creating my own tool? Or is it better to wait for the package and don't focus on implementing it right now?
     
  16. ChemaDmk

    ChemaDmk

    Unity Technologies

    Joined:
    Jan 14, 2020
    Posts:
    65
    Let's wait for the package and don't focus on implementing it right now.
     
    Last edited: Oct 2, 2020
    philipeng likes this.
  17. philipeng

    philipeng

    Joined:
    Oct 3, 2019
    Posts:
    11
    Perfect. Thanks Chema.
     
    cirocontinisio and ChemaDmk like this.
  18. cirocontinisio

    cirocontinisio

    Joined:
    Jun 20, 2016
    Posts:
    884
    @philipeng if you're eager to start working on this, why don't you work on it on a separate branch? It would definitely be good practice. Also good practice to make sure you are keeping it "unconnected" to the game logic until it's necessary.

    We can also pull things into branches on the main repo, not every PR needs to point to master.
     
  19. dkaloger

    dkaloger

    Joined:
    Jul 7, 2019
    Posts:
    39
    hi so i just finished the dialogue system which may be useful for you i have made a merge request for the initial version