Week 3

Object-Oriented Programming, and “Abstract” Button & Button States: Triggered, Pressed and Released

Link to the Slides

Class Overview

Lecture 1

  • Assignment Review
  • Object-Oriented Programming
  • Variable – Array – Struct – Class
  • Review of Object-Oriented Programming
  • Array vs. ArrayList
  • In-class Exercise: Creating a drawing tool using particles (Objects and Arrays)

Lecture 2

  • Methods of creating button states (triggered, pressed and released)
  • Acceleration (Swipe gesture, ADSR concept?)
  • In-class Exercise: Creating button states (triggered, pressed and released) with mouse interaction and triggering sounds
  • Advanced OOP

Readings

  • Reading: Learning Processing – Chapter 7 Functions
  • Reading: Learning Processing – Chapter 8 Objects
  • Reading: Learning Processing – Chapter 9 Arrays
  • Reading: Learning Processing – Chapter 22 Advanced Object-Oriented Programming
  • Reading: Learning Processing – Chapter 5 Conditionals
  • Reading: Learning Processing – Chapter 20 Sound

Assignment

  • Create a simple game with interesting interaction utilizing Objects and “abstract” buttons & button states.
    • Using ArrayLists, adjust the number of particles depending on the varying states, such as lifespan and total number of particles, to avoid dropping of the frame rate.
    • You don’t need to have standard gaming features, such as opening page, scoring system and win&lose. Just focus on the interaction itself.
    • If you want to challenge yourself, add interactions that use mouse acceleration or gestures
    • Please feel free to reach out to the instructor if you struggle with coming up with ideas.
  • The exercise should be uploaded to Kinetic Interfaces google drive folder by midnight every Saturday so that the instructor has enough time to review your work. You should upload not only your source code, but also all of your media assets, such as image, sound and video, so that the instructor is able to execute the program.
  • Additionally, your work process should be documented on the documentation blog. Your documentation needs to include sufficient amount of screenshots and video captures along with descriptions.

Examples


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Spring 2018

 

“Abstract” Button & Button States: Triggered, Pressed and Released

Class Overview

Lecture 1

  • Assignment review
  • Methods of creating an “abstract” button with programming

Lecture 2

  • Methods of creating button states (triggered, pressed and released)
  • Acceleration (Swipe gesture, ADSR concept?)
  • In-class Exercise: Creating button states (triggered, pressed and released) with mouse interaction and triggering sounds
  • Advanced OOP

Readings

  • Reading: Learning Processing – Chapter 5 Conditionals
  • Reading: Learning Processing – Chapter 20 Sound

Assignment

  • Create a simple game with interesting interaction utilizing “abstract” buttons & button states.
    • You don’t need to have standard gaming features, such as opening page, scoring system and win&lose. Just focus on the interaction itself.
    • If you want to challenge yourself, add interactions that use mouse acceleration or gestures
    • Please feel free to reach out to the instructor if you struggle with coming up with ideas.
  • The exercise should be uploaded to Kinetic Interfaces google drive folder by midnight every Saturday so that the instructor has enough time to review your work. You should upload not only your source code, but also all of your media assets, such as image, sound and video, so that the instructor is able to execute the program.
  • Additionally, your work process should be documented on the documentation blog. Your documentation needs to include sufficient amount of screenshots and video captures along with descriptions.

Examples