I hope this is the right category to post this. Considering I use it together with UI buttons, I guess it's appropiate.
I'm working on a system that allows the player to select missions. I want to give the player a preview of the map (like the minimap preview, but bigger) where important places are highlighted.
I know that you can use the button graphics with the UI system, but what about pictures bigger than buttons?
You can make a dialog item and display an image on top of it. Just set tiled to false and it will stretch the image as far as it needs to.
As for this being the right forum, this is for development using SC2Layout files. Unless I am mistaken, this is with dialogs, right? If so, I'll move this for you.
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
@zeldarules28: Yes, please move it. it has indeed nothing to do with SC2Layout.
Anyway, thanks for the answer, it pointed me into the right direction. Making a dialog button with an image included doesn't seem to work for some reason (image is stretched), but making a button first and displaying an image layered above it works perfectly. All that is left to do is to import the image... which I have to convert to either tga or dds.
I hope this is the right category to post this. Considering I use it together with UI buttons, I guess it's appropiate.
I'm working on a system that allows the player to select missions. I want to give the player a preview of the map (like the minimap preview, but bigger) where important places are highlighted.
I know that you can use the button graphics with the UI system, but what about pictures bigger than buttons?
@TheAzureguy: Go
You can make a dialog item and display an image on top of it. Just set tiled to false and it will stretch the image as far as it needs to.
As for this being the right forum, this is for development using SC2Layout files. Unless I am mistaken, this is with dialogs, right? If so, I'll move this for you.
@zeldarules28: Yes, please move it. it has indeed nothing to do with SC2Layout.
Anyway, thanks for the answer, it pointed me into the right direction. Making a dialog button with an image included doesn't seem to work for some reason (image is stretched), but making a button first and displaying an image layered above it works perfectly. All that is left to do is to import the image... which I have to convert to either tga or dds.
@TheAzureguy: Go
Alright, I'll move this.
If you need to convert, I recommend this. I use this for my conversions when I need to.