Learn Game Programming with Ruby: Bring Your Ideas to Life with Gosu (Paperback)
暫譯: 用 Ruby 學習遊戲程式設計:用 Gosu 實現你的創意 (平裝本)

Mark Sobkowicz

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2015-09-13
  • 售價: $1,130
  • 貴賓價: 9.5$1,074
  • 語言: 英文
  • 頁數: 208
  • 裝訂: Paperback
  • ISBN: 1680500732
  • ISBN-13: 9781680500738
  • 相關分類: Ruby
  • 已絕版

買這商品的人也買了...

相關主題

商品描述

Level up your programming skills while making fast-paced, arcade-style video games. Make enemy spaceships explode in balls of fire, and escape from a pit while dodging falling boulders. You'll use the fun and approachable Ruby programming language and the Gosu 2D game library, which makes making games a breeze. Gain the skills and techniques you need to bring your own video game ideas to life with moving images and thumping sounds.

If you have a little experience programming in Ruby or another language, then you're ready to start making your own video games. In this book you'll learn concepts such as animation, keyboard and mouse movement, sounds and music, and physics as you build four exciting games.

Your first game will test your reflexes as you try to click on a ruby that pops in and out of your screen. Learn how to draw images and text, and how to make objects move around the screen. You'll make a space-shooter where you defend your home base from a seemingly endless stream of enemies, as you discover how to use keyboard input, add music and sounds, an opening title screen, and scrolling end-credits. Next up: make a sliding number puzzle game where you'll learn to incorporate more complicated logic and user interaction into your game. Learn all about game physics as you build a game where a bold adventurer must climb out of a pit while dodging bouncing, spinning rocks. Finally, package up your games as Windows and Mac apps so you can share them with your friends.

When you're done with this book, you'll have improved your programming skills, and you'll have all the tools you need to make your own arcade-style games.

What You Need:

You'll need a computer running Windows 7 or later, or Mac OS X 10.7 or later. All the other software you need is free, and the first chapter will get you up and running.

商品描述(中文翻譯)

提升你的程式設計技能,同時製作快速節奏的街機風格視頻遊戲。讓敵方太空船在火球中爆炸,並在躲避落石的同時逃離深淵。你將使用有趣且易於上手的 Ruby 程式語言和 Gosu 2D 遊戲庫,讓遊戲開發變得輕而易舉。獲得實現你自己視頻遊戲創意所需的技能和技術,讓動態影像和震撼聲音栩栩如生。

如果你對 Ruby 或其他語言有一些程式設計經驗,那麼你已經準備好開始製作自己的視頻遊戲。在這本書中,你將學習動畫、鍵盤和滑鼠移動、聲音和音樂以及物理等概念,並構建四款令人興奮的遊戲。

你的第一款遊戲將測試你的反應能力,當你試圖點擊在螢幕上彈出和消失的紅寶石時。學習如何繪製圖像和文字,以及如何讓物體在螢幕上移動。你將製作一款太空射擊遊戲,保護你的基地免受看似無窮無盡的敵人攻擊,同時學習如何使用鍵盤輸入、添加音樂和聲音、開場標題畫面以及滾動的結尾字幕。接下來,製作一款滑動數字拼圖遊戲,學習如何將更複雜的邏輯和用戶互動融入你的遊戲中。當你構建一款大膽冒險者必須在躲避彈跳旋轉的岩石時爬出深淵的遊戲時,了解遊戲物理的所有知識。最後,將你的遊戲打包成 Windows 和 Mac 應用程式,以便與朋友分享。

當你完成這本書時,你將提升你的程式設計技能,並擁有製作自己街機風格遊戲所需的所有工具。

你需要的條件:

你需要一台運行 Windows 7 或更高版本的電腦,或運行 Mac OS X 10.7 或更高版本的電腦。你所需的所有其他軟體都是免費的,第一章將幫助你快速上手。