Asteroids Matlab Version Game

版本 1.0.0.0 (15.2 KB) 作者: Héctor Corte
Asteroids game written to work in a Matlab figure. Example of KeyPressFcn WindowButtonMotionFcn.
961.0 次下载
更新时间 2015/5/24

查看许可证

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.

References:
[1] Asteroids, Game,
http://en.wikipedia.org/wiki/Asteroids_%28video_game%29

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.
Email: leo_corte@yahoo.es

引用格式

Héctor Corte (2025). Asteroids Matlab Version Game (https://www.mathworks.com/matlabcentral/fileexchange/50966-asteroids-matlab-version-game), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Video games 的更多信息
致谢

参考作品: Dave's MATLAB Pong

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0