Feature request: DijkstraMap find_lowest_exits function

オープン 初心者向け
#249 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
game-dev

調査の方向性

まず DijkstraMap の実装と既存の find_lowest_exit 関数を見つけ、次に HandsOnRust で説明されている同コストの移動ケースを確認します。すべての最低コストの出口インデックスのベクターが、その後のモンスター移動処理に利用でき、同率の出口の挙動が検証されれば、変更は完了です。

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

説明

In a 4-way movement roguelike, there are cases where there can be two movement directions that cost the same amount in the DijkstraMap. This is a request to add a function to return a vector of the lowest exit indices for further processing.

You can see the issue this causes for monster movement with only having find_lowest_exit in HandsOnRust: they favor moving in dog legs chasing the player east/west and will never try moving north/south towards the player if the player moves east/west and is aligned with the monster.

主要言語
Rust
スター
1.7k
フォーク
130
PR マージ指標
30日以内にマージされた PR はありません

環境構築

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

はじめの一歩

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

amethyst/bracket-lib のほかの issue

amethyst/bracket-lib の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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