SlideShare a Scribd company logo
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Initialize   LoadContent

                Update
              Draw
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
interface ISprite
{
    void Reset(SamplerState game);
    void Draw(SmudgeGame game);
    void Update(SmudgeGame game);
}
Texture2D smudgeTexture = Content.Load<Texture2D>("Smudge");

smudge = new Sprite(this, smudgeTexture, Vector2.Zero,
                    Color.Red, 20, 0);
public virtual void Draw(SmudgeGame game)
{
    game.spriteBatch.Draw(
        spriteTexture, // texture of sprite
        spritePosition, // vector position on screen
        null,           // source rectangle in texture (all of it)
        spriteColor,    // colour of the light
        spriteRotation, // rotation – in radians
        spriteOrigin,   // centre of sprite – position and rotation
        spriteScale,    // scale – scaled to fit
        SpriteEffects.None,
        1);             // draw everything at the same depth
}
public virtual void Draw(SmudgeGame game)
{
    game.spriteBatch.Draw(
        spriteTexture, // texture of sprite
        spritePosition, // vector position on screen
        null,           // source rectangle in texture (all of it)
        spriteColor,    // colour of the light
        spriteRotation, // rotation – in radians
        spriteOrigin,   // centre of sprite – position and rotation
        spriteScale,    // scale – scaled to fit
        SpriteEffects.None,
        1);             // draw everything at the same depth
}
public virtual void Update(SmudgeGame game)
{
}
Demo 1
Windows Phone: From Idea to Published Game in 75 minutes
List<ISprite> gameSprites = new List<ISprite>();
foreach (ISprite sprite in gameSprites)
    sprite.Draw(this);
Windows Phone: From Idea to Published Game in 75 minutes
protected override void Initialize()
{
    TouchPanel.EnabledGestures = GestureType.Tap |
                                 GestureType.FreeDrag;
    base.Initialize();
}
while (TouchPanel.IsGestureAvailable)
{
    GestureSample gesture = TouchPanel.ReadGesture();

    gameSprites.Add( new Sprite(this, smudgeTexture,
                            gesture.Position, Color.Red, 20,0));
}
Demo 2
Windows Phone: From Idea to Published Game in 75 minutes
class GrowingSprite : Sprite, Isprite
{
    float spriteGrowSpeed = 0.05f;
    public override void Update(SmudgeGame game)
    {
        spriteScale += spriteGrowSpeed;
        base.Update(game);
    }
}
Demo 3
Windows Phone: From Idea to Published Game in 75 minutes
Random colorRand = new Random();

Color randomColor()
{
    int r = colorRand.Next(256);
    int g = colorRand.Next(256);
    int b = colorRand.Next(256);
    return Color.FromNonPremultiplied(r, g, b, 255);
}
Demo 4
Windows Phone: From Idea to Published Game in 75 minutes
while (TouchPanel.IsGestureAvailable) {
    GestureSample gesture = TouchPanel.ReadGesture();

    if (gameSprites.Count > smudgesLength)
        gameSprites.RemoveAt(0);

    gameSprites.Add(new GrowingSprite(this, smudgeTexture,
                    gesture.Position, randomColor(), 20, 0));
}
Demo 5
Windows Phone: From Idea to Published Game in 75 minutes
Demo 6
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Demo 7
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
<Deployment xmlns=
"http://schemas.microsoft.com/client/2007/deployment"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
   EntryPointAssembly="WindowsPhonePuzzle"
   EntryPointType="WindowsPhonePuzzle.App"
   RuntimeVersion="3.0.40624.0">
  <Deployment.Parts>
    <AssemblyPart x:Name="WindowsPhonePuzzle"
                 Source="WindowsPhonePuzzle.dll" />
  </Deployment.Parts>
</Deployment>
Windows Phone: From Idea to Published Game in 75 minutes
<Capabilities>
<Capability Name="ID_CAP_LOCATION"/>
  <Capability Name="ID_CAP_MEDIALIB"/>
  <Capability Name="ID_CAP_PHONEDIALER"/>
  <Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
  <Capability Name="ID_CAP_SENSORS"/>
  <Capability Name="ID_CAP_WEBBROWSERCOMPONENT"/>
  <Capability Name="ID_CAP_ISV_CAMERA"/>
  <Capability Name="ID_CAP_CONTACTS"/>
  <Capability Name="ID_CAP_APPOINTMENTS"/>
</Capabilities>
<App xmlns=""
   ProductID="{eb43b2c2-b7e9-4e5c-8aea-8047eb5e335f}"
   Title="FunkyCamera" RuntimeType="Silverlight"
   Version="1.0.0.0"   Genre="apps.normal"
   Author="FunkyCamera author"
   Description="Sample description"
