Hello Guest

Author Topic: create tk2dSprite like GUITexture  (Read 3412 times)

zeusrami

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
create tk2dSprite like GUITexture
« 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?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: create tk2dSprite like GUITexture
« Reply #1 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.