ChoicescriptIDE / ChoicescriptIDE/main

Diagnose failures to load images in run sessions

オープン
#97 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
36
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

説明

I've seen a few cases now of users believing the only way to get images to display in CSIDE is via "Image Scenes".
This is not true: images work as they would in any CS game via the \*image command.

That said, CSIDE admittedly doesn't do anything to diagnose missing images... So it can be rather tricky to troubleshoot incorrect paths. We should fix that, maybe by logging issues to the project on any failure to load (404s) files with an image extension.

Additional context: https://forum.choiceofgames.com/t/header-image-not-showing-up/86180/7?u=cjw

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

実行セッション中にCSIDEがimageコマンドをどのように処理し、画像の読み込みに失敗した場合に現在どのように通知されるかを追跡します。画像拡張子を持つファイルに対する404sの処理と、プロジェクトのloggingの動作を確認します。画像パスを読み込めない場合にユーザーが有用な診断を受けられ、関連する失敗ケースのカバレッジがあることを完了条件とします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。