good shit
This commit is contained in:
parent
7437111cac
commit
cf05487c6d
@ -400,16 +400,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.player {
|
.player {
|
||||||
|
width: calc(100% - 1em);
|
||||||
bottom: 3em;
|
bottom: 3em;
|
||||||
height: calc(50% - 3em);
|
height: calc(50% - 3em);
|
||||||
}
|
}
|
||||||
|
|
||||||
.opponent {
|
.opponent {
|
||||||
|
width: calc(100% - 1em);
|
||||||
.game-construct {
|
.game-construct {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-template-rows: min-content 1fr;
|
grid-template-rows: min-content 1fr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#targeting, .resolving-skill {
|
||||||
|
width: calc(100% - 1em);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -77,10 +77,10 @@ class Chaos extends Component {
|
|||||||
|
|
||||||
projectiles.forEach(proj => this.animations.push(anime({
|
projectiles.forEach(proj => this.animations.push(anime({
|
||||||
targets: proj,
|
targets: proj,
|
||||||
// cx: 150 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
cx: 150 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
||||||
// cy: 200 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
cy: 200 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
||||||
cx: 150,
|
// cx: 150,
|
||||||
cy: 200,
|
// cy: 200,
|
||||||
// opacity: 0,
|
// opacity: 0,
|
||||||
|
|
||||||
delay: TIMES.TARGET_DELAY_MS,
|
delay: TIMES.TARGET_DELAY_MS,
|
||||||
|
|||||||
@ -89,8 +89,8 @@ class SiphonTick extends Component {
|
|||||||
projectiles.forEach(proj => {
|
projectiles.forEach(proj => {
|
||||||
anime({
|
anime({
|
||||||
targets: proj,
|
targets: proj,
|
||||||
cx: 150 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
cx: 150 + (Math.random() * 300 * (Math.random() < 0.5 ? -1 : 1)),
|
||||||
cy: 150 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
cy: 150 + (Math.random() * 300 * (Math.random() < 0.5 ? -1 : 1)),
|
||||||
delay: (Math.random() * duration * 1 / 2),
|
delay: (Math.random() * duration * 1 / 2),
|
||||||
duration,
|
duration,
|
||||||
easing: 'easeInQuad',
|
easing: 'easeInQuad',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user