Learning C# by Programming Games
暫譯: 透過遊戲編程學習 C#

Arjan Egges, Jeroen D. Fokker, Mark H. Overmars

  • 出版商: Springer
  • 出版日期: 2013-06-18
  • 售價: $2,420
  • 貴賓價: 9.5$2,299
  • 語言: 英文
  • 頁數: 443
  • 裝訂: Hardcover
  • ISBN: 3642365795
  • ISBN-13: 9783642365799
  • 相關分類: C#
  • 海外代購書籍(需單獨結帳)

商品描述

Developing computer games is a perfect way to learn how to program in modern programming languages. This book teaches how to program in C# through the creation of computer games – and without requiring any previous programming experience.

Contrary to most programming books, Egges, Fokker and Overmars do not organize the presentation according to programming language constructs, but instead use the structure and elements of computer games as a framework. For instance, there are chapters on dealing with player input, game objects, game worlds, game states, levels, animation, physics, and intelligence. The reader will be guided through the development of four games showing the various aspects of game development. Starting with a simple shooting game, the authors move on to puzzle games consisting of multiple levels, and conclude the book by developing a full-fledged platform game with animation, game physics, and intelligent enemies. They show a number of commonly used techniques in games, such as drawing layers of sprites, rotating, scaling and animating sprites, showing a heads-up display, dealing with physics, handling interaction between game objects, and creating pleasing visual effects such as snow or glitter. At the same time, they provide a thorough introduction to C# and object-oriented programming, introducing step by step important aspects of programming in general, including many  programming constructs and idioms, syntax diagrams, collections, and exception handling.

The book is also designed to be used as a basis for a game-oriented programming course. For each part, there are concluding exercises and challenges, which are generally more complex programming endeavors. Lots of supplementary materials for organizing such a course are available on the accompanying web site http://www.csharpprogramminggames.com, including installation instructions, solutions to the exercises, software installation instructions, game sprites and sounds.

商品描述(中文翻譯)

開發電腦遊戲是學習現代程式語言的絕佳方式。本書通過創建電腦遊戲來教授如何使用 C# 程式設計,並且不需要任何先前的程式設計經驗。

與大多數程式設計書籍不同,Egges、Fokker 和 Overmars 並不是根據程式語言的結構來組織內容,而是使用電腦遊戲的結構和元素作為框架。例如,書中有關於處理玩家輸入、遊戲物件、遊戲世界、遊戲狀態、關卡、動畫、物理和智慧的章節。讀者將通過開發四款遊戲來了解遊戲開發的各個方面。從一個簡單的射擊遊戲開始,作者接著介紹由多個關卡組成的益智遊戲,最後以開發一款完整的平台遊戲作為結尾,該遊戲包含動畫、遊戲物理和智慧敵人。他們展示了遊戲中常用的多種技術,例如繪製精靈層、旋轉、縮放和動畫精靈、顯示抬頭顯示器、處理物理、處理遊戲物件之間的互動,以及創建如雪或閃光等令人愉悅的視覺效果。同時,他們還提供了 C# 和物件導向程式設計的全面介紹,逐步介紹程式設計的一些重要方面,包括許多程式語言結構和慣用法、語法圖、集合和例外處理。

本書也設計為遊戲導向程式設計課程的基礎。每個部分都有結尾的練習和挑戰,這些通常是更複雜的程式設計任務。許多組織此類課程的補充材料可在隨附的網站 http://www.csharpprogramminggames.com 上獲得,包括安裝說明、練習解答、軟體安裝說明、遊戲精靈和聲音。

最後瀏覽商品 (20)