Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.
This repository was archived by the owner on May 7, 2026. It is now read-only.

v1.1系 DXライブラリの2D座標系とY軸が逆になってしまいます。 #4

Description

@DKAlpha

v1.1系ではDXライブラリの3D機能を使用してスプライトを表示するように変更しました。
こちらの座標系は画面下が0、上方向がプラスとなっておりY座標が逆になっております。
DXライブラリで使用する場合は、void Player::setPosition(float x, float y)関数ないで
_state.y = 画面サイズ - y; と変更する事で2D座標系に合わせる事ができます。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions