Author Topic: HUD Text generating sprites  (Read 2505 times)

jd3d

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
HUD Text generating sprites
« on: April 01, 2014, 06:00:05 AM »
Recently got HUD Text and have gotten it all setup and working correctly displaying damage and what not. I have been asked to add in sprites after a critical hit happens that say Augh! and Arg!, instead of just having text appear saying that. Is there a simple way to incorporate the sprites, so they will appear after the damage text but also transition upward and fade away like the text does?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: HUD Text generating sprites
« Reply #1 on: April 01, 2014, 11:09:56 AM »
Easiest way is to add them as emoticons to your text. So you would create an emoticon with a sequence like [ARGH] and would associate the "ARGH" sprite with it, and when you'd print that text with HUDText it would show the sprite instead.