Bug: Editor can't render ScalableProp with undefined size

オープン
#243 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
tooling

調査の方向性

Start by tracing how the editor loads and renders scalable props, using waterfallLong in heat-dng/f2/room-cold and sandLine in heat-dng/g/room-09 as examples. Compare those vanilla props with the JSON workaround that supplies a size. Done means both kinds of vanilla prop appear in the editor and can be interacted with.

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

説明

Some vanilla maps use scalable props with undefined size. Inside heat-dng/f2/room-cold, there are scalable props called waterfallLong from the heat-dng sheet that do not have a defined size. The map editor doesn't render these at all, thus there is no way to interact with them without blindly doing it in the json.

image
image

Another example of this are the sandLine props from the heat-dng sheet. These can be found in heat-dng/g/room-09.

A workaround is to manually define a prop in the JSON which includes a value for size. These will work and show up in the editor, but vanilla props will not.
image
image

主要言語
TypeScript
スター
59
フォーク
19
平均マージ
32分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CCDirectLink/crosscode-map-editor のほかの issue

CCDirectLink/crosscode-map-editor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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