Chapter 8. Creating images and sound
topics: | creating sounds, creating images, dynamic image changes, handling mouse input |
concepts: | sound formats, sound quality parameters, image file formats, RGBA color model, transparency |
Many of the scenarios we have encountered previously were interesting not only because of the program code that defined their behavior, but also because they made effective use of sound and images. So far, we have not discussed the production of these media files much, and have mostly relied on existing pictures and sounds.
In this chapter, we shall discuss some aspects of creating and managing these media files. We first discuss some background about sound in computer programs, followed by various techniques to create and handle ...
Get Introduction to Programming with Greenfoot: Object–Oriented Programming in Java™ with Games and Simulations, First Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.