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

Fixing screen rendering #122

Closed
Baekalfen opened this issue Apr 23, 2020 · 3 comments
Closed

Fixing screen rendering #122

Baekalfen opened this issue Apr 23, 2020 · 3 comments
Assignees

Comments

@Baekalfen
Copy link
Owner

As noted by Nico on Discord:

There seems to be a problem with sprite rendering. Sprites are not showing up in the game "Dragon Warrior Monsters". Think there was the same issue with a PPU test rom too

And from his screenshot of Wario:
unknown

There are also several issues in Pokemon Pinball. The ball is showing twice (it shouldn't, right?) and there seems to be a problem with vertical flip on some of the spinning elements in the game.
We'll need to improve on the rendering pipeline to better support all games.

@nicoeps
Copy link
Contributor

nicoeps commented Apr 27, 2020

Only noticed now that an issue was made for this. I think the Pokemon Pinball ball behavior (the ball showing twice) is normal, as it also happens on other emulators. It is hard to see if it happens on real hardware, but I suspect it is done on purpose to make the ball look smoother while moving. The sprite missing in Wario Land is most likely a sprite priority issue, where the missing sprite is being drawn over by a sprite with lower priority. In this example the sprites have the exact same coordinates, but the brick sprite appears first in OAM and should therefore have higher priority. Funny enough, the sprites in Dragon Warrior Monsters do appear in the sprite window in debug mode, but not in the actual game window. This could possibly have something to do with sprites being disabled/enabled mid frame, but I am not sure.

@krs013
Copy link
Collaborator

krs013 commented May 3, 2020

Yeah I think pokemon pinball implementation has some kind of artificial motion blur. Some emulators implement frame smoothing/averaging to make the output look more natural for games that use effects like that. I'm not sure if that's something that would be for pyboy to do, though.

@Baekalfen
Copy link
Owner Author

It sounds like these issues has been solved with the newest update to the LCD code

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

No branches or pull requests

3 participants