JaVa
   

Summary

In this chapter we have not only looked at how to use the mouse and keyboard at a basic level but have attacked the integration of their respective events within the main loop thread. This chapter not only should have allowed you to understand how mouse and keyboard events are read and used but also should have pushed your understanding of threads and synchronization up a notch or two. Now that we know how to display graphics and handle real-time input, and more importantly know how to handle these features in a main loop thread, we can now create a game framework to base our games upon, which we will look into in , "Game Programming Techniques." For now, however, we will take a look at implementing sound in Java.

JaVa
   
Comments