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, 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.
 Asteroids, Game,
This function was written by :
B.Sc. in physics 2010
M.Sc. in Complex physics systems 2012
NPL (National Physical Laboratory), London,
Héctor Corte (2021). Asteroids Matlab Version Game (https://www.mathworks.com/matlabcentral/fileexchange/50966-asteroids-matlab-version-game), MATLAB Central File Exchange. Retrieved .
Inspired by: Dave's MATLAB Pong
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!