BLP image atlas question - WoWInterface
Thread Tools Display Modes
10-15-20, 03:20 AM   #1
A Murloc Raider
Join Date: Aug 2008
Posts: 6
Question BLP image atlas question

Hey folks!
Can't really tell if my question is more graphics or code related, sorry
I've seen many addons use BLP files that contain multiple images (e. g. arrows pointing in different directions).
But I can't find any examples of best practice on how to use a part of such atlas in Lua code.
Would highly appreciate any guidance on this matter, cheers!
  Reply With Quote
10-15-20, 10:10 AM   #2
Fishing Trainer
Seerah's Avatar
WoWInterface Super Mod
Join Date: Oct 2006
Posts: 10,795
You assign that .blp to a texture, then use :SetTexCoords()
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
10-15-20, 02:36 PM   #3
A Murloc Raider
Join Date: Aug 2008
Posts: 6
@Seerah thank you very much! <3
  Reply With Quote

WoWInterface » Developer Discussions » Graphics Help » BLP image atlas question

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off