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 web site I use for royalty-free images for commercial use (such as this educational game and book)
is Pexels.com. Go to http://www.pexels.com, and if you don’t see a parrot on the home page, enter parrot in the
search bar. Download a parrot image, as shown in Figure 18-2; then right-click the downloaded image (in its
own tab in the browser) and select Copy Image. Go into GIMP and use the File ➤ Create ➤ From Clipboard
menu sequence to paste the digital image data into its own composition file (and into, and under, a new tab,
on the top right) in GIMP.


We need a square area of this image to use with both the game board square texture and the round
portion of the game board quadrant texture. This will be created using the Rectangle Select tool shown in
Figure 18-3 set to a 2160x2160 square area, which will be resized 500 percent to fit a 432x432 circular area
inside the game board quadrant.
Position your square selection to optimize the recognizable portion of your content, as shown in
Figure 18-3.


Figure 18-2. Use File ➤ Create ➤ From Clipboard to paste content copied from the Pexels.com download in
GIMP for editing

Free download pdf