Edge Sprites, Bounce Off, and Frames in Game Lab on Code.org

Опубликовано: 16 Декабрь 2021
на канале: Computer Science and Coding
6,132
23

Here are demonstrations on how to use createEdgeSprites to create a top edge, bottom edge, left edge, and right edge, and example code for how to use those edge sprites to make a sprite bounce around the screen. Also included how to add multiple frames and control when they are displayed and changed. Game Lab is part of Computer Science Discoveries (CSD) on code.org