Screentendo Turns Your Desktop Into a Playable Mario Level
Ashley Allen / 1 year ago
A London-based software developer has released an application that turns your desktop into a playable level of NES classic Super Mario Bros. Aaron Randall used Cocoa and Sprite Kit to create Screentendo, a free app that turns whatever is on your computer screen into a playground for Mario.
In the â€śHow does it work?â€ť section of Randallâ€™s blog, he explains, “When Screentendo is launched, a semi-transparent window appears whichÂ can be moved and resized over other application windows. After placing the Screentendo window over an area of the screen, clicking inside the windowÂ willÂ cause the app to render a game level based on the content beneath it.â€ť
Screentendo is designed to be a bit of fun or, as Randall describes it, â€śa proof-of-concept hack.â€ť He admits that, as such, it â€śhas a few shortcomings.Â Image processing is currently really (really) slow â€“ sub-blocking the image takes a long time (each sub-block is an NSImage, which is a pretty inefficient way of solving thisÂ problem, but quick to implement).â€ť
â€śThe current implementation also requires a reasonablyÂ distinct contrast in the underlying image for the block detectionÂ to work. Finally, the physics is a little screwy â€“ I didnâ€™t set out to write a Super Mario Bros emulator, just something that would work â€śwell enoughâ€ť â€“ and as such, there are some issues withÂ ghost verticesÂ (particularly with vertical walls) that I didnâ€™t get round to resolving.â€ť
Still, if youâ€™ve got important work to do and need even more distractions with which to procrastinate, Screentendo is worth a play, and is available for download via GitHub.