playMaker

Author Topic: How to setup a targeting reticle with playmaker[SOLVED]  (Read 1985 times)

sturmburg

  • Playmaker Newbie
  • *
  • Posts: 12
How to setup a targeting reticle with playmaker[SOLVED]
« on: November 04, 2013, 02:40:51 PM »
Hi,

What would be the best way of rendering a targeting reticle in the center of the screen with Playmaker?

Thanks
« Last Edit: November 05, 2013, 08:41:41 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to setup a targeting reticle with playmaker
« Reply #1 on: November 05, 2013, 01:53:07 AM »
Hi,

 Simply use a Gui Texture, and done, to center it, set its' transform position to 0.5,0.5,0 and modify the pixel inset to the actual size of your texture ( with the right offset as well, so if your texture is 128*128, the offset is -64,-64, the it's perfectly centered.)

Bye,

 Jean

sturmburg

  • Playmaker Newbie
  • *
  • Posts: 12
Re: How to setup a targeting reticle with playmaker
« Reply #2 on: November 05, 2013, 06:38:35 AM »
Thanks Jean.  That worked perfectly.