Summary

Congratulations! By completing this chapter, you have made a big leap ahead in your game developer career.

You now know how to respond to user inputs, such as mouse clicks and motions, touch events, joysticks clicks and motions, and key presses. You have learned two different ways to identify the target spatial that the user has clicked. You know how to use the simpleUpdate() method to poll and update the game state, how to use controls to implement game logic in spatials, and how to use AppState objects to implement global game logic.

Since pushing cubes around gets old after a while, let's continue to the next chapter, where you will learn how to load scenes and character models!

Get jMonkeyEngine 3.0 Beginner's Guide 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.