mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 06:02:13 +00:00
move ach sprite sheet into 3 seperate ones
This commit is contained in:
parent
0b171f0d86
commit
9302c19bc6
Binary file not shown.
Before Width: | Height: | Size: 2.4 MiB |
BIN
images/cancer achievements.png
Normal file
BIN
images/cancer achievements.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 615 KiB |
BIN
images/normal achievements.png
Normal file
BIN
images/normal achievements.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
BIN
images/secret achievements.png
Normal file
BIN
images/secret achievements.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 431 KiB |
@ -19,11 +19,6 @@ Vue.component("normal-achievement", {
|
||||
},
|
||||
styleObject() {
|
||||
const id = this.id;
|
||||
if (Theme.current().name === "S4") {
|
||||
return {
|
||||
"background-position": `-${(id % 10 - 1) * 104}px -${1560 + (Math.floor(id / 10) - 1) * 104}px`
|
||||
};
|
||||
}
|
||||
return { "background-position": `-${(id % 10 - 1) * 104}px -${(Math.floor(id / 10) - 1) * 104}px` };
|
||||
},
|
||||
classObject() {
|
||||
@ -32,7 +27,9 @@ Vue.component("normal-achievement", {
|
||||
"o-achievement--locked": !this.isUnlocked,
|
||||
"o-achievement--unlocked": this.isUnlocked && this.isEnabled,
|
||||
"o-achievement--disabled": this.isUnlocked && !this.isEnabled,
|
||||
"o-achievement--blink": this.id === 78 && !this.isUnlocked
|
||||
"o-achievement--blink": this.id === 78 && !this.isUnlocked,
|
||||
"o-achievement--normal": Theme.current().name !== "S4",
|
||||
"o-achievement--cancer": Theme.current().name === "S4"
|
||||
};
|
||||
},
|
||||
detailsTooltip() {
|
||||
|
@ -27,7 +27,8 @@ Vue.component("secret-achievement", {
|
||||
return {
|
||||
"o-achievement": true,
|
||||
"o-achievement--hidden": !this.isUnlocked,
|
||||
"o-achievement--unlocked": this.isUnlocked
|
||||
"o-achievement--unlocked": this.isUnlocked,
|
||||
"o-achievement--secret": true
|
||||
};
|
||||
},
|
||||
tooltip() {
|
||||
|
@ -2723,13 +2723,24 @@ screen and (max-width: 480px) {
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
font-family: TypeWriter, serif;
|
||||
background-image: url("../images/achievements.png");
|
||||
color: black;
|
||||
font-size: .8rem;
|
||||
user-select: none;
|
||||
border: .2rem solid;
|
||||
}
|
||||
|
||||
.o-achievement--normal {
|
||||
background-image: url("../images/normal achievements.png");
|
||||
}
|
||||
|
||||
.o-achievement--cancer {
|
||||
background-image: url("../images/cancer achievements.png");
|
||||
}
|
||||
|
||||
.o-achievement--secret {
|
||||
background-image: url("../images/secret achievements.png");
|
||||
}
|
||||
|
||||
.o-achievement--locked {
|
||||
background-color: #a3a3a3;
|
||||
border-color: #b84b5f;
|
||||
|
Loading…
Reference in New Issue
Block a user