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

Fix CRT ratio #3

Open
oschemid opened this issue Aug 14, 2022 · 0 comments
Open

Fix CRT ratio #3

oschemid opened this issue Aug 14, 2022 · 0 comments

Comments

@oschemid
Copy link
Owner

The electron beam is turned on for a period of time as it sweeps horizontally from left to right, illuminating parts of a scanline, before it’s turned off again.

Usually, this means that one CRT “pixel” is slightly wider than it’s tall. The height is one scanline, which can be translated into one pixel, but the width can be more than that.
That’s the case for Space Invaders. Because its resolution of 256 x 224 isn’t quite 4:3 like the monitor, the image gets stretched vertically as each pixel occupies a little more of the horizontal scanline.
Note that since the CRT monitor in Space Invaders is rotated, one pixel is in fact slightly taller than wide instead, after rotation. This means that the iconic crab-like space invader looks too squat and flat in many emulators, for example. The enemies should look more or less square.

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

No branches or pull requests

1 participant