Ebook: Game development with SlimDX
Author: Fontanini Michael
- Tags: Computer games, Design., Computer games, Programming., Video games, Design., COMPUTERS, Programming, Games., GAMES, Video & Electronic.
- Series: Community experience distilled
- Year: 2013
- Publisher: Packt Publishing
- City: Birmingham, UK
- Language: English
- pdf
A fast-paced and practical guide on game development using SlimDX
Overview
- Harness the power of DirectInput and XInput to detect and respond to user input from keyboard, mouse, and joysticks/gamepads while adding the allimportant interactivity to your games
- Make the most of Direct2D, DirectSound, XAudio2, and Direct3D to make your game worlds come to life on the screen
- A practical guide packed with example code and quick instructions on game development with SlimDX
In Detail
Video games have been around for quite some time, but SlimDX has become a big thing in game development in recent years. It is a free open source framework that lets you bring your own virtual world to life using the power of DirectX.
This tutorial gives you a good head start into the world of game development with SlimDX. You will learn everything you need to know to start making your own 2D and 3D games.
This book takes you through some of the most important areas of game design, such as handling user input, 2D graphics, and adding sound and music to your games. You will learn the advanced topic of 3D graphics, which will get you started on making your own games. It will guide you fully in working with 2D game worlds and animated 2D characters by developing a 2D tilebased game world with a goofy, animated robot character for the player to control, and other demos.
By learning the basics of creating 3D graphics, you will be comfortable building 3D worlds in your own game.
What you will learn from this book
- Handle user input from the mouse, keyboard, and gamepad using both DirectInput and XInput
- Draw 2D graphics using Direct2D
- Create a 2D tilebased game world with animated characters
- Add sound effects and music to your game using both DirectSound and XAudio2
- Set up a Direct3D application
- Render basic 3D graphics
- Texture your basic 3D objects
Approach
An easytofollow guide on SlimDX game development with practical exercises in each chapter. Stepbystep instructions and example code put each topic into action in a working demo.
Who this book is written for
If you are a game designer or game developer with a passion for video games and a desire to create your own from scratch, this is the book for you. You will need basic programming experience in C#(C Sharp) to get the most out of this book.