100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Unit 6 - Group, step events & motion $7.67   Add to cart

Class notes

Unit 6 - Group, step events & motion

 15 views  0 purchase
  • Course
  • Institution

Course was done online during covid using CMU CS Academy with Vincent Massey Secondary School (VMSS)

Preview 1 out of 1  pages

  • September 15, 2024
  • 1
  • 2020/2021
  • Class notes
  • Ms. lauren omstead
  • Introduction to computer studies
  • Secondary school
  • 10th Grade
  • 2
avatar-seller
Unit 6 - Group, step events and motion:
Saturday, January 9, 2021 4:42 PM



Section 6.1 - Groups:
Subsection 6.1.1 - Groups:
Lesson 1 - Motivation:
A group is a collection of shapes that we treat as a single shape. To help
see why groups are useful, let's start with this example that draws a circled
star, and moves it as you move the mouse:




Run the code, move the mouse, and see that the circled star moves with it.
This code works, but it's not very convenient. We have to update the
center of the circle and the star separately, even though we think of the
circle and star as being part of a single shape (a circled star). This is a
great time to use a group. If we place the circle and the star in a group,
then we can treat them as a single shape.
Subsection 6.1.2 - Group properties:
Lesson 1 - Position properties:
First, let's review this example from the previous notes:




We see that when we change the centerX and centerY of the group, this
changes the positions of every shape in the group. This is true of all
the position properties of a group.

Lesson 2 - Non-position properties:

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller studystar9touni. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.67. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.67
  • (0)
  Add to cart