Author Topic: Add sprite in atlas  (Read 2871 times)

fluoo.lionel

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 2
    • View Profile
Add sprite in atlas
« on: April 25, 2016, 09:35:27 AM »
I serach for adding a sprite in an atlas dynamically.

I want for example to download an picture from Web and add this picture in an existing Atlas.

How can i do it ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Add sprite in atlas
« Reply #1 on: April 25, 2016, 01:05:00 PM »
It's complicated. You would need to get an existing sprite from the atlas then update that part of the texture. I don't advise doing this. Instead, use UITexture to draw whatever you downloaded.