This guide is broken up into Tutorials and a Template. The Template contains files that are used to create run an application more easily. The Tutorials folder is split into different parts. To navigate to different parts, navigate through the different folders and read each README for instructions. Each subfolder contains example programs that you can compile yourself and modify as you choose. You can download the entire repository for ease of use and offline learning. Alternatively (and more easily), you can use the table of contents below.
Template:
Download the repository and then transfer the files from the template folder into your own project folder. If you are having trouble, it may because the IDE you are using may require certain files for projects to work correctly. For example, in BlueJ, you must first create packages in the GUI and then transfer in your files.
Tutorials:
-Part 1: Summary of Main
, GamePanel
, and Game
-Part 2: Creating the Game
Class
-Part 3: Using the draw
Method
-Part 4: Using the update
Method
-Part 5: Shapes and Colors
-Part 6: Creating Text
-Part 7: Drawing Images
-Part 8: Image Transformations
-Part 9: Sound
-Part 10: Keyboard Input
-Part 11: Mouse Input
Example programs:
UPDATE SOUND TUTORIAL.
ADD EXAMPLE FILE FOR 1.8 (ROTATIONS), 1.9 (SOUND), and 1.11 (MOUSE).
EXAMPLE PROGRAMS