Graphic issue skinning my UI
I got a nice setup and I wanted to add a background skin to encompass all the action buttons n what not.
Took XArt and modded it a little bit and it works for the most part, but I am getting a strange occurance. Here is the code used Code:
--[[ How is displays incorrectly I basically made an image in Photoshop, added an alpha channel, sliced it into 256x512 panels, 10 in total and basically tile them onto the screen. For some reason the bottm left 4 panels will not appear. And not just there, ANYWHERE i try to draw those 4 panels they do no appear. It very very strange. I would tell the program to draw panel overlay21.tga EVERYWHERE, and nothing appears. Of course, I figure I may have screwed something up when chopping my main file, so I re chopped, it. Same results, only those 4 panels do not draw. Double checked their alpha and it good. I would love to get this working as it was not very difficult to get started and arrange. I've also invcluded a link to a rar of all the tga texture panels incase someone can see something I'm missing. texture files Thanks d |
You are overwriting the top textures with the bottom ones. Each texture needs its own place into the table. Change this:
Code:
--draw the bottom Code:
--draw the bottom |
Already tried that. Double checked it just to be sure, but I had that same code commented out.
I don't think it has anything to do with somehting being over written. I also tried setting both drawing loops to load the same tile sets into memory. overlay1x.tga solely, then overlay2x.tga soley. When loading overlay1x, all tiles of overlay1x appeared and were drawn in their correct positions. In the place where overlay2x would draw on the bottom, the overlay1 tiles where there as expected. When loadsing overlay2x, only overlay25 will appear in the upperright and lowerright positions, the right 1/5 (256 pixels) only. All the others do not appear. Resaved the tgas and was sure to follow the same exact steps on cropping and saving repeated above with the same results. Driving me buggy. |
you could use dicord art, probably be faster
http://discord.tetzfiles.com/ you need dicord library too |
LOL!!!
dude, all I did was unzip all of the discord stuff, opened the game and everything I had just programmed worked, there was the skin! made this code change and nothing still happened, unzip discord, and all was well. Thank you very much. Code:
function XArt:CreateArtFrame() |
All times are GMT -6. The time now is 12:22 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI