Play Journal Entries

Petit computer 3

Hanzorzsense

10/29/2017 1:56 AM ·Spoilers

シミュレーションゲームでよくある、キャラクターの移動可能範囲を計算して表示する実験をしてみました。 DEFの再帰呼び出しは、こういうことをやるときに便利です。

Advertisement

Comment

This post has no comments.

  • あ、移動可能範囲と言うのは、1ターンでの話です。 今回は、道路=1、平地=2、森林=3、山地=8、の「移動コスト」を設定し、移動コスト合計9以内で移動できる範囲を示しています。

    Yeahs3
    Played
  • 実験プログラムを公開しました。 QRYDP4S3でダウンロードしていただいたプロジェクトの中の、EX_MVCOSTを実行していただくと、 ・移動可能範囲表示 ・表示範囲内で自由に移動 ・Aボタン押しで、最短ルートをトレース を、延々と繰り返します。 ただそれだけ。恐縮です。

    Yeahs4
    Played

Add a Comment

You must sign in to post a comment.

Sign in using a Nintendo Network ID to connect to users around the world by writing posts and comments and by giving Yeahs to other people's posts. You can create a Nintendo Network ID using your Wii U console or your system in the Nintendo 3DS family.

Use of Miiverse Details about Miiverse

Report Violation to Miiverse Administrators

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Post ID: 3DB-NBL7-DPU-2NLB-7KZ-2CXE

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: