SDL Game Development et plus d'un million d'autres livres sont disponibles pour le Kindle d'Amazon. En savoir plus
EUR 36,91
  • Tous les prix incluent la TVA.
En stock.
Expédié et vendu par Amazon.
Emballage cadeau disponible.
Quantité :1
SDL Game Development: (Bl... a été ajouté à votre Panier
Amazon rachète votre
article EUR 10,27 en chèque-cadeau.
Vous l'avez déjà ?
Repliez vers l'arrière Repliez vers l'avant
Ecoutez Lecture en cours... Interrompu   Vous écoutez un extrait de l'édition audio Audible
En savoir plus
Voir les 2 images

SDL Game Development: (Black & White) (Anglais) Broché – 24 juin 2013


Voir les 2 formats et éditions Masquer les autres formats et éditions
Prix Amazon Neuf à partir de Occasion à partir de
Format Kindle
"Veuillez réessayer"
Broché
"Veuillez réessayer"
EUR 36,91
EUR 36,91 EUR 43,35

Offres spéciales et liens associés


Descriptions du produit

Présentation de l'éditeur

BLACK & WHITE EDITION

If you're good with C++ and object oriented programming, this book utilizes your skills to create 2D games using the Simple DirectMedia Layer API. Practical tutorials include the development of two wickedly good games.

Overview

  • Create 2D reusable games using the new SDL 2.0 and C++ frameworks
  • Become proficient in speeding up development time
  • Create two fully-featured games with C++ which include a platform game and a 2D side scrolling shooter
  • An engaging and structured guide to develop your own game

In Detail

SDL 2.0 is the latest release of the popular Simple DirectMedia Layer API, which is designed to make life easier for C++ developers, allowing you simple low-level access to various multiplatform audio, graphics, and input devices.

SDL Game Development guides you through creating your first 2D game using SDL and C++. It takes a clear and practical approach to SDL game development, ensuring that the focus remains on creating awesome games.

Starting with the installation and setup of SDL, you will quickly become familiar with useful SDL features, covering sprites, state management, and OOP, leading to a reusable framework that is extendable for your own games. SDL Game Development culminates in the development of two exciting action games that utilize the created framework along with tips to improve the framework.

What you will learn from this book

  • Draw in SDL and build the SDL_image extension
  • Develop reusable classes
  • Get to grips with game related object-oriented programming
  • Integrate a variety of user inputs into your games, such as joysticks or keyboards
  • Use factories that enable us to create objects dynamically at runtime
  • Create 2D maps through the use of tiles
  • Easily apply the framework to different game genres
  • Understand the scrolling of a tile map using the position of the player and collision detection

Approach

Written as a practical and engaging tutorial, SDL Game Development guides you through the development of your own framework and the creation of two exciting, fully-featured games.

Who this book is written for

SDL Game Development is aimed at C++ developers who want to learn the fundamentals of SDL for cross-platform game development. This isn't a beginner's guide to C++, so a good knowledge of C++ and object oriented programming is a must.

Biographie de l'auteur

Shaun Mitchell

Shaun Mitchell is a developer at a high profile online gaming company. He holds a BSc in Game Programming and Development from Qantm College / SAE Institute London. Shaun is also a moderator and active member of the programming community



Vendez cet article - Prix de rachat jusqu'à EUR 10,27
Vendez SDL Game Development: (Black & White) contre un chèque-cadeau d'une valeur pouvant aller jusqu'à EUR 10,27, que vous pourrez ensuite utiliser sur tout le site Amazon.fr. Les valeurs de rachat peuvent varier (voir les critères d'éligibilité des produits). En savoir plus sur notre programme de reprise Amazon Rachète.

Détails sur le produit

Commentaires en ligne

Il n'y a pas encore de commentaires clients sur Amazon.fr
5 étoiles
4 étoiles
3 étoiles
2 étoiles
1 étoiles

Commentaires client les plus utiles sur Amazon.com (beta)

Amazon.com: 20 commentaires
15 internautes sur 15 ont trouvé ce commentaire utile 
Good ideas, but lacks polish 2 septembre 2013
Par Greg - Publié sur Amazon.com
Format: Format Kindle Achat vérifié
Let me preface this review by saying that I'm currently halfway through the Kindle edition of this book, and I'd like to give you my thoughts thus far. The book succeeds in teaching you the fundamental ideas of how to build a solid, reusable framework for a game written in C++ using SDL 2.0. However, the book's code is riddled with bugs! Granted, most of them are simple syntax errors that can be easily fixed if you have some experience programming in C++ and know your way around a debugger, but recently I ran into a pretty major bug in the "Finite State Machine" chapter where, the way it's currently implemented, the program tries to access heap memory that has already been freed. I haven't yet found a simple fix for this, and I'm in the process of redesigning the way the FSM is implemented. In other words, if you simply copy + paste most of the book's code into your editor and compile it, it will not run! I also have a couple other minor gripes. His explanations of C++ concepts are pretty worthless; for example, he explains what the "::" scope resolution operator is about a quarter of the way into the book after using it in his code countless times up until that point. Also, the formatting in the Kindle edition is a bit wonky, but that's to be expected.

In summary, the book provides a good foundation for writing games with SDL, but the implementation of that foundation isn't quite there. HEED THE BOOK'S WARNING that it is NOT a beginner's guide to C++! BE FAMILIAR with data structures, polymorphism, inheritance, function overloading, pointers, callback functions, and debugging! I bought the book because SDL 2.0 is still relatively new and there aren't that many complete online tutorials available yet. If you have the patience, it might be better to wait for people such as Lazy Foo to finish their online SDL 2.0 tutorials. Otherwise, be prepared to sift through the bugs!
7 internautes sur 7 ont trouvé ce commentaire utile 
SDL 2.0 book 3 octobre 2013
Par Sean Welgemoed - Publié sur Amazon.com
Format: Broché
I'm currently half-way through the book, it's good for someone who's learnt at least all of the intermediate -> advanced fundamentals of C++.

However, throughout the book you'll find some mistakes (some minor, some can be seriously major) and things can get pretty complex pretty quickly without proper explanation. I'd recommend going through the book twice if you need a full understanding of how to create a pretty basic engine in SDL2.

The mistakes can become a little bit annoying and can slow down progress very quickly though. The very first mistake is inside a singleton for the texture handler, they neglected to show that you needed a private variable: static textureManager *s_pInstance; -you could have puzzled this out by yourself too.

EDIT:

I have now practically finished the book and I have removed a star. Why? Because I feel this book really bulks up on methods to learn then completely changes them as chapters go along (the states are a good example of this). You'll end up going through thinking this is the way to do things and then he suddenly switches over. I feel Shaun could have explained certain things a hell of a lot better (the state parser and why he put code together the way he did).
6 internautes sur 6 ont trouvé ce commentaire utile 
Not for a beginner; needed a competent technical reviewer. 10 novembre 2013
Par talonius - Publié sur Amazon.com
Format: Broché Achat vérifié
First, this book is not for someone who is inexperienced. As other reviewers have pointed out, the code is riddled with bugs and/or incomplete when based solely on the text of the book. This is frustrating because he moves at a pace I could enjoy, but I end up spending more time fixing the code he presents in order to see how it works than I do learning how SDL works itself.

As a for instance, consider the code from Chapter 1. He walks you through how to do something, then redesigns it, then redesigns it again. The placement of global variables changes but there's no mention of it. Then there's the definition of Game.h with function bodies but never any mention to remove them when he creates the real functions a short bit later. All are very simple bugs that any technical reviewer would have caught, but they end up distracting you from the primary purpose of the book.

Last, but not least, let's not discard the entire conversation around the recent SDKs and how to fix SDL to compile with one instead of the DirectX SDK from June 2010. In short, if you are desiring to compile with the most recent Windows SDK (as DirectX as a separate concern has been retired by Microsoft) install the new SDK in its entirety and comment (or remove) the #include <dxsdkver.h> in DirectX.h. In _my_ version of SDL 2, this is line #35.

TL;DR: Not for a beginner (as noted), good pace, very sloppy code that distracts.
1 internautes sur 1 ont trouvé ce commentaire utile 
Unfinished book. 9 octobre 2014
Par Doobie Keebler - Publié sur Amazon.com
Format: Format Kindle Achat vérifié
The book starts out pretty good and the author teaches about how the SDL works, but then about halfway through it just gets rushed and his tutorials and code explanations stop matching up with anything but he keeps showing code in the book that doesn't really go to anything. His programming is weak, he is not good at object-oriented programming, and he uses memory that has already been freed in his game state machine that crashes the program. Interesting read, but was clearly not proofread by anyone. The game samples are so weak.
1 internautes sur 1 ont trouvé ce commentaire utile 
SDL 2.0 book review 2 octobre 2013
Par S. Powley - Publié sur Amazon.com
Format: Format Kindle Achat vérifié
I bought the Kindle version because of the price and as there are very few resources available for SDL 2, I jumped on this purchase. I'm less than halfway through working through the examples.

I'm usually pretty good hacking / debugging the source and getting them to work (sdltutorials.com / lazyfoo), but the chapter code examples here are a little incomplete in my opinion. While it's pretty easy figuring out most of the "#include" statements, I'm stuck trying compile one (the Game singleton SDL_Renderer). It would be nice to have the source available for ALL the chapters, not just the resulting framework and resources.

There's a fair number of memory leaks too..which I guess is okay for the earlier chapters.

Learning C++ over the last 2 years, these examples help reinforce a lot of concepts in a practical and fun way. Maybe "fun" is the wrong word, but it beats formatted "cout" results. Definitely intermediate+ level.

Looking at what's available in the source download, I believe I will still get a lot out of this book and I would recommend this.
Ces commentaires ont-ils été utiles ? Dites-le-nous


Commentaires

Souhaitez-vous compléter ou améliorer les informations sur ce produit ? Ou faire modifier les images?