SlideShare une entreprise Scribd logo
1  sur  51
Télécharger pour lire hors ligne
Dev WP7 – IRL
Johan Lindfors
agenda

•   inspiration
•   planering
•   design
•   utveckling
•   publicering
phoneBeat
file | new
    start inspiration
www.windowsphoneapplist.com
Inspiration   Design   Utveckling
Inspiration   Design   Utveckling
file | new
start inspiration plan
cocktail flow
facebook
usa today
runkeeper
harbor master
file | new
piration planering desig
“Marketing by not asking any questions
first!“
         – Percy Nilegård
ho
  hen
 hy
 here
hat
planera & fokusera

•   gör en sak riktigt, riktigt bra
•   inga kruseduller
•   förhindra misstag
•   ”don’t make me think”
Who     – personer som tränar
What    – registrera träningstillfällen
When    – efter att de tränat klart
Where   – på gymmet
Why     – för att dela med sig och tävla
file | new
anering design utvecklin
metro

•   design för utvecklare
•   struktur, enkelhet, innehåll
•   text
•   rörelse
pivot eller panorama?
www.jeff.wilcox.name/2011/03/metro-design-guide-v1/
file | new
design utveckling   publ
mvvm

•   prism
•   caliburn micro
•   mvvmlight
•   ultralight.mvvm
demo
nätverk

• asynkrona anrop
• webclient eller httpWebRequest
• async ctp
demo
lagra data

•   isolatedstorage
•   serialisering
•   xml/json/binärt
•   inställningar
demo
lokalisering

•   cultureinfo
•   resurser
•   kod
•   xaml
demo
prestanda

•   uppfattad vs verklig
•   använd rörelse
•   trådhantering
•   analysera och optimera
•   testa på en riktig enhet
file | new
eckling publicering
marketplace

•   testa, testa, testa
•   lokal struktur
•   uppdateringar
•   auto-publicering
tripeaks solitaire

• fabrication games
• äkta 3D
• all kod i objective-c
-(BOOL)      animate
{
    if([self animation] == nil)
    {
         [self draw];
         return NO;
    }
    else
    {
         BOOL animationDone = [[self animation] animate];
         [self draw];

        if (animationDone)
        {
            x += [[self animation] currentX];
            y += [[self animation] currentY];
            z += [[self animation] currentZ];
            rotation += [[self animation] currentRotation];
            [animations removeObjectAtIndex:0];
        }
        return animationDone;
    }
}
public bool Animate()
{
    if (this.Animation == null)
    {
         this.Draw();
         return false;
    }
    else
    {
         bool animationDone = this.Animation.Animate();
         this.Draw();

        if (animationDone)
        {
            x += this.Animation.CurrentX;
            y += this.Animation.CurrentY;
            z += this.Animation.CurrentZ;
            rotation += this.Animation.CurrentRotation;
            animations.RemoveAt(0);
        }
        return animationDone;
    }
}
public bool Animate(GraphicsDevice graphics, BasicEffect effect)
{
    if (this.Animation == null)
    {
         this.Draw(graphics, effect);
         return false;
    }
    else
    {
         bool animationDone = this.Animation.Animate();
         this.Draw(graphics, effect);

        if (animationDone)
        {
            x += this.Animation.CurrentX;
            y += this.Animation.CurrentY;
            z += this.Animation.CurrentZ;
            rotation += this.Animation.CurrentRotation;
            animations.RemoveAt(0);
        }
        return animationDone;
    }
}
johan.lindfors@infozone.se

Contenu connexe

Plus de Johan Lindfors

Windows Phone 7.5 (Mango)
Windows Phone 7.5 (Mango)Windows Phone 7.5 (Mango)
Windows Phone 7.5 (Mango)
Johan Lindfors
 
Säker utveckling med SDL
Säker utveckling med SDLSäker utveckling med SDL
Säker utveckling med SDL
Johan Lindfors
 

Plus de Johan Lindfors (11)

Being a game developer with the skills you have
Being a game developer with the skills you haveBeing a game developer with the skills you have
Being a game developer with the skills you have
 
MVVM
MVVMMVVM
MVVM
 
Real life XNA
Real life XNAReal life XNA
Real life XNA
 
Windows Phone 7.5 (Mango)
Windows Phone 7.5 (Mango)Windows Phone 7.5 (Mango)
Windows Phone 7.5 (Mango)
 
Windows phone 7
Windows phone 7Windows phone 7
Windows phone 7
 
Metro and Windows Phone 7
Metro and Windows Phone 7Metro and Windows Phone 7
Metro and Windows Phone 7
 
Säker utveckling med SDL
Säker utveckling med SDLSäker utveckling med SDL
Säker utveckling med SDL
 
Windows Mobile 6.5
Windows Mobile 6.5Windows Mobile 6.5
Windows Mobile 6.5
 
Microsoft Net 4.0
Microsoft Net 4.0Microsoft Net 4.0
Microsoft Net 4.0
 
Effektiva gränssnitt med WM 6.5
Effektiva gränssnitt med WM 6.5Effektiva gränssnitt med WM 6.5
Effektiva gränssnitt med WM 6.5
 
Att hålla presentationer
Att hålla presentationerAtt hålla presentationer
Att hålla presentationer
 

Develop for WP7 IRL