mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix drop shadow
This commit is contained in:
parent
e66f9fd0ff
commit
8f3177a885
17 changed files with 134 additions and 134 deletions
|
|
@ -128,8 +128,8 @@ class EndGameGui extends GuiControl {
|
|||
egResult.extent = new Vector(244, 69);
|
||||
egResult.text.text = '<font face="DomCasual64" color="#FFFFFF"><p align="right">${Util.formatTime(timeState.gameplayClock)}</p></font>';
|
||||
egResult.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -139,8 +139,8 @@ class EndGameGui extends GuiControl {
|
|||
egFirstLine.position = new Vector(340, 150);
|
||||
egFirstLine.extent = new Vector(210, 25);
|
||||
egFirstLine.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -150,8 +150,8 @@ class EndGameGui extends GuiControl {
|
|||
egSecondLine.position = new Vector(341, 178);
|
||||
egSecondLine.extent = new Vector(209, 25);
|
||||
egSecondLine.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -161,8 +161,8 @@ class EndGameGui extends GuiControl {
|
|||
egThirdLine.position = new Vector(341, 206);
|
||||
egThirdLine.extent = new Vector(209, 25);
|
||||
egThirdLine.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -172,8 +172,8 @@ class EndGameGui extends GuiControl {
|
|||
egFourthLine.position = new Vector(341, 234);
|
||||
egFourthLine.extent = new Vector(209, 25);
|
||||
egFourthLine.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -183,8 +183,8 @@ class EndGameGui extends GuiControl {
|
|||
egFifthLine.position = new Vector(341, 262);
|
||||
egFifthLine.extent = new Vector(209, 25);
|
||||
egFifthLine.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -194,8 +194,8 @@ class EndGameGui extends GuiControl {
|
|||
egFirstLineScore.position = new Vector(475, 150);
|
||||
egFirstLineScore.extent = new Vector(210, 25);
|
||||
egFirstLineScore.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -205,8 +205,8 @@ class EndGameGui extends GuiControl {
|
|||
egSecondLineScore.position = new Vector(476, 178);
|
||||
egSecondLineScore.extent = new Vector(209, 25);
|
||||
egSecondLineScore.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -216,8 +216,8 @@ class EndGameGui extends GuiControl {
|
|||
egThirdLineScore.position = new Vector(476, 206);
|
||||
egThirdLineScore.extent = new Vector(209, 25);
|
||||
egThirdLineScore.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -227,8 +227,8 @@ class EndGameGui extends GuiControl {
|
|||
egFourthLineScore.position = new Vector(476, 234);
|
||||
egFourthLineScore.extent = new Vector(209, 25);
|
||||
egFourthLineScore.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -238,8 +238,8 @@ class EndGameGui extends GuiControl {
|
|||
egFifthLineScore.position = new Vector(476, 262);
|
||||
egFifthLineScore.extent = new Vector(209, 25);
|
||||
egFifthLineScore.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -249,8 +249,8 @@ class EndGameGui extends GuiControl {
|
|||
egTitleText.text.textColor = 0xffff00;
|
||||
egTitleText.text.text = '<font color="#FFFFFF" face="DomCasual64">Your Time:</font>';
|
||||
egTitleText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -263,8 +263,8 @@ class EndGameGui extends GuiControl {
|
|||
egTopThreeText.extent = new Vector(209, 34);
|
||||
egTopThreeText.text.text = '<font face="DomCasual32" color="#FFFFFF">Top 5 Times:</font>'; // Make toggleable 3-5
|
||||
egTopThreeText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -294,8 +294,8 @@ class EndGameGui extends GuiControl {
|
|||
finishMessage.text.textColor = 0x00ff00;
|
||||
finishMessage.text.text = text;
|
||||
finishMessage.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -345,8 +345,8 @@ class EndGameGui extends GuiControl {
|
|||
leftColumn.text.textColor = 0xFFFFFF;
|
||||
leftColumn.text.text = 'Par Time:<br/>${mission.game == "gold" || mission.game.toLowerCase() == "ultra" ? '<font color="#FFCC00">Gold Time:</font>' : '<font color="#CCCCCC">Platinum Time:</font>'}<br/>${mission.ultimateTime != 0 ? '<font color="#FFDD22">Ultimate Time:</font><br/>' : ''}<font face="Arial14"><br/></font><font color="#FFFFFF" face="DomCasual24">Time Passed:<br/>Clock Bonuses:</font>';
|
||||
leftColumn.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
@ -362,8 +362,8 @@ class EndGameGui extends GuiControl {
|
|||
rightColumn.text.textColor = 0xFFFFFF;
|
||||
rightColumn.text.text = '${Util.formatTime(mission.qualifyTime == Math.POSITIVE_INFINITY ? 5999.999 : mission.qualifyTime)}<br/><font color="${mission.game == "gold" || mission.game.toLowerCase() == "ultra" ? '#FFCC00' : '#CCCCCC'}">${Util.formatTime(mission.goldTime)}</font><br/>${mission.ultimateTime != 0 ? '<font color="#FFDD22">${Util.formatTime(mission.ultimateTime)}</font><br/>' : ''}<font face="Arial14"><br/></font><font color="#FFFFFF" face="DomCasual24">${Util.formatTime(elapsedTime)}<br/>${Util.formatTime(bonusTime)}</font>';
|
||||
rightColumn.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0x777777
|
||||
};
|
||||
|
|
|
|||
|
|
@ -88,8 +88,8 @@ class EnterNameDlg extends GuiControl {
|
|||
var enterNameText = new GuiMLText(domcasual32, mlFontLoader);
|
||||
enterNameText.text.textColor = 0xFFFFFF;
|
||||
enterNameText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -85,8 +85,8 @@ class JoinServerGui extends GuiImage {
|
|||
passwordTitle.justify = Center;
|
||||
passwordTitle.text.text = "Password Required";
|
||||
passwordTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -134,8 +134,8 @@ class JoinServerGui extends GuiImage {
|
|||
serverInfo.extent = new Vector(210, 166);
|
||||
serverInfo.text.text = '<p align="center">Select a Server</p>';
|
||||
serverInfo.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -316,8 +316,8 @@ class JoinServerGui extends GuiImage {
|
|||
titleText.justify = Center;
|
||||
titleText.text.text = "Join Server";
|
||||
titleText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -329,8 +329,8 @@ class JoinServerGui extends GuiImage {
|
|||
listTitle.extent = new Vector(480, 22);
|
||||
listTitle.text.textColor = 0xDDDDEE;
|
||||
listTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@ class JukeboxDlg extends GuiImage {
|
|||
songTitle.position = new Vector(61, 262);
|
||||
songTitle.extent = new Vector(416, 22);
|
||||
songTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -64,8 +64,8 @@ class JukeboxDlg extends GuiImage {
|
|||
songStatus.position = new Vector(56, 283);
|
||||
songStatus.extent = new Vector(421, 22);
|
||||
songStatus.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -175,8 +175,8 @@ class MPEndGameGui extends GuiImage {
|
|||
titleML.horizSizing = Width;
|
||||
titleML.text.textColor = rankColor;
|
||||
titleML.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -128,8 +128,8 @@ class MPExitGameDlg extends GuiControl {
|
|||
exitTitle.justify = Center;
|
||||
exitTitle.text.text = "Ingame Options";
|
||||
exitTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -141,8 +141,8 @@ class MPExitGameDlg extends GuiControl {
|
|||
restartTitle.justify = Center;
|
||||
restartTitle.text.text = "Restart:";
|
||||
restartTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -69,8 +69,8 @@ class MPKickBanDlg extends GuiImage {
|
|||
kickTitle.text.textColor = 0xFFFFFF;
|
||||
kickTitle.text.text = "Kick Players";
|
||||
kickTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -83,8 +83,8 @@ class MPMarbleSelectGui extends GuiImage {
|
|||
var titleText = new GuiMLText(markerFelt28, null);
|
||||
titleText.text.textColor = 0xFFFFFF;
|
||||
titleText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -98,8 +98,8 @@ class MPMarbleSelectGui extends GuiImage {
|
|||
var marbleText = new GuiMLText(markerFelt24, null);
|
||||
marbleText.text.textColor = 0xFFFFFF;
|
||||
marbleText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -58,8 +58,8 @@ class MPMessageGui extends GuiImage {
|
|||
title.text.text = titleText;
|
||||
title.text.textColor = 0xFFFFFF;
|
||||
title.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -73,8 +73,8 @@ class MPMessageGui extends GuiImage {
|
|||
msg.text.text = msgText;
|
||||
msg.text.textColor = 0xFFFFFF;
|
||||
msg.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -321,8 +321,8 @@ class MPPlayMissionGui extends GuiImage {
|
|||
pmDesc.position = new Vector(0, 0);
|
||||
pmDesc.extent = new Vector(427, 99);
|
||||
pmDesc.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -333,8 +333,8 @@ class MPPlayMissionGui extends GuiImage {
|
|||
parTime.position = new Vector(43, 190);
|
||||
parTime.extent = new Vector(416, 44);
|
||||
parTime.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -384,8 +384,8 @@ class MPPlayMissionGui extends GuiImage {
|
|||
playerListTitle.text.textColor = 0xBDCFE4;
|
||||
playerListTitle.justify = Center;
|
||||
playerListTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -133,8 +133,8 @@ class MPPreGameDlg extends GuiControl {
|
|||
serverTitle.extent = new Vector(525, 30);
|
||||
serverTitle.text.text = Net.isHost ? Settings.serverSettings.name : Net.connectedServerInfo.name;
|
||||
serverTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -147,8 +147,8 @@ class MPPreGameDlg extends GuiControl {
|
|||
serverDesc.extent = new Vector(525, 66);
|
||||
serverDesc.text.text = Net.isHost ? Settings.serverSettings.description : Net.connectedServerInfo.description;
|
||||
serverDesc.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -161,8 +161,8 @@ class MPPreGameDlg extends GuiControl {
|
|||
levelName.extent = new Vector(525, 22);
|
||||
levelName.text.text = MarbleGame.instance.world.mission.title;
|
||||
levelName.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -174,8 +174,8 @@ class MPPreGameDlg extends GuiControl {
|
|||
levelDesc.extent = new Vector(516, 63);
|
||||
levelDesc.text.text = StringTools.htmlEscape(MarbleGame.instance.world.mission.description);
|
||||
levelDesc.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -187,8 +187,8 @@ class MPPreGameDlg extends GuiControl {
|
|||
playerTitle.extent = new Vector(525, 14);
|
||||
playerTitle.text.text = "Player Status";
|
||||
playerTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -203,8 +203,8 @@ class MPPreGameDlg extends GuiControl {
|
|||
dialogImg.addChild(playerListContainer);
|
||||
|
||||
var playerListLeft = new GuiTextListCtrl(markerFelt18, [], 0xFFFFFF, {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
color: 0,
|
||||
alpha: 1
|
||||
});
|
||||
|
|
@ -219,8 +219,8 @@ class MPPreGameDlg extends GuiControl {
|
|||
playerListContainer.addChild(playerListLeft);
|
||||
|
||||
var playerListRight = new GuiTextListCtrl(markerFelt18, [], 0xFFFFFF, {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
color: 0,
|
||||
alpha: 1
|
||||
});
|
||||
|
|
|
|||
|
|
@ -61,8 +61,8 @@ class MPServerDlg extends GuiImage {
|
|||
title.text.text = "Server Settings";
|
||||
title.text.textColor = 0xFFFFFF;
|
||||
title.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -129,8 +129,8 @@ class MPServerDlg extends GuiImage {
|
|||
serverName.text.text = "Server Name:";
|
||||
serverName.text.textColor = 0xFFFFFF;
|
||||
serverName.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -148,8 +148,8 @@ class MPServerDlg extends GuiImage {
|
|||
serverNameEdit.position = new Vector(3, 3);
|
||||
serverNameEdit.extent = new Vector(291, 29);
|
||||
serverNameEdit.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -165,8 +165,8 @@ class MPServerDlg extends GuiImage {
|
|||
password.text.text = "Password:";
|
||||
password.text.textColor = 0xFFFFFF;
|
||||
password.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -184,8 +184,8 @@ class MPServerDlg extends GuiImage {
|
|||
passwordEdit.position = new Vector(3, 3);
|
||||
passwordEdit.extent = new Vector(291, 29);
|
||||
passwordEdit.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -201,8 +201,8 @@ class MPServerDlg extends GuiImage {
|
|||
serverDescTitle.text.text = "Server Info:";
|
||||
serverDescTitle.text.textColor = 0xFFFFFF;
|
||||
serverDescTitle.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -220,8 +220,8 @@ class MPServerDlg extends GuiImage {
|
|||
serverDescEdit.position = new Vector(3, 3);
|
||||
serverDescEdit.extent = new Vector(291 + 93, 29);
|
||||
serverDescEdit.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -237,8 +237,8 @@ class MPServerDlg extends GuiImage {
|
|||
maxPlayers.text.text = "Max Players: " + curServerMaxPlayers;
|
||||
maxPlayers.text.textColor = 0xFFFFFF;
|
||||
maxPlayers.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -268,8 +268,8 @@ class MPServerDlg extends GuiImage {
|
|||
forceSpectators.text.text = "Force Spectators:";
|
||||
forceSpectators.text.textColor = 0xFFFFFF;
|
||||
forceSpectators.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -291,8 +291,8 @@ class MPServerDlg extends GuiImage {
|
|||
quickRespawn.text.text = "Allow Quick Respawn:";
|
||||
quickRespawn.text.textColor = 0xFFFFFF;
|
||||
quickRespawn.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -314,8 +314,8 @@ class MPServerDlg extends GuiImage {
|
|||
competitive.text.text = "Competitive Mode:";
|
||||
competitive.text.textColor = 0xFFFFFF;
|
||||
competitive.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -184,8 +184,8 @@ class MainMenuGui extends GuiImage {
|
|||
versionText.extent = new Vector(97, 72);
|
||||
versionText.text.text = "<p align=\"center\">1.5.4</p>";
|
||||
versionText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -554,8 +554,8 @@ class MarbleSelectGui extends GuiImage {
|
|||
var titleText = new GuiMLText(markerFelt28, null);
|
||||
titleText.text.textColor = 0xFFFFFF;
|
||||
titleText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -569,8 +569,8 @@ class MarbleSelectGui extends GuiImage {
|
|||
var marbleText = new GuiMLText(markerFelt24, null);
|
||||
marbleText.text.textColor = 0xFFFFFF;
|
||||
marbleText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -148,8 +148,8 @@ class OptionsDlg extends GuiImage {
|
|||
textObj.text.text = text;
|
||||
textObj.text.textColor = 0xFFFFFF;
|
||||
textObj.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -226,8 +226,8 @@ class OptionsDlg extends GuiImage {
|
|||
textObj.text.text = text;
|
||||
textObj.text.textColor = 0xFFFFFF;
|
||||
textObj.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -410,8 +410,8 @@ class OptionsDlg extends GuiImage {
|
|||
textObj.text.text = text;
|
||||
textObj.text.textColor = 0xFFFFFF;
|
||||
textObj.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -435,8 +435,8 @@ class OptionsDlg extends GuiImage {
|
|||
textObj.text.text = "Touch Controls";
|
||||
textObj.text.textColor = 0xFFFFFF;
|
||||
textObj.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
|
|
@ -669,8 +669,8 @@ class PlayGui {
|
|||
}
|
||||
|
||||
playerListCtrl = new GuiMLTextListCtrl(bfont, [], imgLoader, {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
color: 0,
|
||||
alpha: 1
|
||||
});
|
||||
|
|
@ -682,8 +682,8 @@ class PlayGui {
|
|||
playerListContainer.addChild(playerListCtrl);
|
||||
|
||||
playerListScoresCtrl = new GuiMLTextListCtrl(bfont, [], imgLoader, {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
color: 0,
|
||||
alpha: 1
|
||||
});
|
||||
|
|
@ -1183,8 +1183,8 @@ class PlayGui {
|
|||
middleMsg.justify = Center;
|
||||
middleMsg.text.textColor = color;
|
||||
middleMsg.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
}; // new h2d.filter.DropShadow(1.414, 0.785, 0x000000F, 1, 0, 0.4, 1, true);
|
||||
|
|
|
|||
|
|
@ -893,8 +893,8 @@ class PlayMissionGui extends GuiImage {
|
|||
var currentMission = currentList[currentSelection];
|
||||
|
||||
pmScoreText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -987,16 +987,16 @@ class PlayMissionGui extends GuiImage {
|
|||
}
|
||||
|
||||
pmDescription.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
pmDescription.text.lineSpacing = -1;
|
||||
|
||||
pmDescriptionRight.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
@ -1040,14 +1040,14 @@ class PlayMissionGui extends GuiImage {
|
|||
pmDescription.text.text = descText;
|
||||
|
||||
pmParText.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
pmParTextRight.text.dropShadow = {
|
||||
dx: 1,
|
||||
dy: 1,
|
||||
dx: 1 * Settings.uiScale,
|
||||
dy: 1 * Settings.uiScale,
|
||||
alpha: 0.5,
|
||||
color: 0
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue