Interactive games: Space invaders + Breakout
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.
Instructions:
- 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:
English: http://robotica.udl.es/matlab/gameplay/game_en.html
Spanish: http://robotica.udl.es/matlab/gameplay/game_cas.html
Cite As
Jordi Palacin (2022). Interactive games: Space invaders + Breakout (https://www.mathworks.com/matlabcentral/fileexchange/15028-interactive-games-space-invaders-breakout), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Gaming > Video games >
Tags
Acknowledgements
Inspired by: VCAPG2
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.