Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1
Chapter 24 ■ Optimizing game assets and COde, and game prOfiling Using netBeans

Next, let’s use a Run ➤ Project work process shown in Figure 24-26 to see whether the game board
looks the same after the random spin. As you can see, it looks pretty much exactly the same as it has
throughout the book when we were using true-color images. The next thing we need to do is to zoom in and
see how the 8-bit images hold up.


Figure 24-25. Add an /8bit path in front of the current image file name reference to point to your new indexed
imagery


Figure 24-26. Use a Run ➤ Project work process; spin the game board to see whether the new 8-bit color
images look the same

Free download pdf