

The author and publisher shall not be liable in any event for incidental or consequential damages in connection with, or arising out of, the furnishing, performance, or use of these programs. The author and publisher make no warranty of any kind, expressed or implied, with regard to these programs or the documentation contained in this book. These efforts include the development, research, and testing of the theories and programs to determine their effectiveness. The author and publisher of this book have used their best efforts in preparing this book. To obtain permission(s) to use materials from this work, please submit a written request to Pearson Higher Education, Permissions Department, 1 Lake Street, Upper Saddle River, NJ 07458.

This publication is protected by Copyright and permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. Manufactured in the United States of America. Horton Editor in Chief, CS: Michael Hirsch Executive Editor: Tracy Dunkelberger Assistant Editor: Melinda Haggerty Editorial Assistant: Allison Michael Director of Team-Based Project Management: Vince O’Brien Senior Managing Editor: Scott Disanno Production Liaison: Irwin Zucker Production Editor: Shiny Rajesh, Integra Senior Operations Specialist: Alan Fischer Operation Specialist: Lisa McDowell Marketing Manager: Erin Davis Marketing Coordinator: Kathryn Ferranti Art Director: Jayne Conte Cover Designer: Bruce Kenselaar Art Editor: Greg Dulles Media Editor: Daniel Sandin Composition/Full-Service Project Management: IntegraĬopyright © 2010 by Pearson Higher Education. Vice President and Editorial Director, ECS: Marcia J. Introduction to Programming with Greenfoot Object-Oriented Programming in Java™ with Games and Simulations Michael Kölling
#Greenfoot greeps software
Introduction to Programming with GreenfootĬompanion Website Additional material and resources for this book can be found at For students: G The Greenfoot software G The scenarios discussed in this book G The Greenfoot Gallery-a scenario showcase G Tutorial videos G A discussion forum G Technical support For teachers: G A teacher discussion forum G Additional exercises related to the book G The “Green Room” containing worksheets and other teaching resources I2.2 Programming your Greeps.Ĩ.3 Sound recording and editing.Ĩ.4 Sound file formats and file sizes.Ĩ.6 Image files and file formats.Ĩ.8 Combining images files and dynamic drawing. I1.4 Publishing on the Greenfoot Gallery.Ĭhapter 5 Making music: An on-screen piano.ĥ.3 Abstraction: Creating multiple keys.ĥ.5 Using loops: The while loop.ĥ.7 Summary of programming techniques.Ĭhapter 6 Interacting objects: Newton’s Lab.Ħ.1 The starting point: Newton’s Lab.Ħ.2 Helper classes: SmoothMover and Vector.Ħ.3 The existing Body class.Ħ.4 First extension: Creating movement.Ħ.5 Using Java library classes.Ħ.6 Adding gravitational force.Ħ.12 Summary of programming techniques.Ĭhapter 7 Collision detection: Asteroids.ħ.1 Investigation: What is there?.ħ.5 Colliding with asteroids.ħ.9 Interacting with objects in range.ħ.11 Summary of programming techniques. List of scenarios discussed in this book.ġ.3 Interacting with objects.ġ.8 Understanding the class diagram.Ģ.1 The Little Crab scenario.Ģ.4 Dealing with screen edges.Ģ.5 Summary of programming techniques.ģ.9 Summary of programming techniques.Ĥ.1 Adding objects automatically.Ĥ.5 Instance variables (fields).Ĥ.7 Using actor constructors.Ĥ.12 Summary of programming techniques.