Publisher="FunkyCamera">
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
http://go.microsoft.com/?linkid=9730558
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
57
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
using Microsoft.Phone.Marketplace;
LicenseInformation info = new LicenseInformation();
if ( info.IsTrial() )
{
    // running in trial mode
}
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
67
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
http://www.robmiles.com
Twitter @RobMiles
Windows Phone: From Idea to Published Game in 75 minutes
Windows Phone: From Idea to Published Game in 75 minutes
http://aka.ms/mbl-phone/start

http://aka.ms/mbl-phone/tools

http://aka.ms/mbl-phone/mango

http://aka.ms/mbl-phone/register
Windows Phone: From Idea to Published Game in 75 minutes

More Related Content

PPTX
Students to Business Day 2012: Rob Miles
PDF
Cocos2dx 7.1-7.2
DOCX
Unity work flow
PDF
Implementing a Simple Game using libGDX
DOCX
Scratch for kids syllabus for 5 hours by bibek pandit
DOC
XNA coding series
DOCX
2d game engine workflow
PDF
Creating Games for Asha - platform
Students to Business Day 2012: Rob Miles
Cocos2dx 7.1-7.2
Unity work flow
Implementing a Simple Game using libGDX
Scratch for kids syllabus for 5 hours by bibek pandit
XNA coding series
2d game engine workflow
Creating Games for Asha - platform

What's hot (18)

PPTX
Silverlight as a Gaming Platform
PDF
Unity遊戲程式設計(15) 實作Space shooter遊戲
PDF
building_games_with_ruby_rubyconf
DOC
Green My Place Game7 Switch Search
PDF
libGDX: Simple Frame Animation
PDF
CoW Documentatie
PPTX
WP7 HUB_XNA
DOCX
Unity workflow
PPTX
Game Development for Nokia Asha Devices with Java ME #2
PDF
The Ring programming language version 1.9 book - Part 80 of 210
PPTX
TicketBEKA? Ticket booking
PPTX
Computer Game Graphics
ODP
Creating masterpieces with raphael
PPTX
Making Games in JavaScript
PPTX
3. production experiments(2)
PDF
Pygame presentation
DOCX
JoshuaGrey-2DGameWorkflow
PPTX
Task 3.2 my computer game concept in detail presentation [my name] - 2017
Silverlight as a Gaming Platform
Unity遊戲程式設計(15) 實作Space shooter遊戲
building_games_with_ruby_rubyconf
Green My Place Game7 Switch Search
libGDX: Simple Frame Animation
CoW Documentatie
WP7 HUB_XNA
Unity workflow
Game Development for Nokia Asha Devices with Java ME #2
The Ring programming language version 1.9 book - Part 80 of 210
TicketBEKA? Ticket booking
Computer Game Graphics
Creating masterpieces with raphael
Making Games in JavaScript
3. production experiments(2)
Pygame presentation
JoshuaGrey-2DGameWorkflow
Task 3.2 my computer game concept in detail presentation [my name] - 2017
Ad

Viewers also liked (13)

PDF
Devconf 2011 - PHP - How Yii framework is developed
PDF
Travel Tips Learned from Japan! - #japan #traveltips
PPTX
Deep dive into new ASP.NET MVC 4 Features
PDF
Yii - Next level PHP Framework von Florian Facker
PDF
Designing better user interfaces
PDF
iOS design: a case study
PPT
Japan pwrpnt
PPT
Japanese Culture
PPT
Japanese culture
PDF
Japan presentation
PPT
JAPAN, Land of the rising sun
PPT
Japan Power Point
Devconf 2011 - PHP - How Yii framework is developed
Travel Tips Learned from Japan! - #japan #traveltips
Deep dive into new ASP.NET MVC 4 Features
Yii - Next level PHP Framework von Florian Facker
Designing better user interfaces
iOS design: a case study
Japan pwrpnt
Japanese Culture
Japanese culture
Japan presentation
JAPAN, Land of the rising sun
Japan Power Point
Ad

Similar to Windows Phone: From Idea to Published Game in 75 minutes (20)

