good shit
This commit is contained in:
@@ -77,10 +77,10 @@ class Chaos extends Component {
|
||||
|
||||
projectiles.forEach(proj => this.animations.push(anime({
|
||||
targets: proj,
|
||||
// cx: 150 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
||||
// cy: 200 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
||||
cx: 150,
|
||||
cy: 200,
|
||||
cx: 150 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
||||
cy: 200 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
||||
// cx: 150,
|
||||
// cy: 200,
|
||||
// opacity: 0,
|
||||
|
||||
delay: TIMES.TARGET_DELAY_MS,
|
||||
|
||||
@@ -89,8 +89,8 @@ class SiphonTick extends Component {
|
||||
projectiles.forEach(proj => {
|
||||
anime({
|
||||
targets: proj,
|
||||
cx: 150 + (Math.random() * 50 * (Math.random() < 0.5 ? -1 : 1)),
|
||||
cy: 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() * 300 * (Math.random() < 0.5 ? -1 : 1)),
|
||||
delay: (Math.random() * duration * 1 / 2),
|
||||
duration,
|
||||
easing: 'easeInQuad',
|
||||
|
||||
Reference in New Issue
Block a user