How can I guarantee that a dialog will fit for all dimensions? if the dialog is full screen? Trying to make the blood frame for low health hero to flash. Worried that setting it to fit my screen size may not look well for others with smaller screens, or bigger.
If a blood flash on the screen is your only goal; you can simply make a massive dialog box, 2400X1600, hide the background, make it able to be clicked through. Essentially, you have a dialog that isnt there. You can then create the image you want flashed, and save it to a variable. When you want to flash someones life, or the blood splat, or whatever, you can use "fade dialog item transparency" to flash it as visible and then invisible again.
*edit* you can also fade the dialog itself (I believe) for a player, if that is easier. If you plan to use a lot of dialog images (like random blood splats) then that would likely be easier.
If a blood flash on the screen is your only goal; you can simply make a massive dialog box, 2400X1600, hide the background, make it able to be clicked through.Essentially, you have a dialog that isnt there.You can then create the image you want flashed, and save it to a variable.When you want to flash someones life, or the blood splat, or whatever, you can use "fade dialog item transparency" to flash it as visible and then invisible again.
edit* you can also fade the dialog itself (I believe) for a player, if that is easier.If you plan to use a lot of dialog images (like random blood splats) then that would likely be easier.
by doing this, i think it will not work with smaller resolution if you looking to get the border red like blood splash. not sure but...
You can set any dialog to be fullscreen and the dialog will fill the screen completely regardless of it's size. Then you can set an image dialog item's size to be the size of its parent. The image should then fill any player's screen exactly.
The action definitions are named:
Set Dialog Fullscreen
Set Dialog Item Size to Parent
Rollback Post to RevisionRollBack
Discord - Discord is a custom fan made campaign. When it's done it will have 30 missions and cover 3 interwoven stories.
Custom Campaign Initiative - Visit the Custom Campaign Initiative to see other authors campaigns.
You can set any dialog to be fullscreen and the dialog will fill the screen completely regardless of it's size. Then you can set an image dialog item's size to be the size of its parent. The image should then fill any player's screen exactly.
The action definitions are named:
Set Dialog Fullscreen
Set Dialog Item Size to Parent
i see, never tryed, thx for the tips
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How can I guarantee that a dialog will fit for all dimensions? if the dialog is full screen? Trying to make the blood frame for low health hero to flash. Worried that setting it to fit my screen size may not look well for others with smaller screens, or bigger.
"You either are doing it, or you are not": Me
Team Genesis: Founder/Leader
Skype: Grasso2012 or Add me in-game 558
Free Model Developing Program: http://www.autodesk.com/education/free-software/maya
@DarcZaFire: Go
Set the dialog full screen or develop the dialog item in XML, and set its anchors to be the same as the GameUI element (which is always full screen).
If a blood flash on the screen is your only goal; you can simply make a massive dialog box, 2400X1600, hide the background, make it able to be clicked through. Essentially, you have a dialog that isnt there. You can then create the image you want flashed, and save it to a variable. When you want to flash someones life, or the blood splat, or whatever, you can use "fade dialog item transparency" to flash it as visible and then invisible again.
*edit* you can also fade the dialog itself (I believe) for a player, if that is easier. If you plan to use a lot of dialog images (like random blood splats) then that would likely be easier.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
by doing this, i think it will not work with smaller resolution if you looking to get the border red like blood splash. not sure but...
@DarcZaFire: Go
You can set any dialog to be fullscreen and the dialog will fill the screen completely regardless of it's size. Then you can set an image dialog item's size to be the size of its parent. The image should then fill any player's screen exactly.
The action definitions are named:
Set Dialog Fullscreen
Set Dialog Item Size to Parent
i see, never tryed, thx for the tips