Skip to content

Touch input does not work correctly on Rotate NDS screens. #14

@Mijail

Description

@Mijail

Hey!

Nice tutorial. I tried to make a book mode version for the landscape mode (I was tired of having to use lock orientation to play book mode games like rythm heaven or hotel dusk)

Since the screens are rotated by the game when switching to landscape they appear rotated, so what I did was to rotate the screens using a filter.
The problem though, is that the touch screen should be rotated as well, otherwise X movement appears like Y and Y as X but that cannot be done.
I tried setting:

"inputs": {
    "x": "touchScreenY",
    "y": "touchScreenX"
}

which works for the X coordinate but the Y one is inverted. (trying "-touchScreenX" did not work.
Is there a way to rotate the touch screen? It would be great if we could rotate the frames in general, not only the screens.

Here is the skin: bookmode.deltaskin.zip
Rythm Heaven is a good game to see what is going on.

Please let me know if there is another way to achieve what I want to do for landscape, though.

Thanks!

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