GithubHelp home page GithubHelp logo

arcadeemulator's People

Contributors

oschemid avatar

Stargazers

 avatar

Watchers

 avatar

arcadeemulator's Issues

Fix CRT ratio

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.

Add scanlines effect

Since Space Invaders uses an old CRT monitor, the scanlines are actually visible. Because of the phosphorescent glow, they’re not easily discernible, but the gel overlay mutes the bloom on the colored areas, making them stand out more there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.