Theorie: boek Greenfoot en slides

De scenario's die besproken worden in het boek en de slides kan je downloaden op https://www.greenfoot.org/book/.

Zoek informatie op in het boek, of op de slides die je hieronder vindt:

Inhoudstabel

Hieronder een gedetailleerd overzicht van de secties die in de slides aan bod komen.
  1. Getting to know Greenfoot
    1.1 Getting started
    1.2 Objects and classes
    1.3 Interacting with objects
    1.4 Return types
    1.5 Parameters
    1.6 Greenfoot execution
    1.8 Understanding the class diagram
    1.10 Source code
  2. The first program: Little Crab
    2.1 The Little Crab scenario
    2.2 Making the crab move
    2.3 Turning
    2.4 Dealing with screen edges
  3. Improving the Crab - more sophisticated programming
    3.1 Adding random behavior
    3.2 Adding worms
    3.3 Eating worms
    3.4 Creating new methods
    3.5 Adding a Lobster
    3.6 Keyboard control
    3.7 Ending the game
    3.8 Adding sound
  1. Finishing the crab game
    4.1 Adding objects automatically
    4.2 Creating new objects
    4.3 Variables
    4.4 Assignment
    4.5 Object variables
    4.6 Using variables
    4.7 Adding objects to the world
    4.8 Save The World
    4.9 Animating images
    4.10 Greenfoot images
    4.11 Instance variables (fields)
    4.12 Using actor constructors
    4.13 Alternating the images
    4.14 The if/else statement
    4.15 Counting worms

  2. Scoring
    5.1 WBC: The starting point
    5.2 WhiteCell: constrained movement
    5.3 Bacteria: making yourself disappear
    5.4 Bloodstream: creating new objects
    5.5 Side-scroll movement
    5.6 Adding viruses
    5.7 Collision: Removing bacteria
    5.8 Variable speed
    5.9 Red blood cells
    5.10 Adding borders
    5.11 Finally: Adding a score
    5.12 Scoring in the World
    5.13 Abstraction: Generalizing the scoring
    5.14 Adding game time