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


Make sure to set your Layers drop-down selector to All layers to include the transparent areas
generated in the layer. If you forget to do this, simply right-click the new 512-pixel layer and use the Layer to
Image Size option. Make sure to do this before you use Select ➤ All and Edit ➤ Copy so you select both the
transparency and the imagery.
The next step is to click the quadrant texture composition tab, as shown in Figure 18-6, and then select
the bottom-most (animal) layer so that when you paste the centered parrot square image, it is above the
base texture for the quadrant and underneath the steel hoop decoration. We will be using this steel hoop
image and its transparency to cut the corners off of the parrot image so that it is seamlessly integrated with
the steel hoop image.


Figure 18-5. Use the Set Image Canvas Size dialog to resize the canvas to 512 pixels

Free download pdf