Skip to content

Instantly share code, notes, and snippets.

@triacontane
Last active January 3, 2023 06:45
Show Gist options
  • Save triacontane/bcf455a757c6cdf573d7efb4bf320c49 to your computer and use it in GitHub Desktop.
Save triacontane/bcf455a757c6cdf573d7efb4bf320c49 to your computer and use it in GitHub Desktop.
現在のシーンにぼかしをかける
// 現在のシーンにぼかしをかける
$gameVariables.setValue(1, SceneManager._scene.filters);
SceneManager._scene.filters = [new PIXI.filters.BlurFilter()];
// もどす
SceneManager._scene.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