Develop X-Box Live Games and make Money
Do you love playing games? Have you ever thought how much money would the developers of the game like Mortal Combat or the developers of the game Call of Duty made by now.
The answer to this is Millions of $$$$$ dollars. And the count in their pockets is still increasing with each passing day. Internet today has increased the market potential for each one of us. If you are smart, you will definitely leverage the power of Internet and become the next billionaire. Lets get to know what all are the things required to become a top class X-boxGame designer/developer and earn in Billions :D
Are you an absolute
beginner?
Know Where To start
From-
First Select Your
Preferred platform visit this link
Now Get The required
Sdk’s That Is Software Development Kit
First Read This Properly
Read Me First
Now Select The Platform
For Development
Choose and Download Either Windows Phone 8 or Windows Phone 7 Sdk
Get Some Samples For You
and Jump Start :
So What Next ??
So guys from Here on,
I’am Going to explain You some of the Beginning code to make you a bit familiar
with the coding part.
First you have to add the correct XNA libraries
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Input.Touch;
Now To process Further
We need to add Objects >
First Go to file “game1.cs” or whatever name you had given at the time of starting a new project
Now Go to Player
Declaration line of Code add:
KeyboardState currentKeyboardState;
KeyboardState previousKeyboardState;
KeyboardState previousKeyboardState;
// it uses to determine key presses
// if you use to develop for gamepad enabled devices the this code uses Gamepad states to determine button presses
// if you use to develop for gamepad enabled devices the this code uses Gamepad states to determine button presses
GamePadState currentGamePadState;
GamePadState previousGamePadState;
//For The Mouse Interface it uses to track Mouse button press
MouseState currentMouseState;
MouseState previousMouseState;
// For The movement speed Of the player
float playerMoveSpeed;
So this Was Just The Begining of your code.
Up to here we have just
started developing our app with the compatibility mode for the device
Handle the user Inputs:
Create fuction
Private Void
PlayerInput(Input, user)
{
}
Write The Following Piece of Code in this Fucntion
player.Position.X += currentGamePadState.ThumbSticks.Left.X * playerMoveSpeed; player.Position.Y -= currentGamePadState.ThumbSticks.Left.Y * playerMoveSpeed;
Use The Keyboard Or Keypad inputs from User:
if (currentKeyboardState.IsKeyDown(Keys.Left) || currentGamePadState.DPad.Left == ButtonState.Pressed) { player.Position.X -= playerMoveSpeed; } if (currentKeyboardState.IsKeyDown(Keys.Right) || currentGamePadState.DPad.Right == ButtonState.Pressed) { player.Position.X += playerMoveSpeed; } if (currentKeyboardState.IsKeyDown(Keys.Up) || currentGamePadState.DPad.Up == ButtonState.Pressed) { player.Position.Y -= playerMoveSpeed; } if (currentKeyboardState.IsKeyDown(Keys.Down) || currentGamePadState.DPad.Down == ButtonState.Pressed) { player.Position.Y += playerMoveSpeed;
One Of the Most
Important things :
Make Sure That the player/user does not go out
of screen or bound:
// Saving Previous State of the player
previousGamePadState = currentGamePadState; previousKeyboardState = currentKeyboardState; //Read The current state of the keyboard currentKeyboardState = Keyboard.GetState(); currentGamePadState = GamePad.GetState(PlayerIndex.One); // now time to update player !! UpdatePlayer(gameTime);
For Further Reference Go to Following links:
Online Tutorials:
Free E-Book Materials for Download:
Beginners Guide
Made an awesome game, then submit it to the marketplace online and sell it online.
Get the money transferred to your bank account whenever someone purchases you game.
So that's all you need to get yourself started in the world of X-box game development. The journey of becoming a game developer may be a little rough in the start. But i recommend you to be persistent with your efforts. Spread the joy of entertainment and earn money.
If you still have any queries for getting started with X-box Game development, feel free to ask in the comment section given below :)
Made an awesome game, then submit it to the marketplace online and sell it online.
Get the money transferred to your bank account whenever someone purchases you game.
So that's all you need to get yourself started in the world of X-box game development. The journey of becoming a game developer may be a little rough in the start. But i recommend you to be persistent with your efforts. Spread the joy of entertainment and earn money.
If you still have any queries for getting started with X-box Game development, feel free to ask in the comment section given below :)
Thanx
ReplyDeleteThe saving states really worked for me
nice article. keep it up.
ReplyDelete