GuiBitmapButton animation [solved]
by Rpahut · in Torque Game Builder · 07/09/2010 (10:00 am) · 2 replies
Could anyone please tell me how to name image files to get BitmapButton-family control animation on click and hover? It complains about missing files bitmapName.png_h, _d and _i, when these files are actually there. I'm unsure about appending these suffixes to the file extension, but that's how these filenames are printed in the console log.
Thanks.
Thanks.
About the author
Will trade All Money Of The World for complete TGB documentation
#2
PS
William, tryed that in the first place, but also had a problem with object desription file. Now it's working.
Thanks.
07/09/2010 (10:39 am)
Oh, GUI object desription for the BitmapButton must have 'bitmap' field assigned with the file name without extension - then it will be resolved to proper 'fileName_suffix.png' name.PS
William, tryed that in the first place, but also had a problem with object desription file. Now it's working.
Thanks.
Associate William Lee Sims
Machine Code Games