Asteroids Matlab Version Game

Asteroids game written to work in a Matlab figure. Example of KeyPressFcn WindowButtonMotionFcn.
931 téléchargements
Mise à jour 24 mai 2015

Afficher la licence

Version 0.1 (beta, so please, give feedback).
This is a game and also an example of how to read/use keypress functionality from figures.
This is a tribute to Asteroids[1], without any lucrative pourpouse.
The game opens a figure with the spaceship that must destroy the asteroids avoiding being hit.

Use the mouse to point where the spaceship is facing, spacebar to start the engine, mouse click to shoot, and Q for exit.

[1] Asteroids, Game,

This function was written by :
Héctor Corte
B.Sc. in physics 2010
M.Sc. in Complex physics systems 2012
NPL (National Physical Laboratory), London,
United kingdom.

Citation pour cette source

Héctor Corte (2024). Asteroids Matlab Version Game (, MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2014b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
En savoir plus sur Video games dans Help Center et MATLAB Answers

Inspiré par : Dave's MATLAB Pong

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version