2D Toolkit Forum

2D Toolkit => Support => Topic started by: zeusrami on September 06, 2013, 10:26:52 pm

Title: create tk2dSprite like GUITexture
Post by: zeusrami on September 06, 2013, 10:26:52 pm
Hi  I need a set of tk2dSprite for puntuation and energy indicator that moves with the camera like the GUI Texture does.If I do it by updating the position when the camera moves the sprites became haltingly and also is not performant.
Any advice?
Title: Re: create tk2dSprite like GUITexture
Post by: unikronsoftware on September 07, 2013, 09:25:11 am
Create a second camera, don't move it. Set up layers correctly and have it show the GUI graphics alone. Check sample 6 - button and 3d sprites for an example.