Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[要望] 歌詞表示(word_data)の複数階層化対応 #307

Closed
cwtickle opened this issue May 25, 2019 · 1 comment
Closed

[要望] 歌詞表示(word_data)の複数階層化対応 #307

cwtickle opened this issue May 25, 2019 · 1 comment

Comments

@cwtickle
Copy link
Owner

cwtickle commented May 25, 2019

Is your feature request related to a problem? Please describe.

  • 歌詞表示で使っている歌詞表示(word_data)にて、
    現在は上下2つずつのみの使用になっているが、
    back_data, mask_dataなどと同様、複数階層化させたい。
|word_data=
240,0,歌詞テスト,
240,2,<br>歌詞テスト,
|
  • また、現在のフェードイン・フェードアウトの仕様が
    フレームを拾いながらOpacity(透明度)を変えるようになっているが、
    この部分はCSS化できる(はず)ので、CSS化してもっと単純化させたい。
    (欲を言えば、フォーマットはそのままにしつつ、back_data, mask_dataの仕様に近づけたい)
// 歌詞フェードイン・アウトで
// フレームごとの処理が必要なため、ver5.2.1時点では同時に4本流す必要がある
fadeWord(`0`);
fadeWord(`1`);
fadeWord(`2`);
fadeWord(`3`);

Describe the solution you'd like

  • まず、フェードイン・アウト処理をCSS化する。
    これによりword_dataの複雑な処理の一部が解消される見込みなので、
    そのうえでback_data、mask_dataのような複数階層化に対応させたい。

  • word_dataの2番目の要素が奇数なら上段、偶数なら下段にする。

  • そこが実現できた場合、他のCSSモーションを利用して歌詞表示の幅を広げたい。

Describe alternatives you've considered

  • back_data、mask_dataと機能競合しているため、
    word_dataのいいところとback_data、mask_dataのいいところを統合させるのもありだと思っている。(ただし互換性の問題あり)

Additional context

@cwtickle
Copy link
Owner Author

ver5.4.0にて対応しました。クローズします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant