Skip to content

Commit

Permalink
Improved Quality of text for Finishing Moves from @clemente
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Mar 26, 2024
1 parent de8c910 commit b710e26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/helpers/animation/finishing-move.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export function createFinishingMoveAnimation(text) {
const style = {
fill: textColor,
dropShadowColor: textBorderColor,
dropShadowBlur: 10,
dropShadowBlur: 10 * 4,
dropShadowDistance: 0,
dropShadow: true,
fontFamily: "Impact, Charcoal, sans-serif",
fontSize: 48,
fontSize: 48 * 4,
//fontWeight: "bold",
strokeThickness: 2,
};
Expand All @@ -31,6 +31,7 @@ export function createFinishingMoveAnimation(text) {
.text(word, style)
.screenSpace()
.screenSpaceAnchor({ x: sideBorderAmt + moveAmt * i + moveAmt / 2, y: 0.4 })
.scale(0.25)
.scaleIn(3, delayDiff, { ease: "easeOutCubic" })
.screenSpaceScale({
x: 1.0, // Scale on the effect's X scale
Expand Down

0 comments on commit b710e26

Please sign in to comment.