GameMaker Game Programming with GML
暫譯: 使用 GML 的 GameMaker 遊戲程式設計

Matthew DeLucas

  • 出版商: Packt Publishing
  • 出版日期: 2014-04-27
  • 售價: $1,880
  • 貴賓價: 9.5$1,786
  • 語言: 英文
  • 頁數: 378
  • 裝訂: Paperback
  • ISBN: 1783559446
  • ISBN-13: 9781783559442
  • 相關分類: Maker
  • 海外代購書籍(需單獨結帳)

商品描述

Learn GameMaker Language programming concepts and script integration with GameMaker: Studio through hands-on, playable examples with this book and ebook

Overview

  • Write and utilize scripts to help organize and speed up your game production workflow
  • Display important user interface components such as score, health, and lives
  • Play sound effects and music, and create particle effects to add some spice to your projects
  • Learn how to script common game features: artificial intelligence, collision, reading input, and player feedback
  • Build your own example match-three puzzle and platform games

In Detail

GameMaker: Studio is a popular game engine used to publish games to a variety of platforms. Although GameMaker: Studio's drag-and-drop functionality makes creating games simple and fast, utilizing scripts can really help organize and speed up GameMaker's workflow exponentially.

This hands-on guide will help you build a strong foundation in programming in GameMaker Language by taking you through several example games. Knowledge gained by the end of the book can be applied so you can build your own line of exciting games.

What you will learn from this book

  • Create script resources as well as custom scripts for events
  • Learn how to import, compress, and play sound effects and background music
  • Build particle effect systems to give games a little extra flare
  • Track and display user interface elements such as health and scoring
  • Program and interact with simple yet challenging artificial intelligence
  • Read player input from a variety of sources
  • Utilize alarms to create a clean series of events
  • Establish a finite state machine to track a character's current state
  • Complete easy and fun games from start to finish

Approach

A step-by-step approach to build your knowledge, starting from a simple "hello world" to discovering arrays, classes, and so on. Each learning point is explained in a practical way, carrying out tasks within the GameMaker development environment.

商品描述(中文翻譯)

學習 GameMaker Language 程式設計概念及與 GameMaker: Studio 的腳本整合,透過本書及電子書中的實作範例進行實際操作。

概述


  • 撰寫並使用腳本來幫助組織及加速您的遊戲製作工作流程

  • 顯示重要的使用者介面元件,例如分數、生命值和剩餘次數

  • 播放音效和音樂,並創建粒子效果為您的專案增添一些趣味

  • 學習如何編寫常見遊戲功能的腳本:人工智慧、碰撞、讀取輸入和玩家反饋

  • 建立您自己的三消益智遊戲和平台遊戲範例

詳細內容

GameMaker: Studio 是一個流行的遊戲引擎,用於將遊戲發佈到各種平台。雖然 GameMaker: Studio 的拖放功能使得創建遊戲變得簡單且快速,但利用腳本可以真正幫助組織和加速 GameMaker 的工作流程,效果顯著。


這本實作指南將幫助您在 GameMaker Language 的程式設計上建立堅實的基礎,通過幾個範例遊戲引導您。書籍結束時所獲得的知識可以應用於您自己創建一系列令人興奮的遊戲。

您將從本書中學到什麼


  • 創建腳本資源以及事件的自定義腳本

  • 學習如何導入、壓縮和播放音效及背景音樂

  • 建立粒子效果系統,為遊戲增添一些額外的風采

  • 追蹤並顯示使用者介面元素,例如生命值和得分

  • 編程並與簡單但具挑戰性的人工智慧互動

  • 從各種來源讀取玩家輸入

  • 利用警報創建一系列清晰的事件

  • 建立有限狀態機以追蹤角色的當前狀態

  • 從頭到尾完成簡單有趣的遊戲

方法

採用逐步的方法來建立您的知識,從簡單的「Hello World」開始,逐漸探索陣列、類別等。每個學習點都以實用的方式解釋,並在 GameMaker 開發環境中執行任務。