Skip to content

mikebarkmin/bluej-processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Processing in BlueJ

Installation

Usage

  • Every Processing Sketch should extend BlueJPApplet

Examples

  • Download the examples folder

Cat

  • Additional Processing Libraries: Scratch

Corresponding Scratch Project

  • Open the cat example
  • Run the runSketch method of CatSketch
  • Inspect the CatSketch object and get the ScratchStage object
  • Construct a new CatSprite named cat
  • Call the addSprite method of the ScratchStage object with cat
  • Call the changeTint method of cat
  • Enjoy 😄

Cat Example

Halloween

  • Additional Processing Libraries: Scratch, Audio

Corresponding Scratch Project

  • Open the halloween example
  • Run the runSketch method of HalloweenSketch
  • Inspect the HalloweenSketch object and get the Ghost object
  • Call the setAnimationInterval method of the Ghost object with 50
  • Enjoy 🏃

Halloween Example

Jumpy

  • Additional Processing Libraries: Scratch

No corresponding Scratch project

  • Jump on top of the monsters.
  • How long can you survive?
  • Control with right and left arrow keys.
  • Restart with r.

Jumpy Example