相關主題
商品描述
Beginning Java 8 Games Development, written by Java expert and author Wallace Jackson, teaches you the fundamentals of building a highly illustrative game using the Java 8 programming language. In this book, you'll employ open source software as tools to help you quickly and efficiently build your Java game applications. You'll learn how to utilize vector and bit-wise graphics; create sprites and sprite animations; handle events; process inputs; create and insert multimedia and audio files; and more.
Furthermore, you'll learn about JavaFX 8, now integrated into Java 8 and which gives you additional APIs that will make your game application more fun and dynamic as well as give it a smaller foot-print; so, your game application can run on your PC, mobile and embedded devices.
After reading and using this tutorial, you'll come away with a cool Java-based 2D game application template that you can re-use and apply to your own game making ambitions or for fun.
What you’ll learn
- How to develop games using Java 8
- How to employ vector-based graphics or bitmap graphics
- How to create your 2D game sprites
- How to animate those game sprites
- How to handle events to process player input
- How to optimize and implement digital audio assets
Who this book is for
This book is for game developers with little experience using Java, little experience in developing games, or both.
Table of Contents
1. Setting Up a Java 8 Game Development Environment2. Setting Up Your Java 8 IDE
3. A Java 8 Primer
4. An Introduction to JavaFX 8
5. An Introduction to Game Design
6. The Foundation of Game Design
7. The Foundation of Game Play Loop
8. Creating Your Actor Engine
9. Controlling Your Action Figure
10. Directing the Cast of Actors
11. Moving Your Action Figure in 2D
12. Setting Boundaries for Your Action Figure in 2D
13. Animating Your Action Figure States
14. Setting Up the Game Environment
15. Implementing Game Audio Assets
16. Collision Detection
17. Enhancing Game Play
商品描述(中文翻譯)
《Beginning Java 8 Games Development》由 Java 專家及作者 Wallace Jackson 撰寫,教你如何使用 Java 8 程式語言建立一個高度具體的遊戲。在這本書中,你將使用開源軟體作為工具,幫助你快速且有效地建立 Java 遊戲應用程式。你將學習如何利用向量圖形和位圖圖形;創建精靈和精靈動畫;處理事件;處理輸入;創建和插入多媒體及音頻檔案;等等。
此外,你還將了解 JavaFX 8,這是整合在 Java 8 中的,提供額外的 API,使你的遊戲應用程式更加有趣和動態,並且佔用更小的資源;因此,你的遊戲應用程式可以在 PC、移動設備和嵌入式設備上運行。
在閱讀和使用這本教程後,你將獲得一個酷炫的基於 Java 的 2D 遊戲應用程式範本,可以重複使用並應用於你自己的遊戲開發計畫或娛樂。
你將學到的內容:
- 如何使用 Java 8 開發遊戲
- 如何使用基於向量的圖形或位圖圖形
- 如何創建你的 2D 遊戲精靈
- 如何為這些遊戲精靈添加動畫
- 如何處理事件以處理玩家輸入
- 如何優化和實現數位音頻資產
本書適合對象:
本書適合對 Java 使用經驗不多、遊戲開發經驗不多,或兩者皆是的遊戲開發者。
目錄:
1. 設定 Java 8 遊戲開發環境
2. 設定你的 Java 8 IDE
3. Java 8 入門
4. JavaFX 8 介紹
5. 遊戲設計介紹
6. 遊戲設計基礎
7. 遊戲循環基礎
8. 創建你的演員引擎
9. 控制你的動作人物
10. 指導演員陣容
11. 在 2D 中移動你的動作人物
12. 在 2D 中為你的動作人物設定邊界
13. 動畫你的動作人物狀態
14. 設定遊戲環境
15. 實現遊戲音頻資產
16. 碰撞檢測
17. 增強遊戲玩法