Game Development with Blender

BookCover

Update: The book has sold over 2,000 copies! Thank you all

The book in a nutshell:

  • Pages: 448
  • Figures: 317
  • Files: 100
  • Release Date: June 20th, 2013
  • Publisher: Cengage Learning

Where to buy the book?

* buying from Blender.org helps the Blender Foundation directly

Where can I get the sample files?

Some people reported problems in finding the companion files. The official link is www.cengageptr.com/downloads, but if you want a direct links you can go here.

How to get a copy for evaluation?

  • If you are considering to adopt this material in a classroom, request a copy directly with Cengage.
  • If you want a preview of the chapter one, download it here. (or use the “Look Inside” option in Amazon.com)

What does the book cover?

The book is organized in the following chapters:

  1. Blender in a Nutshell
  2. First Game
  3. Logic Bricks
  4. Animation
  5. Graphics
  6. Physics
  7. Python Scripting
  8. Workflow and Optimization
  9. Publishing and Beyond
  10. Case Studies

We start covering the basics of Blender for new comers followed by a simple game project from start to end. That should give the reader the perspective of the components of the Blender game engine important for making your own projects.

The following chapters  are self-contained, each one with its own approach. Most of them have tutorials and short projects focused on the presented tools. Finally, chapter 10 gives the reader a perspective of real usage of the Blender game engine presenting 10 projects from different artists around the world explained by the authors themselves.

What version of Blender does this book cover?

The book covers Blender 2.66a fully.

Will there be an ebook?

Yes. So far online for Kindle (and in the USA), but other options and regions should be available shortly. For the Kindle version get it here.

About the authors:

Mike Pan is a CG generalist who started using Blender 10 years ago, before it was open sourced. Mike’s interest in Blender includes everything from special effects to compositing, and from real-time graphics to scripting. He has given talks at the Blender Conference in Amsterdam, hosted workshops at the View Conference in Turin and Blender Workshop in Vancouver, and conducted a three-day Blender course in Kerala, India. Mike is currently the lead programmer for a two-year project at Harvard Medical School to develop a biomolecular visualization software using Blender. Before that, he worked at the University of British Columbia with Dalai on a marine ecosystem visualization project. Mike lives in the always-raining Vancouver, Canada. You can find him at mikepan.com.

Dalai Felinto, who is currently living in Vancouver, Canada, was born in sunny Rio de Janeiro, Brazil. He has been using Blender since beginning his undergraduate studies in Architecture and Urban Planning in 2003. His participation in the Blender Community includes papers, workshops, and talks presented at events such as BlenderPRO in Brazil, Che Blender in Argentina, Blender Conference in Amsterdam, View Conference in Turin, BlenderVen in Venezuela, and Blender Workshop in Canada. He has contributed patches and code to Blender since version 2.47. Dalai uses Blender and the game engine in his work as a science communicator at the University of British Columbia, Canada. However, his day job doesn’t stop him from doing freelance Blender projects around the world. His latest works have been for Italy, England, and the Netherlands. Dalai’s dream career move is to land a job in the movie industry, working at Pixar. Follow his adventures at dalaifelinto.com.

Mike_Dalai

 

Bonus Question: How did this book help the game engine?

One of the reasons it took us almost three years to complete this project was to make sure it would cover all the game engine latest developments.

We were alarmed that some areas of the BGE (Blender Game Engine) could/should use a revamp. I’m one of the BGE developers, so we made the decision of taking the book writing and some needed development side-by-side. That includes a lot of changes in the UI, the support for unicode and ttf fonts, and the removal of texface properties in favour of per-material settings, and lots of bug fixes.

It wasn’t an easy call because we knew the book delay could harm the book sales. However my first concern was into making sure we were proud of the engine we were talking about. And even though we both make a living out of working with Blender and the game engine, we knew there were room for some pressing improvements.

We finally settled on the 2.66a. And before handing all the manuscript to the publisher, in the author review phase we made sure things were updated. From there on people can follow the release notes of new Blender and it will be fine.

The book companion files (over a hundred) also helped to test the BGE itself. Just to illustrate it, we were short in time prior to 2.66 release and couldn’t dedicate time to test the official release (somehow to finish a book takes time (: )). We then worked closely with other developers to have 2.66a stable as far as the animation, uv materials, and multiplatform support goes. The result? between 2.66 and 2.66a alone we had 15 bugs fixed by the bge developers (some by myself directly, and others by fellow programmers). And all the book files are working in 2.66a as they were originally conceived in all major platforms (Linux, Mac and Windows).

We hope you enjoy the book!

Feel free to drop us a line with any feedback or commentaries you may have.

