CAS Community   >   Resources   >  

Plotting Many Invaders! 2D Arrays and For loops

Sets pixels in a 2D array, plotting each as a coloured rectangle

Phil Gardner

Created by Phil Gardner
last edited Mar 08 2021 by Phil Gardner

Works best in classic Small Basic, rather than the online version.

(If you don’t have Small Basic installed on your computer, you can still open the file in any old text editor, then paste code into the online version.)

Small Basic online version here.

Downloaded 67 times.


This resource has attached files: to access these files, please tick the box below to assent to the license terms
License: The resources on CAS website are under Creative Commons Attribution-Share Alike 3.0 licence unless otherwise specified by the resource creators.

You must confirm that you have read and agree the licence's ToS before you can download the attachments of this resource.

I have read the licence agreement of this resource and agree to abide by its terms and conditions.

Feedback and Comments

Available when logged in (join via the front page, for free):
  • View 0 comments on this resource.
  • View resource history, links to related resources.
  • Leave feedback for the author(s), or help by editing the resource.

© 2021 BCS, The Chartered Institute for IT Registered charity: No. 292786
Using the websiteDisclaimer of liabilityCookies policyPrivacy notice