28.04.2019 Views

[JAVA][Beginning Java 8 Games Development]

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2 ■ Setting Up Your <strong>Java</strong> 8 IDE: An Introduction to NetBeans 8.0<br />

The NetBeans Profiler is something that you learn how to use over time, first through experimentation and then,<br />

as you become familiar with what Profiler can do, by using it with your own projects as they become increasingly<br />

complex and observing what your code base does regarding threads, CPU usage, and memory allocation and usage.<br />

NetBeans Profiler is a powerful and useful tool of this that is going to serve as the code development foundation for<br />

your <strong>Java</strong> 8 game development. I included it in this chapter to give you a solid overview, as this knowledge base will<br />

help you leverage the software, using it to its fullest potential and capabilities.<br />

Clearly, this is an advanced IDE and software development tool that cannot be covered in one short chapter<br />

(maybe in a book; however, this is not a NetBeans 8.0 games development title), so you will be learning more about<br />

what NetBeans 8.0 can do for you in just about all the chapters in this book, as NetBeans 8.0 and <strong>Java</strong> 8 (and <strong>Java</strong>FX 8)<br />

are inexorably intertwined.<br />

Summary<br />

In this second chapter, you learned about NetBeans IDE 8.0, which will serve as the foundation and primary tool for<br />

your <strong>Java</strong> 8 game development work process. This IDE is where your <strong>Java</strong> 8 (and <strong>Java</strong>FX 8) code is written, compiled,<br />

run, tested, and debugged as well as where your new media (image, audio, video, 3D, font, shape, and so on) assets<br />

are stored and referenced, using your NetBeansProject folder and its subfolders.<br />

You started by taking a look at NetBeans 8.0 and the high-level features that make it the official IDE for <strong>Java</strong> 8<br />

and that help programmers develop code quickly, efficiently, and effectively (i.e., make code that is bug free) the first<br />

time. After this overview, you created your <strong>Java</strong> 8 game project, using as a model a real-world game project that I am<br />

working on for a major client.<br />

You went through the New <strong>Java</strong> Application series of dialogs and created a <strong>Java</strong>FX framework for your game,<br />

which will allow you to use new media assets, such as images, audio, video, and 3D. Then, you explored how to<br />

compile and run an application, using NetBeans 8.0. You also studied the Output tab and how that is used for<br />

compiler output, runtime output, and profiling output, which you considered next.<br />

You examined both CPU profiling and memory profiling in NetBeans 8.0; learned how to set up and start up the<br />

Profile Project tool; and studied some of the output, statistics, and visual reports that the NetBeans Profiler can create<br />

for you, based on your <strong>Java</strong> 8 game project.<br />

In the next chapter, I will present an overview of the <strong>Java</strong> 8 programming language to make sure that you are up to<br />

speed on how <strong>Java</strong> 8 works; a <strong>Java</strong> primer chapter, if you will.<br />

www.it-ebooks.info<br />

41

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

Saved successfully!

Ooh no, something went wrong!