Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Tiny TS / Load an image with web url ?

Discussion in 'Project Tiny' started by kindool, Aug 2, 2019.

  1. kindool

    kindool

    Joined:
    Aug 2, 2019
    Posts:
    1
    Hi, i'm making a FB Instant game and I need to load a lot of different sprites, but they are displayed one by one. Today when the game is launched ALL sprites are loaded, it's not good. I want to have only one sprite and modify the path only when the image needs to be changed, from a separated location. Is that possible ?
     
  2. yossi_horowitz_artie

    yossi_horowitz_artie

    Joined:
    Jan 30, 2019
    Posts:
    85
    I haven't tested them myself, but check out `CreateImage2D()` and `CreateSprite()` in `DemoUtils.cs`.
     
unityunity