28.04.2019 Views

[JAVA][Beginning Java 8 Games Development]

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 16 ■ Collision Detection: Creating SVG Polygons for the Game Actors and Writing Code to Detect Collision<br />

Figure 16-11. Remove the floating point values, by rounding them up or down, to the nearest integer values<br />

Refining SVG Path Collision Shapes in GIMP: Using Import Path<br />

Let’s start over yet again, either by closing the previous project, and using the File ➤ Open to reopen the sprite1.png<br />

file, or by deleting the previous Selection Path in the Paths palette. As you can see in Figure 16-12, the Paths palette is<br />

empty, and we can right-click inside the empty area of the palette, and select the Import Path option, at the bottom.<br />

356<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!