Game Development Reference
In-Depth Information
As you can see, we left the debug outlines enabled. You can easily disable them by
just flipping the
drawDebugOutlines
variable from
true
to
false
in the
Main
class
of the
desktop
project. Do not forget to set
rebuildAtlas
to
true
for at least one run
of the
desktop
project to refresh the texture atlas.
Sometimes, your changes to the texture atlas might appear to have
no effect at all. If this is the case, Eclipse might not have detected
a change to the texture atlas file and therefore did not rebuild the
project binaries. A second restart of the game does help from time to
time. Alternatively, you can always force Eclipse to rebuild the project
by navigating to the
Clean
option in the
Project
menu to clean the
project from all compiled files.
The resulting scene should now look similar to the following screenshot:
Great! We now have super cool graphics in our game. We can still do all the other
things we built earlier, such as moving the camera, selecting an object and moving it,
following an object, or zooming in and out.