Code covered by the BSD License  

Highlights from
Stellaria (Tech Demo) - The best MATLAB shooting game ever

image thumbnail

Stellaria (Tech Demo) - The best MATLAB shooting game ever

by

 

14 May 2011 (Updated )

If you think you have played the best MATLAB game before. Think again after you try this one.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

stl_KeyCheck(varargin)
function stl_KeyCheck(varargin)

global SpaceKeyPressed;

key = get(gcbf,'CurrentKey');

if strcmp(key, 'space') & SpaceKeyPressed
    SpaceKeyPressed = 1;
else
    SpaceKeyPressed = 0;
end
% disp(key);

Contact us