Intro to Coding Lesson 2 with Sprite Lab (code.org)
Take your coding skills to the next level with Sprite Lab on Code.org! In Lesson 2, we dive deeper into coding foundations — importing costumes, working with variables and events, using conditionals (IF blocks), creating functions, and more. This lesson builds on what you learned in Lesson 1 and includes a hands-on challenge project to put your new skills to the test. **What You'll Learn:** - Import costumes from the Costume Library - Assign numbers to variables - Working with multiple events - Change a variable value with events - Testing your logic with the print block - Appending and concatenation - What are conditionals? IF Blocks - Location Jump To Block - Functions **Timestamps:** 00:00 Overview 00:43 Rename Project 01:00 Build Starting Scene 01:15 Import Costumes 01:43 Add Sprites to Workspace 02:08 Resize Sprites 02:43 Import Backgrounds 03:22 Create Variable: bg_count 03:56 Initialize "bg_count" variable 04:20 Add Print Block for Testing 05:00 Add Event - When Sprite Clicked 05:42 Add Change Variable by 1 Block 06:30 Test Event Blocks 07:06 Logical IF Blocks 08:51 Add a Function 09:52 Clean Up Logical IF Blocks 10:54 Challenge Project Start 11:48 Import Costumes 12:07 Import Backgrounds 12:24 Build First Scene 12:45 Create Variable "bg_count" and Initialize 13:06 Add Sprites to Stage / Canvas 13:57 Sprite says: Hello, world! Block 14:39 Create Function: Scenes 15:13 Add Code Blocks to Function 16:45 Modify Block - Sprite jump to Random Location 17:10 Position Sprite Character in Logic Blocks 19:10 Add Event Blocks 20:47 Add Text to Each Logic Block #FundedYouth #SpriteLab #CodeOrg #CodingFoundations #LearnToCode #CodingForBeginners #BlockCoding #IntroToCoding #ComputerScience #STEM
Download
0 formatsNo download links available.