Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen instead of stage sprite #2155

Open
Kiwi1444 opened this issue Nov 29, 2024 · 1 comment
Open

Black screen instead of stage sprite #2155

Kiwi1444 opened this issue Nov 29, 2024 · 1 comment
Labels
bug Something isn't working group: stage Problem with stages

Comments

@Kiwi1444
Copy link

Describe the bug

On the stages Sunrain and JPJD by 月光下的虫 black screen appearing instead of normal sprite

To Reproduce

  1. Download and install stage
  2. Start the match
    JPJD.zip

Expected behavior

As in Mugen 1.1

Screenshots / Video

Mugen 1.1:
2024-11-30 05_11_43

Ikemen Go:
2024-11-30 05_11_11

Engine Version (or source code date)

Nightly 2024-11-28

Operating system

Windows

Extra context or search terms

The problem is present in v0.99 too

@K4thos K4thos added bug Something isn't working group: stage Problem with stages labels Dec 7, 2024
@K4thos
Copy link
Member

K4thos commented Dec 7, 2024

most liely caused by incorrect implementation of maskwindow parameter, which based on docs supposed to use stage origin (top-middle of screen), not top-left corner of the screen as the origin.

maskwindow = x1,y1,x2,y2 ; (int, int, int, int) (Version 1.1 and higher)
Specifies a masking window for the background element. A masking window is conceptually a rectangular box on the screen in which the sprite is contained. Any part of the sprite that lies outside of the box will not be drawn. x1,y1 specifies the coordinates of the top-left corner of the window, and x2,y2 specifies the coordinates of the bottom-right corner of the window. These coordinates are relative to the stage origin (top-middle of screen). These coordinates are "endpoint exclusive", i.e. the pixels along the bottom and right edges of the window will not be drawn. If omitted, window masking will not performed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working group: stage Problem with stages
Projects
None yet
Development

No branches or pull requests

2 participants