Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

How to build a single html file to release version ?

Discussion in 'Project Tiny' started by alamac123, Jan 17, 2019.

  1. alamac123

    alamac123

    Joined:
    Mar 15, 2017
    Posts:
    22
    I know game MatchThree has 2mb. but when i build with "Single File Output" toggle, this capacity is ~4Mb.
     
  2. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    It is around 2MB initially on load (compressed). During a real website loading scenario, data is served gzipped as all things being transferred on the internet eventually gets compressed.

    Using web developer tools you can see this here: https://tiny-match3.storage.googleapis.com/index.html.

    You will not get the same numbers with the local server.
     
    ER_Dolleman and alamac123 like this.