Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1
Chapter 18 ■ 3D Gameplay DesiGn: CreatinG your Game Content usinG Gimp anD Java

The next step is to select your Clipboard layer, which contains your parrot image, so that it is affected
by the selection, which we “culled” from the Steel Hoop layer (inner) transparency. Then select the Select ➤
Invert menu sequence. This will “keep” what is inside of the circle and delete what is outside of your circle
selection (once you tap the Delete key on the keyboard, that is). This will remove the corners of the image
that were sticking out in Figure 18-7.
As you can see in Figure 18-8, the end result of this work process is a completely smooth image
composite, with the rounded parrot image inside of (and behind) the steel hoop decoration. Also shown
in Figure 18-8 is the final step in making your perfect game board quadrant texture map, which is rotating
the content 45 degrees so that when your 3D game board is spun onto its point, the image is correctly
positioned, relative to the viewing player.


Figure 18-7. Use the Grow Selection dialog and expand the selection area by 4 pixels beyond the interior

Free download pdf