Coding Gameplay: Set Up Gameplay Methods and Animated Camera View
Wallace Jackson · Apress eBooks · 2017
So far you have your gameplay random quadrant selection logic coded, and you are tracking the quadrant landing for each spin. Now we need to put the bulk of the Java code into place that populates these four quadrants with the game board square random content selection for each of the five squares that are attached to any given quadrant. We also need to create the code that allows a player to select one of the topic questions by clicking an image. This will populate the quadrant with images and move the camera into position so the selected image is larger (more viewable). This means we’ll also be covering the use of Animation objects, in conjunction with your Camera object, during this chapter.