Writing Pytch programs¶
Contents:
- Sprites
- Creating Sprites
- Saying how a sprite should behave
- Controlling how scripts run
- Controlling how a sprite looks
- Moving a Sprite
- Finding a Sprite’s position
- Turning a Sprite
- Making sounds
- Sensing
- Making and deleting copies of a Sprite
- Checking for sprites colliding
- Showing and hiding speech bubbles
- Showing and hiding a sprite’s variables
- Asking the user a question
- Sensing the mouse’s position and button
- The stage
- Scratch blocks → Pytch functions and methods
- Functions in the pytch module
- Scratch hat blocks → Pytch decorators
- Defining costumes
- Defining backdrops
- Defining sounds
- Running many scripts at once