Skip to content

关于sprite镜像翻转 #68

Closed
Closed

Description

@ushen-pyj

想要sprite的水平镜像和垂直镜像, 发现做不到

无法单独缩放x和y

我在我的分支上做了简单修改达到了效果

transform->sr没有更多位数可以使用, 新增了scale_x和scale_y

并在srbuffer_add函数里计算时应用

但这看起来并不太好, 想问下大佬有什么更好的办法

Activity

  1. Repository owner locked and limited conversation to collaborators on Dec 29, 2025
  2. converted this issue into a discussion #69 on Dec 29, 2025
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions