Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
How do I add image load from the server into the atlases
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do I add image load from the server into the atlases (Read 5076 times)
Tongie
2D Toolkit
Newbie
Posts: 23
How do I add image load from the server into the atlases
«
on:
January 02, 2014, 08:18:37 am »
Anyone can help?
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: How do I add image load from the server into the atlases
«
Reply #1 on:
January 02, 2014, 05:44:54 pm »
You can't modify/create atlases at runtime, but you can certainly load new pre-packed atlases. Check the runtime sprite collections sample for how to load texture packer packed atlases and custom atlases at runtime.
Logged
Tongie
2D Toolkit
Newbie
Posts: 23
Re: How do I add image load from the server into the atlases
«
Reply #2 on:
January 03, 2014, 04:12:51 am »
I am loading image from youtube and displaying using the tk2dsprite. What ways can i do this? I tried tk2dspritefromtexture but the image didnt display on the sprite.
Logged
Tongie
2D Toolkit
Newbie
Posts: 23
Re: How do I add image load from the server into the atlases
«
Reply #3 on:
January 03, 2014, 04:32:33 am »
I think i got it. Use renderer.material.mainTexture not the texture from tk2dSpriteFromTexture. Thanks alot man!
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
How do I add image load from the server into the atlases