Discussions

Petit computer 3 Community

ひゅうくんHyu200921

10/15/2017 10:46 AM ·Spoilers

Open Closed

敵からの攻撃、自分のあたり判定

簡単に言うとアンダーテール避けるだけのゲームを作りたいんですが 移動制限作って終わってまして。敵からの攻撃など自分のあたりはんていってどうやって作るんですかね? 出来たらプログラムの画像も欲しいです。

Advertisement

Comment

This post has no comments.

  • 自機(ハート)がSPならば、 SPCOLとSPHITSPをおすすめします。 説明は画像にて。 それ以外なら、"短形 当たり判定"で調べて、 自作命令を作るのがいいと思います。

    Yeahs1
    Played
  • もしSPのグラの重なりで判定したかったら この「K49」をDLしてみて。 中に書いてある自作命令「SPHITSP%」が それに当たるから。 SPCOL必須で、その幅高さはSPDEFの 定義と同じにすること。 スケール、角度は非対応。 大きい面積のSP使うと 処理落ちするかもしれないけど 自己責任で。

    Yeahs1
    Played
  • ↑説明が分かりづらい場合の補足: 要は細かい(ドット単位の) 当たり判定に使えるやつ

    Yeahs1
    Played
  • ありがとうございます⌒∀⌒

    Yeahs1
    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-2NLA-BND-3WKD

Report Violation to Miiverse Administrators

You cannot report posts made automatically by a software title.

Edit Post

Select an action: