Learning Java by Building Android Games - Explore Java Through Mobile Game Development
暫譯: 透過建構 Android 遊戲學習 Java - 透過行動遊戲開發探索 Java
John Horton
- 出版商: Packt Publishing
- 出版日期: 2015-01-29
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 392
- 裝訂: Paperback
- ISBN: 1784398853
- ISBN-13: 9781784398859
-
相關分類:
Android、Java 程式語言
海外代購書籍(需單獨結帳)
相關主題
商品描述
Key Features
- Acquaint yourself with Java and object-oriented programming, from zero previous experience
- Build four cool games for your phone and tablet, from retro arcade-style games to memory and education games, and gain the knowledge to design and create your own games too
- Walk through the fundamentals of building games and use that experience as a springboard to study advanced game development or just have fun
Book Description
Android is the fastest growing operating system (OS) with one of the largest installed bases of any mobile OS. Android uses one of the most popular programming languages, Java, as the primary language for building apps of all types. So, you should first obtain a solid grasp of the Java language and its foundation APIs to improve the chances of succeeding as an Android app developer.
This book will show you how to get your Android development environment set up and you will soon have your first working game. The difficulty level grows steadily with the introduction of key Java topics such as loops, methods, and OOP. You'll then use them in the development of games. You will learn how to build a math test game, a Simon-like memory game, a retro pong-style game, and for the grand finale, a Snake-style, retro arcade game with real Google Play leaderboards and achievements. The book has a hands-on approach and is packed with screenshots.
What You Will Learn
- Set up an efficient, professional game development environment in Android Studio
- Build your very own Android UI using easy to-use tools in Android Studio
- Add real-time interaction with Java threads and implement locking/handling screen rotation, pixel graphics, clicks, animation, sound FX, and many other features in your games
- Explore object-oriented programming (OOP) and design scalable, reliable, and well-written Java games or apps on almost any Android device
- Build and deploy a graphical pong-style game using advanced OOP concepts
- Explore APIs and implement advanced features such as online leaderboards and achievements using Google game services
- Make your game compelling to be the next big hit on Google Play market with a content update strategy and in-game marketing
About the Author
John Horton is a technology enthusiast based in UK. When he is not writing apps, books, or blog articles for Game Code School, he can usually be found playing computer games or indulging in a Nerf war.
Table of Contents
- Why Java, Android, and Games?
- Getting Started with Android
- Speaking Java â⠬â Your First Game
- Discovering Loops and Methods
- Gaming and Java Essentials
- OOP â⠬â Using Other People's Hard Work
- Retro Squash Game
- The Snake Game
- Making Your Game the next Big Thing
商品描述(中文翻譯)
#### 主要特點
- 從零基礎開始,熟悉 Java 和物件導向程式設計
- 為您的手機和平板電腦建立四款有趣的遊戲,從復古街機風格遊戲到記憶和教育遊戲,並獲得設計和創建自己遊戲的知識
- 了解遊戲開發的基本原理,並利用這些經驗作為進一步學習進階遊戲開發的跳板,或僅僅是享受樂趣
#### 書籍描述
Android 是增長最快的作業系統 (OS),擁有任何行動作業系統中最大的安裝基礎之一。Android 使用最受歡迎的程式語言之一 Java 作為構建各類應用程式的主要語言。因此,您應該首先牢牢掌握 Java 語言及其基礎 API,以提高作為 Android 應用程式開發者成功的機會。
本書將指導您如何設置 Android 開發環境,您將很快擁有第一個可運行的遊戲。隨著關鍵 Java 主題(如迴圈、方法和物件導向程式設計)的引入,難度逐漸增加。然後,您將在遊戲開發中使用這些知識。您將學會如何構建數學測試遊戲、一個類似 Simon 的記憶遊戲、一個復古的 pong 風格遊戲,最後還有一個 Snake 風格的復古街機遊戲,並擁有真正的 Google Play 排行榜和成就。本書採取實作導向,並附有大量截圖。
#### 您將學到的內容
- 在 Android Studio 中設置高效、專業的遊戲開發環境
- 使用 Android Studio 中易於使用的工具構建您自己的 Android UI
- 通過 Java 執行緒添加即時互動,並實現鎖定/處理螢幕旋轉、像素圖形、點擊、動畫、音效等多種功能
- 探索物件導向程式設計 (OOP),並在幾乎任何 Android 設備上設計可擴展、可靠且編寫良好的 Java 遊戲或應用程式
- 使用進階 OOP 概念構建和部署圖形 pong 風格遊戲
- 探索 API,並使用 Google 遊戲服務實現在線排行榜和成就等進階功能
- 制定內容更新策略和遊戲內行銷,使您的遊戲成為 Google Play 市場上的下一個熱門作品
#### 關於作者
**John Horton** 是一位位於英國的科技愛好者。當他不為 Game Code School 撰寫應用程式、書籍或部落格文章時,他通常會玩電腦遊戲或參加 Nerf 戰爭。
#### 目錄
1. 為什麼選擇 Java、Android 和遊戲?
2. 開始使用 Android
3. 說 Java ── 您的第一個遊戲
4. 探索迴圈和方法
5. 遊戲和 Java 基礎
6. 物件導向程式設計 ── 利用他人的辛勤成果
7. 復古打磚塊遊戲
8. 蛇遊戲
9. 讓您的遊戲成為下一個熱門作品