Interactive games: Space invaders + Breakout

Two interactive games in one GUI


Updated 18 May 2007

View License

Gameplay 1.0

If you have Windows + MatLab (>6.0) + Webcam + Free time you are very lucky!

Yes, because you can play Space Invaders or Breakout interactively so? move your body!

You just need to download and unzip this file in one directory. The zip file is very large (>3MB) because of the songs (.wav) included.

- Start MatLab.
- Plug a WebCam.
- Run gameplay.m
- Go to the menu and press "Connect WebCam...", this starts the vcapg2.dll.
- The WebCam starts with a default resolution; it must be manually changed to 320x240 pressing the icon of "vcapg2" in the windows task bar.
- Select the game you want to play and... move your body !

Some short videos in our web:

Cite As

Jordi Palacin (2023). Interactive games: Space invaders + Breakout (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Video games in Help Center and MATLAB Answers

Inspired by: VCAPG2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes