In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite.

Similar documents
Lesson 3 Creating and Using Graphics

Lost in Space. Introduction. Step 1: Animating a spaceship. Activity Checklist. You are going to learn how to program your own animation!

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist.

Using Microsoft Journal

ONE HOUR ANIMATION. Will you be a Scratcher upon completion of this session? Definitely. Learn how to write a basic script to animate a sprite.

Add in a new balloon sprite, and a suitable stage backdrop.

M O T I O N A N D D R A W I N G

Basic Tools. Chapter 1. Getting started

Meet the Cast. The Cosmic Defenders: Gobo, Fabu, and Pele The Cosmic Defenders are transdimensional

Create a unit using United Streaming and PowerPoint. Materials: Microsoft PowerPoint, Internet access, United Streaming account

AN INTRODUCTION TO SCRATCH (2) PROGRAMMING

Photoshop Fundamentals

Shape and Line Tools. tip: Some drawing techniques are so much easier if you use a pressuresensitive

GETTING AROUND STAGE:

ILLUSTRATOR. Introduction to Adobe Illustrator. You will;

Bold, Italic and Underline formatting.

The Fundamentals. Document Basics

Using Microsoft Word. Text Editing

Making a maze with Scratch

Step 1: Create A New Photoshop Document

ICS 61 Game Systems and Design Introduction to Scratch

Lineup. Introduction. What you will need. Import your costumes. What you will make. What you will learn. Hardware. Software

Paint/Draw Tools. Foreground color. Free-form select. Select. Eraser/Color Eraser. Fill Color. Color Picker. Magnify. Pencil. Brush.

Interactive Tourist Map

Part 1: Basics. Page Sorter:

This document should only be used with the Apple Macintosh version of Splosh.

Vision Pointer Tools

CHAPTER 1 COPYRIGHTED MATERIAL. Getting to Know AutoCAD. Opening a new drawing. Getting familiar with the AutoCAD and AutoCAD LT Graphics windows

Tricking it Out: Tricks to personalize and customize your graphs.

A QUICK TOUR OF ADOBE ILLUSTRATOR CC (2018 RELEASE)

Interactive Tourist Map

ADD AND NAME WORKSHEETS

9 Using Appearance Attributes, Styles, and Effects

Window Designer. Opening Screen: When you start Window Designer, you will see the Opening Screen. Here you will be choosing from 4 options:

Drawing shapes and lines

Using Masks for Illustration Effects

Creating Screen Shots and Using Textboxes to Add Information and De-Identify Data for Patient-Centered Medical Home (PCMH) Documentation

To get a copy of this image you right click on the image with your mouse and you will get a menu. Scroll down the menu and select "Save Image As".

This guide will help you with many of the basics of operation for your Epson 485wi BrightLink Projector with interactive functionality.

HOW TO. In this section, you will find. miscellaneous handouts that explain. HOW TO do various things.

HYPERSTUDIO TOOLS. THE GRAPHIC TOOL Use this tool to select graphics to edit. SPRAY PAINT CAN Scatter lots of tiny dots with this tool.

THE PAINT WINDOW. At the very top is the Title Bar, just as in all programs, below it is a very simple Menu Bar and below that is the Ribbon.

S3 Scratch Programming

Mailman Max. The postcode is a great way to work out the next sorting office a letter should go to, so you ll use that.

ANIMATION FOR EDUCATORS. Professional Development Salary Point Class Presented by Jonathan Mazur, NBCT

2. Click on the Freeform Pen Tool. It looks like the image to the right. If it s not showing, right click on that square and choose it from the list.

6D Embroidery Software - Pretty Paisleys

ADOBE PHOTOSHOP Using Masks for Illustration Effects

Scratch Lesson 2: Movies Made From Scratch Lesson Framework

Using Flash Animation Basics

EDITING AND COMBINING SHAPES AND PATHS

Adobe photoshop Using Masks for Illustration Effects

Using Microsoft Word. Tables

Pen Tool, Fill Layers, Color Range, Levels Adjustments, Magic Wand tool, and shadowing techniques

How to...create a Video VBOX Gauge in Inkscape. So you want to create your own gauge? How about a transparent background for those text elements?

What are different approaches of Computer Art? How can computation create art? 9/17/12. Human uses computer to modify digital images

Inspire Ten Minute Task #1

Using the SMARTBoard to Differentiate Instruction

How to Make Your RooFolio

Center for Faculty Development and Support Creating Powerful and Accessible Presentation

Excel 2013 for Beginners

Adobe Illustrator CS5 Part 2: Vector Graphic Effects

Creating a Histogram Creating a Histogram

SCRATCH MODULE 3: NUMBER CONVERSIONS

How to lower a car in Paint.NET (PDN) -Tools you will be using:

Teach Yourself Microsoft PowerPoint Topic 4: Slide Master, Comments and Save Options

SMART Board Notebook Software, Version 10

Introduction to Scratch Programming v1.4 (Second Ed) Lesson 6 Calculator

Photoshop / Editing paths

Chapter 1. Getting to Know Illustrator

INTRODUCTION TO COMPUTER CONCEPTS CSIT 100 LAB: MICROSOFT POWERPOINT (Part 2)

Dice in Google SketchUp

