Skip to content

Instantly share code, notes, and snippets.

@triacontane
Last active January 3, 2023 06:45
Show Gist options
  • Save triacontane/a24ba00a89fd249d1a13eff054243e27 to your computer and use it in GitHub Desktop.
Save triacontane/a24ba00a89fd249d1a13eff054243e27 to your computer and use it in GitHub Desktop.
現在のシーン(ウィンドウは含めない)にぼかしをかける
// ぼかしをかける
$gameVariables.setValue(1, SceneManager._scene._spriteset.filters);
SceneManager._scene._spriteset.filters = [new PIXI.filters.BlurFilter()];
// 戻す
SceneManager._scene._spriteset.filters = $gameVariables.value(1);
$gameVariables.setValue(1, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment