wip experimenting with values
This commit is contained in:
parent
e78a502a40
commit
63028fe297
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
.combat-text {
|
.combat-text {
|
||||||
left: 15%;
|
left: 15%;
|
||||||
top: 0%;
|
top: 20%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -219,7 +219,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.ko-transition {
|
&.ko-transition {
|
||||||
animation: target-ko 1.1s ease-in-out 0s 1;
|
animation: target-ko 1.3s ease-in-out 0s 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.ko {
|
&.ko {
|
||||||
|
|||||||
@ -19,7 +19,7 @@ const addState = connect(
|
|||||||
);
|
);
|
||||||
|
|
||||||
class ConstructAvatar extends Component {
|
class ConstructAvatar extends Component {
|
||||||
constructor(props) {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
// The animation ids are a check to ensure that animations are not repeated
|
// The animation ids are a check to ensure that animations are not repeated
|
||||||
// When a new construct animation is communicated with state it will have a corresponding Id
|
// When a new construct animation is communicated with state it will have a corresponding Id
|
||||||
|
|||||||
@ -26,10 +26,9 @@ class combatText extends preact.Component {
|
|||||||
anime({
|
anime({
|
||||||
targets: '.combat-text',
|
targets: '.combat-text',
|
||||||
top: '40%',
|
top: '40%',
|
||||||
duration: TIMES.POST_SKILL_DURATION_MS,
|
duration: TIMES.POST_SKILL_DURATION_MS - 500,
|
||||||
|
easing: 'easeOutQuad',
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log('grep');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ const preact = require('preact');
|
|||||||
const SOURCE_DURATION_MS = 1000; // Time for SOURCE ONLY
|
const SOURCE_DURATION_MS = 1000; // Time for SOURCE ONLY
|
||||||
const TARGET_DELAY_MS = 500; // Used for Source + Target
|
const TARGET_DELAY_MS = 500; // Used for Source + Target
|
||||||
const TARGET_DURATION_MS = 1500; // Time for TARGET ONLY
|
const TARGET_DURATION_MS = 1500; // Time for TARGET ONLY
|
||||||
const POST_SKILL_DURATION_MS = 1100; // Time for all POST
|
const POST_SKILL_DURATION_MS = 1300; // Time for all POST
|
||||||
const SOURCE_AND_TARGET_TOTAL_DURATION = TARGET_DELAY_MS + TARGET_DURATION_MS; // SOURCE + TARGET time
|
const SOURCE_AND_TARGET_TOTAL_DURATION = TARGET_DELAY_MS + TARGET_DURATION_MS; // SOURCE + TARGET time
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user