SCRATCH. Introduction to creative computing with Scratch 2.0

SCRATCH PROGRAMMING. Lesson 8: Stories to Animations Part I

Permission to copy The CAD Academy

Instructions for Crossword Assignment CS130

MatDeck tips. Basic. :=- assignment of variable values; assign value to variable a with code a := value

We created a few different effects and animations using this technique as applied to clones.

The American University in Cairo. Academic Computing Services. Excel prepared by. Maha Amer

Revision of Level I. In this lesson you will: Revise the topics learnt in the previous level.

Digital Mapping with OziExplorer / ozitarget

EASY INTERACTIVE WHITEBOARD

Fish Tank. Miles Bies. Grade 8 Squeak 3.2.8b5 classic. Wednesday December 18, 2002 Time for completion: 30 minutes to 1 hour.

SMART Board Interactive Whiteboard Basics

OCAD 6 for Schools. A basic help guide. Free download wnloads/freeware

Creating Vector Shapes Week 2 Assignment 1. Illustrator Defaults

Introduction To Inkscape Creating Custom Graphics For Websites, Displays & Lessons

1. Right-click the worksheet tab you want to rename. The worksheet menu appears. 2. Select Rename.

Where Did I Save That File?

Polygons and Angles: Student Guide

ORGANIZING YOUR ARTWORK WITH LAYERS

FlexMLS Maps Quick Reference Guide

Adobe illustrator Introduction

Using Microsoft Excel

Join a Skype for Business meeting from an SLT video conferencing room

On the Web sun.com/aboutsun/comm_invest STAROFFICE 8 DRAW

THE CREATIVE SWEETS. Welcome to PHOTOSHOPTOPOLIS. Criag Naylor Instructor cnaylor

ITEC185. Introduction to Digital Media

Graphic Design & Digital Photography. Photoshop Basics: Working With Selection.

Transcription:

Drawing Program In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite. 2. Create a new sprite. 3. The new sprite will be a tiny dot. All it needs to do is mark the position of the mouse pointer so we don t really want it to be very visible. 4. Call the new sprite Pointer 5. Add the following script blocks. This will start by clearing all drawing from the stage when the flag button is clicked. It will then use the forever loop to continually check to see if the mouse button is being pressed. If the mouse button is being pressed, the sprite will move to the mouse pointer and put the pen down (start drawing). If the mouse button is not down, the pen will be up (stop drawing). 6. Test the program so far by drawing something on the stage. Next we will add keyboard controls to the program. 7. Add the following script block. This will clear the stage whenever the D Key is pressed.

Brush Changes 1. Add the following script blocks. These blocks will allow the user to change the brush size by pressing the up and down arrows. Next we ll add some icons that the user can click on to change brush size and brush colours. 2. Create a new sprite that looks like a small red square (the size of a convenient icon the use can click to change colour.) Rename the sprite as Red. 3. Position the sprite/icon in the top corner of the stage. 4. Add the following script blocks to the red sprite. This will send out a message that the red icon has been clicked.

5. Select the Pointer sprite and add the following script blocks. This will change the point/pen colour to red when it received the message that the red icon has been clicked. Tip: You can easily set the red colour by clicking the square in the block, and then clicking on the red sprite you created to pick up its colour. 6. Repeat steps 8 to 11 to create a black icon that will change the pen colour to black when it is clicked. 7. Position it near the red icon (you can rearrange them in whatever order suits you). Try to make the new sprite the same size and shape as your first one. In the Black Sprite In the Pointer Sprite Tip: when you are drawing a sprite, you can use the grid to help you make it the right size. The zoom options can also help when drawing. 8. Test your black and red icons now and try drawing with both colours. We can add some more colour icons later, but for now we ll add some icons for setting brush size. We will create icons for 3 brush sizes. We ll start with an icon for a small brush size. 9. Create a new sprite in the shape of a small circle 9for your small brush size).

10. Name the new sprite Small and position it in the bottom right corner of the stage (leave room next to it for the medium and large brush size icons). Add the following script blocks. In the Small sprite In the Pointer sprite 11. Create a new sprite in the shape of a circle. Make it larger than the previous one *this will be for your medium brush size). 12. Name the new sprite Medium and position it next to the Small Icon. 13. Add the following script blocks. In the Medium sprite In the Pointer Sprite 14. Create a new sprite in the shape of a circle. Make it larger than the previous two (this will be for your large brush size). 15. Name the new sprite Large and position it next to the Small and Medium icons.

16. Add the following script blocks. In the Large sprite In the Pointer sprite 17. Test the program. Click on each icon to test drawing with the different brush sizes. Assignment: Additional Things to Try You may notice that when you click on one of your icons, the pointer draws also. This means you might get a bit of drawing appearing around the icon as you click. You could fix that by editing your sprite so that it has some white around it like the example to the right. That also makes it easier for the user to click on the smaller icons as clicking the white part around them will work also. Add four additional colour icons and two additional size icons. Below is an example of how the stage might look with additional colours icons. Add a clear button that will allow the user to clear the stage by pressing the button. Note: you can rearrange sprites in the sprite list by drawing them. When you have a lot of sprites it can help to keep similar ones together, such as making sure the brush size ones are all next to eachother.