21 Thoughts on “Game Development with Blender

  1. I ordered this book via Amazon since 2012… it keeps getting delayed. I actually already paid. What should I do now? This is actually the official book? Is that Amazon one a scam?

    • admin on June 21, 2013 at 7:31 pm said:

      Hi Jimmy, the book has been indeed for pre-sale since last year. The reason for the delay notifications has more to do with the arbitrary release date Amazon was estimating than anything else. I believed you paid but the money was most likely not charged yet (that’s how pre-sale tends to work).

      That said, in my “Author Central” page it says there are 2 books that were sold. So maybe in some cases the pre-sale was indeed charged. Either way it’s no scam. The book is ready, and should arrive at Amazon warehouse shortly.

      And thanks for the early support to the book.

  2. Matt on June 27, 2013 at 6:44 am said:

    Hi.
    I found ‘Mastering Blender Game Engine’ on bookdepository.co.uk (http://www.bookdepository.co.uk/Mastering-Blender-Game-Engine-Mike-Pan/9781435456624?b=-3&t=-26#Bibliographicdata-26) as well as ‘Game Development with Blender’ on amazon (http://www.amazon.com/Game-Development-Blender-Dalai-Felinto/dp/1435456629/ref=sr_1_3?ie=UTF8&qid=1372314833&sr=8-3&keywords=mastering+blender+game).
    Just wondering – is this the same book?
    Thanks, Matt.

    • admin on July 5, 2013 at 4:58 pm said:

      Hi Matt, yes it is the same book. What happened is that we changed the book title middle way into production and it takes quite some time for the online stores to process that.

  3. Hello Dalai Felinto, I just received my copy from your Amazon today, but I just wanna know how to get more information about to keep the files separated from the Blenderplayer. (page 395 head) Dont have any how to… 🙁

    Congratulations, Its a nice stuff…

    • Hi Iran, See if the explanation of the Game Actuator on page 127 (the note) helps to clarify that a bit more. Otherwise I can prepare a simple file for you. And thanks for the congrats 😉

      • Well, to be sincere the note from page 127 is not enough to me. On page 395 you just talk about loading the game files separated from Blenderplayer. I understand I can to use this feature to commercial use, when I don’t want to distribute my work under GPL License… but how to protect my blend files? I don’t wanna my .blend file structure available or editable.

        The book don’t have concrete information and samples about these topics.

        Thanks for your help!

  4. Spyros on August 5, 2013 at 8:06 am said:

    Hello,
    I preordered the book and it was delivered a few days ago.Now that I started reading it,in Chapter 2 there is a line “On the DVD,you will find…” . But I received no DVD.
    Is there a DVD or we download it from somewhere?
    Please answer me so I can contact amazon,in case there is a DVD that I did not receive.

    Thanks in advance.

    • Hi Spyros,
      I just updated the post with the companion files download link (it’s also in the page xiv of the book (the last one before the chapter 1).

      The reason the book mention “DVD” files a few times is due to the changes during the book production. We decided to drop the physical medium over download files to help buyers from outside the US (in most countries books are not taxable, while DVDs are).

      Sorry about the delay, I was off on vacation.

  5. I ordered this book online, was probably one of the first people to receive it. I just started getting into chapter 2, (been working on other things), and I tried to go to the link that it lists for the source files, and there is nothing there. It gives the link as http://www.cengageptr.com/downloads. The message I get is: “This page can’t be displayed”

    • Hi Shawn, the link should be working (though you need to navigate into the Game section and select the book name). I just updated this post with the direct link to the download files. If you still have troubles please let me know.

  6. Hi,
    Great job!
    i don’t have find any ebook version so I have bought your book as paperback. Is there an ebook version that i can find ?
    Thanks in advance Mariano

    • Hi Mariano. The ebook availability depends on your country. In the US you can find an ebook in Amazon, Barnes & Nobles and Apple iBook store.

      • Hi again,
        Amazon and Barnes & Nobles don’t allow me to buy a copy of ebook, here from Italy, can i buy a copy directly from you?

        • I don’t even have an ebook copy myself. So unfortunately, for now at least, you will need to get a physical copy of the book. I’m sorry about that, but it’s something beyond the authors’ reach.

  7. Hello,

    I am currently working on the Game Logic section of the book. I have gotten the programing of the sharks movement completed, but when I play it a standalone player, the animation doesn’t play out. And when I set it to Loop Stop, nothing moves at all and he just sits there. If you could help me with this problem I would be so grateful. I enjoy this type of work very much and want to learn as much as possible.

    Thank you.

    • admin on March 30, 2014 at 7:56 pm said:

      Hi Evan, does it work in the embed Game Engine? Or it fails in both the standalone and when you try it with ‘P’?

      If the result is different in the embed BGE and the Stand Alone you should report a bug in developer.blender.org so other developers and me can take a closer look at (with a sample file). Tip make sure to first try with the same version of Blender we used while writing the book.

      And thanks for your words, I’m glad you are enjoying it.

  8. A Customer on May 23, 2015 at 12:01 am said:

    Hello there! I just bought your book from Amazon and I love it, but I’m looking for some of the companion files. At the start of Chapter 10 on page 403, it says “All the games mentioned here can be found on the book website for you to play, and when the authors are willing, the .blend source files are also provided so that you can freely explore the file on your own.”

    I can only see download files for Chapters 1 to 8 on the companion site, however.

    Are there any games available?

    Thanks!

  9. ismael mello on July 14, 2016 at 12:15 am said:

    saberia me dizer por que meu blender não aceita a syntax from bge import logic . se puder ajudar agradeço

    • dfelinto on July 15, 2016 at 1:02 pm said:

      Oi Ismael, deveria funcionar, tenta investigar o que aparece no seu console. Lembrando que os scripts da BGE não são pra serem rodados no editor de texto (com Alt+P), mas sim para serem chamados via Python Controllers.

  10. I cannot open the companion files when I try it says “your winzip membership has ended”. What should I do?

Leave a Reply

Your email address will not be published. Required fields are marked *