Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Développement d'un jeu de plateforme en html5

2,720 views

Published on

Session sur le développement d'un jeu de plateforme en HTML5 / Canvas jouée pendant les Microsoft Days 2011.

On y voit :

- les différents frameworks de jeux JS du marché ainsi qu'une comparaison de performance entre SVG et Canvas
- La manière d'animer des sprites
- La manière d'ajouter de la logique pour les tests de collisions
- Le jeu HTML5 Platformer complet
- Des idées pour aller plus loin: webworkers, requestAnimationFrame, Box2D, etc.

Published in: Technology
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Développement d'un jeu de plateforme en html5

  1. 1. Développement dun jeude plateforme en HTML5David Rousset / Microsoft France / @davroushttp://blogs.msdn.com/davrous 2
  2. 2. Au menu Analyse des technologies HTML5 et frameworks JS disponibles Animation des sprites Construction des objets principaux Détails sur le jeu complet Moteur physique, logique du jeu, chargement des niveaux Des idées pour aller plus loin 3
  3. 3. DémoObjectif : porter le jeu XNA qui va suivre 4
  4. 4. Niveau 1: analyse de l’existant Il existe 2 manières de dessiner en HTML5: <canvas> : à voir comme une zone bitmap dynamique dans laquelle on dessine à l’aide de primitives en JavaScript SVG : affichage de formes vectorielles décrites par XML Il existe de nombreux frameworks JavaScript pour le jeu: impactJS, craftyJS, melonJS, EaselJS, etc. 5
  5. 5. Niveau 1: <canvas> préférable 6
  6. 6. DémoAnalyse rapide des performances d’animationentre SVG et canvas 7
  7. 7. Niveau 1: EaselJS pour le framework Questions à se poser : Qualité / retour d’expériences ? Fréquence de mise à jour, suivi des bugs ouverts ? Compatibilité multi-navigateurs ? Connaissances actuelles ? Mes réponses pour EaselJS: Déjà utilisé pour PiratesLoveDaisies et Tanker Bon suivi des bugs sur Github Testé et approuvé sur les 5 navigateurs Mes connaissances/assets XNA facilement portables 8
  8. 8. DémoQuelques frameworks de jeu en action 9
  9. 9. Niveau 2: Animation des sprites Nous allons maintenant voir comment partir de ce genre de sprites : Et réussir à leur donner vie ! 10
  10. 10. DémoAnimation des sprites 11
  11. 11. Niveau 3: Objets principaux & collisions Créations des objets associés aux personnages dont le héro : Gestionnaire de téléchargement de ressources Collisions simples 12
  12. 12. DémoCréation des objets principaux et de leurscollisions 13
  13. 13. Niveau 4: revue des quelques détailsdu jeu complet Gestionnaire de téléchargements complet Collisions plus précises Chargement du niveau Moteur physique simpliste Astuces pour gérer le son Kudos pour IE9 14
  14. 14. DémoParcourrons ensemble le code du jeu 15
  15. 15. Niveau 5: pour aller plus loin Meilleure gestion des performance Monothreading vs WebWorkers requestAnimationFrame Adaptation FPS / performance Librairies plus avancées Box2D Gestion des devices mobiles Touch Scaling résolution Accéléromètre Gestion réseaux sociaux 16
  16. 16. RessourcesSérie de 3 tutoriaux sur le portage du jeu : Jeux HTML5: animation de sprites dans l’élément Canvas grâce à EaselJS Jeux HTML5: construction des objets principaux & gestion des collisions avec EaselJS HTML5 Platformer: portage complet du jeu XNA vers <canvas> grâce à EaselJSSur mon blog: http://blogs.msdn.com/davrous 17

×