Skip to content

Comment on Atari Asteroids: Creating a Vector Arcade Classicparent

Comments

Word War vi[1] is a little game I made long before the laser projector, and we were looking for things to do with the projector, so I converted word war vi to be able to use it.

You can look in the commits here to see how MAME is hooked to the projector. https://github.com/jv4779/openlase-mame/commits/master

I believe the jist of it is MAME already has to start with lines meant for a vector display and rasterize them one way or another for a modern computer. Before this happens, the data can sent to the openlase library[2] which generates signals on 5 channels of audio: 2 channels for control of X and Y galvos, and 3 channels for red, green, and blue laser power control. These signals then get sent to amplifiers and then to galvos and laser controls.

[1] http://smcameron.github.io/wordwarvi/ [2] https://github.com/marcan/openlase

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.