Appendix B. Astral Trespassers Complete

This appendix contains the complete Scratch scripts for all the sprites in the Astral Tresspassers game described in Chapter 5. The examples are complete in that chapter as well, but since Scratch is a visual programming language it may be helpful to see them all together in one place. The costume tabs for each sprite are also highlighted.

The sprite list and the five sprites.
Figure B-1. The sprite list and the five sprites.
The alien1 sprite’s costume tab (left) and complete script (right).
Figure B-2. The alien1 sprite’s costume tab (left) and complete script (right).
Figure B-3. The alien2 sprite’s costume tab ...

Get Getting Started with Raspberry Pi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.