Play Journal Entries

Petit computer 3

りきすけrikisuke

09/26/2017 3:59 AM ·Spoilers

四方向のオートタイルの作り方はこんな感じでいいのかな。。。

Advertisement

Comment

This post has no comments.

  • ふむぅ 上下左右の4つのポイントの情報をそれぞれ4つのビットに対応させて0~15の16パターンに分類して、予めBGキャラクターを連番で配置しておいて、パターン番号を基準になるBGキャラクター番号に足し算することで表示するBGキャラクターを決定してるんですね。 でも周りに配置されてるキャラクターとの関係性を見れないと分かり辛いので 2重のループを使うかして、点じゃなくて平面のデータにしなくちゃですよね。 配列を使うと範囲外エラーをどう回避するか悩みどころだったり。

    Yeahs1
    Played
  • ツララさん。まさにその通りです。実装段階では配置してからもう一度マップ配列を2重ループと範囲設定をして見直して設定してます。一応今作ってるまじっくすと〜り〜のアンソロジーのアクションゲームにそれを使ってます。

    Yeahs0
    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-2NL9-4UL-BGY2

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: