Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building your First Mobile Game using XNA 4.0

You're reading from   Building your First Mobile Game using XNA 4.0 A fast-paced, hands-on guide to building a 3D game for the Windows Phone 7 platform using XNA 4.0

Arrow left icon
Product type Paperback
Published in Jan 2013
Publisher Packt
ISBN-13 9781849687744
Length 158 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Thomas Goussaert Thomas Goussaert
Author Profile Icon Thomas Goussaert
Thomas Goussaert
Brecht Kets Brecht Kets
Author Profile Icon Brecht Kets
Brecht Kets
Arrow right icon
View More author details
Toc

Game concept


Before we can start building a game, we need a game concept. It's very important that you know what you want to create before even writing one line of code. Let's have a look at our game concept. Our game is about a running vampire who can slide, jump, or deflect projectiles by lifting his shield up. These actions are useless if they have no purpose. So we will add some obstacles, this way our hero can use his actions to get around these obstacles.

The game will contain three mechanics to keep things fun and interesting:

  • Our hero runs from the left-hand side to the right-hand side, avoiding obstacles using his actions:

    • Sliding under a swinging iron ball

    • Jumping over rusty spikes

    • Raising the shield to deflect falling rocks

  • Each action will be represented by a button on the Head-up display (HUD), but they will swap places after being pressed. This way it's more challenging to select the appropriate action.

  • We will increase the game speed each time we pass a certain amount of obstacles...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image