GameMaker Game Programming with GML

Matthew DeLucas

  • 出版商: Packt Publishing
  • 出版日期: 2014-04-27
  • 售價: $1,730
  • 貴賓價: 9.5$1,644
  • 語言: 英文
  • 頁數: 378
  • 裝訂: Paperback
  • ISBN: 1783559446
  • ISBN-13: 9781783559442
  • 相關分類: Maker
  • 下單後立即進貨 (約3~4週)

商品描述

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: Studio的GameMaker語言編程概念和腳本集成。

概述:
- 編寫和使用腳本來幫助組織和加快遊戲製作流程
- 顯示重要的用戶界面組件,如分數、生命值和生命數
- 播放音效和音樂,並創建粒子效果來為項目增添一些趣味
- 學習如何編寫常見的遊戲功能:人工智能、碰撞、讀取輸入和玩家反饋
- 構建自己的示例三消益智遊戲和平台遊戲

詳細內容:
GameMaker: Studio是一個流行的遊戲引擎,用於在各種平台上發布遊戲。儘管GameMaker: Studio的拖放功能使創建遊戲變得簡單快捷,但使用腳本可以真正幫助組織和加快GameMaker的工作流程。

這本實踐指南將通過幾個示例遊戲,幫助您在GameMaker語言編程方面建立堅實基礎。通過本書結束時所獲得的知識,您可以應用於構建自己的一系列令人興奮的遊戲。

本書將教您以下內容:
- 創建腳本資源以及用於事件的自定義腳本
- 學習如何導入、壓縮和播放音效和背景音樂
- 構建粒子效果系統,為遊戲增添一些額外的亮點
- 追蹤和顯示用戶界面元素,如生命值和得分
- 編寫並與簡單但具有挑戰性的人工智能進行交互
- 從各種來源讀取玩家輸入
- 利用警報創建一系列乾淨的事件
- 建立有限狀態機來跟踪角色的當前狀態
- 從頭到尾完成簡單有趣的遊戲

方法:
這是一種循序漸進的學習方法,從一個簡單的“hello world”開始,逐步發現數組、類等知識點。每個學習點都以實際的方式解釋,並在GameMaker開發環境中執行任務。