Lemmings and Pac-Man Shown Off on MacBook Pro’s Touch Bar – mytutorials.xyz
Since the MacBook Pro with Touch Bar was released, developers have been finding increasingly clever, if impractical, things to do with the tiny LCD screen built into the MacBook Pro’s keyboard.
Pac-Bar, a version of Namco’s popular Pac-Man game, was designed for the MacBook Pro’s Touch Bar by 15-year-old developer Henry Franks. The game, written in Swift and available on Github, features Pac-Man gameplay on a horizontal line using the arrow keys for controls. Mashable‘s Raymond Wong has a video of Pac-Bar in action:
Over the weekend, Developer Erik Olsson wrote a Lemmings game for the MacBook Pro’s Touch Bar, which can be seen running in a video he posted on Twitter.
Lemmings for Touch Bar, based on 1991 puzzle-platform game Lemmings, features lemmings walking back and forth on the display and reacting to touch. Olsson shared the source code for Lemmings on Github.
Apple does not approve of games running on the MacBook Pro’s Touch Bar, based on its strict Developer Guidelines. According to Apple, the Touch Bar should be used as an extension of the keyboard and trackpad, delivering contextual controls for apps, instead of as a display.