Wednesday, 7 September 2022

New best story on Hacker News: Show HN: Quake 1 ported to the Apple Watch

Show HN: Quake 1 ported to the Apple Watch
544 by myownclone | 163 comments on Hacker News.
I ported Quake 1 to the Apple Watch, building on top of existing ports for iOS and Mac. Some features: * uses Quake SW renderer + blitting to WatchKit surface (~60 fps, 640x480, larger res can run on lower framerate, tested up until 1024x768) * touch + gyro + digital crown controls * new AVFoundation audio backend (quake to Watchkit audio buffer copy logic), as Watchkit does not support CoreAudio * high pass audio filter to remove clicking on Watch speaker for some of the low frequency quake .wav samples * some smaller modifications and code updates to glue Quake 1 c code to Objective C and Watchkit https://www.youtube.com/watch?v=cPC2o262TfQ