Java Game Programming |
|
Author:
| Thanh, Neos |
ISBN: | 979-8-4627-1188-6 |
Publication Date: | Aug 2021 |
Publisher: | Independently Published
|
Book Format: | Paperback |
List Price: | USD $24.99 |
Book Description:
|
This book brings for you all of the knowledge you need to start game programming from the beginning by JAVA language. Just 4 LESSONS, you can analyze easily a game include: - actor, action, game scenarios - resources(image, sound, animation...). - handle thread and data synchronization There are many examples & case studies for the practice of programming. Let's enjoy it! ----------------------------------------------------------------------- A...
More DescriptionThis book brings for you all of the knowledge you need to start game programming from the beginning by JAVA language.
Just 4 LESSONS, you can analyze easily a game include:
- actor, action, game scenarios
- resources(image, sound, animation...).
- handle thread and data synchronization There are many examples & case studies for the practice of programming.
Let's enjoy it!
-----------------------------------------------------------------------
A little in this book:
LESSON 1: Introduction - The World Of Bouncing Balls
1. Getting Started with One Bouncing Ball
2. Bouncing Ball in Object-Oriented Design
3. Collision Detection and Response
4. Timing Control
5. Control Panel
6. Many Balls of Different Sizes
LESSON 2: Java Game Programming. 2D Graphics, Java2D and Images
1. Revisit java.awt.Graphics for Custom Drawing
1.1 Template for Custom Drawing
2. Java 2D API & Graphics2D
2.1 java.awt.Graphics2D
2.2 Affine Transform (java.awt.geom.AffineTransform)
2.3 Geometric Primitives and Shapes
2.4 Point2D (Advanced)
2.5 Interface java.awt.Shape
2.6 Stroke, Paint and Composite Attributes
3. Working with Bitmap Images
3.1 Loading Images
3.2 drawImage()
3.3 Image Affine Transforms
3.4 Image Filtering Operations
3.5 Animating Image Frames
4. High Performance Graphics
4.1 Full-Screen Display Mode (JDK 1.4)
4.2 Rendering to the Display & Double Buffering
4.3 Splash Screen
LESSON 3: Playing Sound
1. Sampled Audio
1.1 javax.sound.Clip
1.2 Playing Sound Effects for Java Games
1.3 (Optional) javax.sound.SourceDataLine
2. MIDI Synthesized Sound
3. MP3 & Java Media Framework (JMF)
LESSON 4: Game Engine & FrameWork
1. Custom Drawing
2. Init and Shutdown
3. Starting the Game Play
4. Controlling the Refresh
5. Game Thread
6. Game States
7. The Complete Java Game Framework
8. Case Study 1: The Snake Game (Part I) - Game Actor Design - Enum Snake.Direction - Collision Detection & Response
9. Snake Game - Part II
9.1 Control Panel
9.2 Menubar
9.3 Playing Sound Effect
10. Two Snakes