[BUG] "unload" script runs right after leaving the frame
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- game-dev
調査の方向性
添付されたサンプルプロジェクトで問題を再現し、正方形をクリックしたときのフレーム切り替えの経路を追跡してください。フレームを離れることとの相対的な位置で、unload スクリプトがどこで呼び出されるかを調査してください。スクリプトがフレームの変更前に実行され、最初のフレームの clip が次のフレームに影響を与えたりエラーを発生させたりせずに自身のプロパティを更新できれば、完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
when an object runs its unload script, the script is run right after the frame leaves. the most sensible thing to use unload for is to reset a clip for next time, but by the time the code tries to do so, it's already on a different frame and the clip is no longer visible.
To reproduce
Steps to reproduce the behavior:
- create 2 frames, stop() on the first one, and make a way to go between the 2 frames
- create a clip on the first frame
- add an unload script and make it try to set one of its own properties
- code will not execute properly
Expected behavior
unload scripts run right before exiting the frame
Editor version
all modern versions
Additional context
github's being github so here's a zip with a sample file: My Project3-17-2026_21-40-23.wick.zip
click the square in the bottom right to switch frames. one would expect the top left clip in frame 1 to rotate upon unloading, but it's actually the clip in frame 2 that gets rotated. if you delete the 2nd frame clip, you will instead get an error.
relevant discord thread: https://discord.com/channels/1406876763920797717/1481550313780416565
- 主要言語
- JavaScript
- スター
- 53
- フォーク
- 22
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 12
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Candlestickers/Candlestick のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Candlestickers/Candlestick#255 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Candlestickers/Candlestick#240 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Candlestickers/Candlestick#239 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] frames with names lose their circle対応中かも @BaronAWC が 5 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Candlestickers/Candlestick#237 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Candlestickers/Candlestick#203 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
Candlestickers/Candlestick の issue をすべて見る
似ている issue
-
Add: EUROTV NEWSオープンchannels:add check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
curriculum documentation quality
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
githubnext/gh-aw-workshop#4638 ·
メンテナーはふだん 1 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
openclaw/openclaw-enterprise#2571 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fabriziosalmi/certmate#1247 ·
メンテナーはふだん 1 日以内に返信
-
[guide] docs/metrics/index.md names retired 'Import reference architectures' workflow as the metrics refresh path対応中かも @hivecommons-hive が今日担当しました。 オープンagent/guide documentation hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
cncf/endusers#1537 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信