PPT
Mobile Game and Application with J2ME - Collision Detection
PPT
Mobile Game and Application with J2ME
PDF
Flappy bird
PDF
662305 LAB12
PDF
building_games_with_ruby_rubyconf
PDF
import java.awt.;import java.awt.event.MouseAdaptor;import java.pdf
PPT
Pygame : créer des jeux interactifs en Python.
PDF
ObjectiveCreate a graphical game of minesweeper IN JAVA. The boar.pdf
PPT
"Pemrograman Python untuk Pemula dan Ahli"
PDF
Following are the changes mentioned in bold in order to obtain the r.pdf
PDF
import java.awt.;import java.awt.event.;import javax.swing.;.pdf
PDF
Using Java, please write the program for the following prompt in the.pdf
PDF
The Ring programming language version 1.5.3 book - Part 79 of 184
PDF
Mouse and Cat Game In C++
PDF
Mashup caravan android-talks
PDF
Intro to programming games with clojure
PDF
Gems of GameplayKit. UA Mobile 2017.
DOCX
Applications
PDF
public class Game extends JPanel implements KeyListener{ public in.pdf
PDF
The Ring programming language version 1.10 book - Part 71 of 212
Mobile Game and Application with J2ME - Collision Detection
Mobile Game and Application with J2ME
Flappy bird
662305 LAB12
building_games_with_ruby_rubyconf
import java.awt.;import java.awt.event.MouseAdaptor;import java.pdf
Pygame : créer des jeux interactifs en Python.
ObjectiveCreate a graphical game of minesweeper IN JAVA. The boar.pdf
"Pemrograman Python untuk Pemula dan Ahli"
Following are the changes mentioned in bold in order to obtain the r.pdf
import java.awt.;import java.awt.event.;import javax.swing.;.pdf
Using Java, please write the program for the following prompt in the.pdf
The Ring programming language version 1.5.3 book - Part 79 of 184
Mouse and Cat Game In C++
Mashup caravan android-talks
Intro to programming games with clojure
Gems of GameplayKit. UA Mobile 2017.
Applications
public class Game extends JPanel implements KeyListener{ public in.pdf
The Ring programming language version 1.10 book - Part 71 of 212

More from Microsoft Developer Network (MSDN) - Belgium and Luxembourg (20)

PPTX
Code in the Cloud - Ghent - 20 February 2015
PPTX
Executive Summit for ISV & Application builders - January 2015
PDF
Executive Summit for ISV & Application builders - Internet of Things
PPTX
Executive Summit for ISV & Application builders - January 2015
PPTX
PPTX
cloud value for application development
PPTX
PPTX
Inside the Microsoft TechDays Belgium Apps
PPTX
PPTX
PPTX
Applied MVVM in Windows 8 apps: not your typical MVVM session!
PPTX
Building SPA’s (Single Page App) with Backbone.js
PPTX
Deep Dive and Best Practices for Windows Azure Storage Services
PPTX
Building data centric applications for web, desktop and mobile with Entity Fr...
Code in the Cloud - Ghent - 20 February 2015
Executive Summit for ISV & Application builders - January 2015
Executive Summit for ISV & Application builders - Internet of Things
Executive Summit for ISV & Application builders - January 2015
cloud value for application development
Inside the Microsoft TechDays Belgium Apps
Applied MVVM in Windows 8 apps: not your typical MVVM session!
Building SPA’s (Single Page App) with Backbone.js
Deep Dive and Best Practices for Windows Azure Storage Services
Building data centric applications for web, desktop and mobile with Entity Fr...

Recently uploaded (20)

PDF
Best IPTV Service Providers in the UK (2025) – Honest Reviews & Top Picks
PDF
WKA? #29.5: "HELLO NURSE" TRANSCRIPT.pdf
PPTX
701301-Happy Birthday Slideshow Template.pptx
PPTX
What Makes an Entertainment App Addictive?
PDF
EVs U-5 ONE SHOT Notes_c49f9e68-5eac-4201-bf86-b314ef5930ba.pdf
PPTX
Safety_Pharmacology_Tier2_Edibbbbbbbbbbbbbbbable.pptx
PDF
Rare Big Band Arrangers Who Revolutionized Big Band Music in USA.pdf
PDF
Download FL Studio Crack Latest version 2025
PDF
oppenheimer and the story of the atomic bomb
PDF
MAGNET STORY- Coaster Sequence (Rough Version 2).pdf
PDF
How Old Radio Shows in the 1940s and 1950s Helped Ella Fitzgerald Grow.pdf
PPTX
understanding the Human DNA components database design
PDF
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
DOC
UNG毕业证学历认证,阿莱恩特国际大学毕业证文凭证书
PDF
Watch Eddington (2025) – A Town Torn in Two
PDF
TAIPANQQ SITUS MUDAH MENANG DAN MUDAH MAXWIN SEGERA DAFTAR DI TAIPANQQ DAN RA...
PPTX
PRECISION AGRICULTURE- 1.pptx for agriculture
PDF
What is Rotoscoping Best Software for Rotoscoping in 2025.pdf
PDF
Commercial arboriculture Commercial Tree consultant Essex, Kent, Thaxted.pdf
PDF
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
Best IPTV Service Providers in the UK (2025) – Honest Reviews & Top Picks
WKA? #29.5: "HELLO NURSE" TRANSCRIPT.pdf
701301-Happy Birthday Slideshow Template.pptx
What Makes an Entertainment App Addictive?
EVs U-5 ONE SHOT Notes_c49f9e68-5eac-4201-bf86-b314ef5930ba.pdf
Safety_Pharmacology_Tier2_Edibbbbbbbbbbbbbbbable.pptx
Rare Big Band Arrangers Who Revolutionized Big Band Music in USA.pdf
Download FL Studio Crack Latest version 2025
oppenheimer and the story of the atomic bomb
MAGNET STORY- Coaster Sequence (Rough Version 2).pdf
How Old Radio Shows in the 1940s and 1950s Helped Ella Fitzgerald Grow.pdf
understanding the Human DNA components database design
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf
UNG毕业证学历认证,阿莱恩特国际大学毕业证文凭证书
Watch Eddington (2025) – A Town Torn in Two
TAIPANQQ SITUS MUDAH MENANG DAN MUDAH MAXWIN SEGERA DAFTAR DI TAIPANQQ DAN RA...
PRECISION AGRICULTURE- 1.pptx for agriculture
What is Rotoscoping Best Software for Rotoscoping in 2025.pdf
Commercial arboriculture Commercial Tree consultant Essex, Kent, Thaxted.pdf
WKA #29: "FALLING FOR CUPID" TRANSCRIPT.pdf

Windows Phone: From Idea to Published Game in 75 minutes

Editor's Notes

