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-6. Use a text editor (like Notepad) and select “All Files” option and Open sprite1svgdata<br />

Once you select the “All Files” option, you will see the sprite1svgdata file, and you can double-click on it to open<br />

the file (or single click on it to select it, and then click on the Open button).<br />

If you want to use this data in your <strong>Java</strong> code, simply select the part after the d = (data equals) in quotation<br />

marks, including the quotation marks, which you will need to denote a String, as seen selected in blue in Figure 16-7.<br />

www.it-ebooks.info<br />

351

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

Saved successfully!

Ooh no, something went wrong!