  • #3: Demo 01 - Smudgegame
  • #4: Demo 2 – SmudgeDraw
  • #5: Demo 03 Smudge Growing
  • #39: Make the point that it is more efficient to opimise the important bits than to try to optimise everything.A good diagnostic tool will tell you where your program is spending most of its time.
  • #40: Make the point that this will tell you about asset use, give indication of most popular methods and the time spent in them.
  • #41: Make the point that this can be obtained from the real device too.
  • #42: Demo 2 – SmudgeDraw
  • #44: Make the point that whenever a program is downloaded into a device for execution or deployment it is a XAP file that is sent.The XAP file is the totality of output from the Visual Studio solution. It contains XNA content too, if this has been added.
  • #45: Say that I got this by renaming the XAP file to ZIP and just browsing it
  • #46: This is something that people should not have to fiddle with, but it is useful to know how this all fits together
  • #47: This file is something that is very important. If you want to put an application in the Marketplace you will need to edit this file.
  • #48: Make the point that by default the project has every capability registered.You should make sure you only ask for the ones that you need.
  • #49: This step is very easy to do.Make the point that all these fields must be filled in correctly.The Genre setting determines what hub the application appears in, game or Silverlight
  • #50: We have seen the files as they are deployed in the XAP file. Now we can see how they are created and managed by the developer
  • #52: This is the file that you will submit.
  • #53: This is a very important document, make sure that everyone is aware that they must read this.Also remind folks that this document is updated quite frequently as the abilities of the phone evolve.For this reason they should keep up to date with it.
  • #55: This is a very useful way of testing programs. Make the point that you can deploy to the emulator as well.
  • #56: Make the point that hardware folks will always be able to break into the phone platform and steal stuff.For that reason, be careful about what you put out there.
  • #57: Make the point that the PreEmptive system also includes some very useful reporting tools.
  • #59: It might be worth mentioning some initiatives with Chevron who are bringing some lower cost “homebrew” access options.
  • #61: The payment to overseas is a pain, but not a problem.There are also some third party publishing houses that will allow you to publish your applications if you don’t want the hassle of publishing your own or you are based in one of the few countries that does not support Windows Phone Marketplace
  • #62: There is some history here, in that originally the number of free apps was limited.The limit was effectively removed some time back
  • #63: Note that there is nothing to stop developers releasing a fully functional application in “try before you buy” mode.
  • #66: Make the point that this happens to ensure a certain level of quality of applications.Remind folks that they can use this service as many times as they like.My experience has been that the validation process is speedy and the feedback is excellent
  • #67: My experience of this has been very good.
  • #69: The testing kit lets you perform the same automated tests that are performed during a submission.It also provides a set of steps identical to the ones used when the application is tested.Mention that the kit automatically updates with new procedures if the testing process changes.
  • #70: This is very new and shiny. The documentation for this lovely new feature is here:http://msdn.microsoft.com/en-us/library/hh334585(v=VS.92).aspx