{"id":2445,"date":"2013-04-22T16:05:51","date_gmt":"2013-04-22T16:05:51","guid":{"rendered":"http:\/\/www.benoitfreslon.com\/?p=2445"},"modified":"2024-07-19T09:31:21","modified_gmt":"2024-07-19T07:31:21","slug":"tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character","status":"publish","type":"post","link":"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/","title":{"rendered":"Tutorial: How to create a game like Angry Birds in Flash &#8211; Part 3 &#8211; Create the angry bird character"},"content":{"rendered":"<p><\/p>\n<h1>Tutoriel : Comment cr\u00e9er un jeu comme Angry Birds en Flash &#8211; Partie 3 &#8211; Cr\u00e9ation de l&rsquo;oiseau le personnage<\/h1>\n<h2>Introduction<\/h2>\n<p>Voici le troisi\u00e8me tutoriel pour apprendre \u00e0 cr\u00e9er un jeu Flash comme Angry Birds avec un moteur physique.<\/p>\n<p>Vous pouvez t\u00e9l\u00e9charger gratuitement les sources du tutoriel :\u00a0<a href=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/How_to_create_a_game_like_angry_birds_part3.zip\">https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/How_to_create_a_game_like_angry_birds_part3.zip<\/a><\/p>\n<p>Si vous avez rat\u00e9 le d\u00e9but du tutoriel c&rsquo;est ici :\u00a0<a href=\"https:\/\/benoitfreslon.com\/fr\/tutorial-how-to-create-a-game-like-angry-birds-with-box2d-world-constructin-kit-and-flash-part-1\">https:\/\/benoitfreslon.com\/fr\/tutorial-how-to-create-a-game-like-angry-birds-with-box2d-world-construction-kit-flash-part-1<\/a><\/p>\n<h2>Introduction<\/h2>\n<p>Dans ce tutoriel nous allons cr\u00e9er le personnage : L&rsquo;oiseau. Nous allons ajouter quelques interactions simples : Le tir et la r\u00e9apparition de l&rsquo;oiseau.<\/p>\n<p>[swf:https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/main1.swf 800 400]<\/p>\n<h2>Modifications<\/h2>\n<p>J&rsquo;ai modifi\u00e9 un peu les param\u00e8tres du monde pour avoir des mouvements plus lents et plus fluides.<\/p>\n<p>Cliquer sur le Clip de\u00a0<strong>World\u00a0<\/strong>sur la sc\u00e8ne et modifier ces propri\u00e9t\u00e9s depuis le panneau de propri\u00e9t\u00e9s :<\/p>\n<ol>\n<li>gravityY = 2<\/li>\n<li>timeStep = 0,04<\/li>\n<\/ol>\n<h2>Cr\u00e9ation de l&rsquo;oiseau<\/h2>\n<ol>\n<li>Insertion > Nouveau Symboler > Type :\u00a0<strong>Clip<\/strong><\/li>\n<li>Nom :\u00a0<strong>Bird<\/strong><\/li>\n<li>Cocher :\u00a0<strong>Exporter pour ActionScript<\/strong><\/li>\n<li>Classe :\u00a0<strong>Bird<\/strong><\/li>\n<li>Ok<\/li>\n<li>Dessiner une cercle rouge au centre du clip.<\/li>\n<li>R\u00e9gler les dimensions via le panneau propri\u00e9t\u00e9s en 30&#215;30.<\/li>\n<li>Dessiner les ailles et le visage de l&rsquo;oiseau comme ceci :<\/li>\n<\/ol>\n<p><a href=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/Capture-d\u2019\u00e9cran-2013-04-22-\u00e0-11.45.57.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Capture d\u2019\u00e9cran 2013-04-22 \u00e0 11.45.57\" src=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/Capture-d\u2019\u00e9cran-2013-04-22-\u00e0-11.45.57.png\" width=\"215\" height=\"211\" \/><\/a><\/p>\n<p>Ou t\u00e9l\u00e9charger ce sprite :<\/p>\n<p><a href=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/bird.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"bird\" src=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/bird.png\" width=\"42\" height=\"31\" \/><\/a><\/p>\n<p>Super maintenant ajouter une instance de <strong>Bird <\/strong>dans le clip<strong> World :<\/strong><\/p>\n<ol>\n<li>Double cliquer sur le clip <strong>World<\/strong> dans la biblioth\u00e8que.<\/li>\n<li>Faire glisser une instance de <strong>Bird<\/strong> dans le clip <strong>World<\/strong>.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/Capture-d\u2019\u00e9cran-2013-04-22-\u00e0-11.47.47.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Capture d\u2019\u00e9cran 2013-04-22 \u00e0 11.47.47\" src=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/Capture-d\u2019\u00e9cran-2013-04-22-\u00e0-11.47.47-300x167.png\" width=\"300\" height=\"167\" \/><\/a><\/p>\n<p>Maintenant cr\u00e9er la classe ActionScript <strong>Bird<\/strong> :<\/p>\n<ol>\n<li>Fichier > Nouveau > ActionScript 3.0 > Nom de classe : <strong>Bird<\/strong> > OK<\/li>\n<li>Fichier > Enregistrer > Enregistrer le fichier dans le m\u00eame dossier que le fichier <strong>main.fla<\/strong><\/li>\n<\/ol>\n<p><a href=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/Capture-d\u2019\u00e9cran-2013-04-17-\u00e0-11.48.31.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"Capture d\u2019\u00e9cran 2013-04-17 \u00e0 11.48.31\" src=\"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/Capture-d\u2019\u00e9cran-2013-04-17-\u00e0-11.48.31-300x180.png\" width=\"300\" height=\"180\" \/><\/a><\/p>\n<p>Enfin remplacer le code par celui-ci :<\/p>\n<pre class=\"brush:as3\">package {\r\n\timport flash.events.Event;\r\n\timport flash.utils.*;\r\n\timport flash.geom.*;\r\n\timport Box2DAS.*;\r\n\timport Box2DAS.Collision.*;\r\n\timport Box2DAS.Collision.Shapes.*;\r\n\timport Box2DAS.Common.*;\r\n\timport Box2DAS.Dynamics.*;\r\n\timport Box2DAS.Dynamics.Contacts.*;\r\n\timport Box2DAS.Dynamics.Joints.*;\r\n\timport cmodule.Box2D.*;\r\n\timport wck.*;\r\n\timport shapes.*;\r\n\timport misc.*;\r\n\timport extras.*;\r\n\tpublic class Bird extends Circle {\r\n\t\t\/** State of the bird. preparing, shooting *\/\r\n\t\tpublic var state:String;\r\n\t\t\/** Check if the player press the button to shoot *\/\r\n\t\tprivate var willShoot:Boolean = false;\r\n\t\t\/** Check if the player press the button to reset the bird position *\/\r\n\t\tprivate var willReset:Boolean = false;\r\n\t\t\/** Power of the shoot *\/\r\n\t\tprivate var power:Number = 0;\r\n\t\t\/** Get the angle in radians between the mouse cursor and the bird *\/\r\n\t\tprivate var angleRadian:Number = 0;\r\n\t\t\/** Init x position of the bird *\/\r\n\t\tprivate var initX:Number = 0;\r\n\t\t\/** Init t position of the bird *\/\r\n\t\tprivate var initY:Number = 0;\r\n\r\n\t\t\/** Constructor method, called when the bird instance is created *\/\r\n\t\tpublic function Bird() {\r\n\t\t\t\/\/ constructor code\r\n\r\n\t\t}\r\n\t\t\/** Called when the bird is added to stage by box2d *\/\r\n\t\toverride public function create():void {\r\n\r\n\t\t\t\/\/ Init position\r\n\t\t\tinitX = x;\r\n\t\t\tinitY = y;\r\n\r\n\t\t\ttrace(\"create\");\r\n\r\n\t\t\t\/\/ Physic properties\r\n\t\t\tdensity = 10;\r\n\t\t\tfriction = 1;\r\n\t\t\treportBeginContact = true;\r\n\t\t\treportEndContact = true;\r\n\t\t\treportPostSolve = true;\r\n\t\t\treportPreSolve = true;\r\n\t\t\tallowDragging = false;\r\n\t\t\tsuper.create();\r\n\r\n\t\t\t\/\/ Reset the bird at the begining\r\n\t\t\treset();\r\n\r\n\t\t\t\/\/ Add a loop, called 30 times per second\r\n\t\t\tlistenWhileVisible(world,StepEvent.STEP, step,false, 0);\r\n\t\t\ttrace(\"create end\");\r\n\t\t}\r\n\t\t\/** Set the physic shapes and the size *\/\r\n\t\toverride public function shapes():void {\r\n\t\t\t\/\/ 15 px of raduis\r\n\t\t\tcircle(15);\r\n\t\t}\r\n\t\t\/** Reset the bird *\/\r\n\t\tprivate function reset():void {\r\n\t\t\ttrace(\"reset\");\r\n\t\t\t\/\/ In order to move the body physic shapes we have to set the type to Animated\r\n\t\t\ttype = \"Animated\";\r\n\t\t\t\/\/ Set the init position\r\n\t\t\tx = initX;\r\n\t\t\ty = initY;\r\n\t\t\trotation = 0;\r\n\t\t\t\/\/ State when the bird is ready to be shooted\r\n\t\t\tstate = \"preparing\";\r\n\t\t\t\/\/ Reset booleans\r\n\t\t\twillReset = false;\r\n\t\t\twillShoot = false;\r\n\t\t}\r\n\t\t\/** Loop method *\/\r\n\t\tpublic function step(e:Event):void {\r\n\t\t\t\/\/ If the bird is ready to be shooted and the player press the mouse button\r\n\t\t\tif (state == \"preparing\" && Input.mouseIsDown) {\r\n\t\t\t\t\/\/ Mouse down\r\n\t\t\t\ttrace(\"mouse is down\");\r\n\t\t\t\tprepareShoot();\r\n\r\n\t\t\t} else if (state == \"preparing\" && !Input.mouseIsDown && willShoot) {\r\n\t\t\t\t\/\/ If the player release the button when the bird is ready to be shooted\r\n\t\t\t\tshoot();\r\n\t\t\t} else if (Input.mouseIsDown && state == \"shooting\") {\r\n\t\t\t\t\/\/ If the bird is shooted and the player press the mouse button\r\n\t\t\t\twillReset = true;\r\n\t\t\t} else if (!Input.mouseIsDown && willReset) {\r\n\t\t\t\t\/\/ If the bird is shooted and the player release the mouse button\r\n\t\t\t\treset();\r\n\t\t\t}\r\n\t\t}\r\n\t\t\/** Prepare to shoort method *\/\r\n\t\tprivate function shoot():void {\r\n\t\t\ttrace(\"shoot power:\", power);\r\n\t\t\t\/\/ The bird will be moved by the physic engine with type: Dynamic\r\n\t\t\ttype = \"Dynamic\";\r\n\t\t\t\/\/ Get the impulse force\r\n\t\t\tvar powerX:Number =  - power * Math.cos(angleRadian);\r\n\t\t\tvar powerY:Number =  - power * Math.sin(angleRadian);\r\n\t\t\t\/\/ Aplly the impulse force\r\n\t\t\tb2body.ApplyImpulse(new V2(powerX, powerY), b2body.GetWorldCenter());\r\n\t\t\t\/\/ Switch state to shooting\r\n\t\t\tstate = \"shooting\";\r\n\t\t}\r\n\t\t\/** Prepare to shoot method *\/\r\n\t\tprivate function prepareShoot():void {\r\n\t\t\t\/\/ Get the mouse position in the world MovieClip\r\n\t\t\tvar mouse:Point = Input.mousePositionIn(world);\r\n\t\t\t\/\/ Get the distance between the mouse and the bird\r\n\t\t\tvar distanceMouse:Number = Point.distance(mouse,new Point(x,y));\r\n\t\t\t\/\/ Limit the distance to 150px in order to limit the impulse force\r\n\t\t\tif (distanceMouse > 150) {\r\n\t\t\t\tdistanceMouse = 150;\r\n\t\t\t}\r\n\t\t\t\/\/ Set the boolean willShoot to true\r\n\t\t\twillShoot = true;\r\n\r\n\t\t\t\/\/ Convert distanceMouse to impulse force\r\n\t\t\tpower = distanceMouse \/ 13;\r\n\r\n\t\t\t\/\/ Get the radians angle between the mouse and the bird\r\n\t\t\tangleRadian = Math.atan2(mouse.y - y,mouse.x - x);\r\n\t\t\t\/\/ Orient the sprite to the shoot direction\r\n\t\t\trotation = angleRadian * 180 \/ Math.PI + 180;\r\n\t\t}\r\n\t}\r\n}<\/pre>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Tutoriel : Comment cr\u00e9er un jeu comme Angry Birds en Flash &#8211; Partie 3 &#8211; Cr\u00e9ation de l&rsquo;oiseau le personnage&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[209,94,208,6,213,402,210],"class_list":["post-2445","post","type-post","status-publish","format-standard","hentry","category-news","tag-angry-birds","tag-as3","tag-box2d","tag-flash","tag-sources","tag-tutoriels-flash","tag-wck","wpcat-1-id"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tutorial: How to create a game like Angry Birds in Flash - Part 3 - Create the angry bird character - Beno\u00eet Freslon<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Benoit Freslon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/\"},\"author\":{\"name\":\"Benoit Freslon\",\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/#\\\/schema\\\/person\\\/fe9fe28a6b6c2b56648448b977fd6b78\"},\"headline\":\"Tutorial: How to create a game like Angry Birds in Flash &#8211; Part 3 &#8211; Create the angry bird character\",\"datePublished\":\"2013-04-22T16:05:51+00:00\",\"dateModified\":\"2024-07-19T07:31:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/\"},\"wordCount\":557,\"image\":{\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/benoitfreslon.com\\\/wp-content\\\/uploads\\\/2013\\\/04\\\/bird.png\",\"keywords\":[\"angry birds\",\"as3\",\"box2d\",\"flash\",\"sources\",\"Tutoriels Flash\",\"wck\"],\"articleSection\":[\"Actualit\u00e9s\"],\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/\",\"url\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/\",\"name\":\"Tutorial: How to create a game like Angry Birds in Flash - Part 3 - Create the angry bird character - Beno\u00eet Freslon\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/benoitfreslon.com\\\/wp-content\\\/uploads\\\/2013\\\/04\\\/bird.png\",\"datePublished\":\"2013-04-22T16:05:51+00:00\",\"dateModified\":\"2024-07-19T07:31:21+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/#\\\/schema\\\/person\\\/fe9fe28a6b6c2b56648448b977fd6b78\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[[\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/\"]]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/#primaryimage\",\"url\":\"https:\\\/\\\/benoitfreslon.com\\\/wp-content\\\/uploads\\\/2013\\\/04\\\/bird.png\",\"contentUrl\":\"https:\\\/\\\/benoitfreslon.com\\\/wp-content\\\/uploads\\\/2013\\\/04\\\/bird.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/news\\\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorial: How to create a game like Angry Birds in Flash &#8211; Part 3 &#8211; Create the angry bird character\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/\",\"name\":\"Beno\u00eet Freslon\",\"description\":\"[:en]Game designer | D\u00e9veloppeur de jeux ind\u00e9pendant | Freelance | Enseignant | Blogueur[:fr]Game designer | Independent game developer | Freelance | Teacher | Blogger[:]\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/benoitfreslon.com\\\/#\\\/schema\\\/person\\\/fe9fe28a6b6c2b56648448b977fd6b78\",\"name\":\"Benoit Freslon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b828da2527f91fb7c86dab67050492f4303279afa245d6e718ea1c6e6f00bb2?s=96&d=identicon&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b828da2527f91fb7c86dab67050492f4303279afa245d6e718ea1c6e6f00bb2?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b828da2527f91fb7c86dab67050492f4303279afa245d6e718ea1c6e6f00bb2?s=96&d=identicon&r=g\",\"caption\":\"Benoit Freslon\"},\"sameAs\":[\"https:\\\/\\\/benoitfreslon.com\",\"https:\\\/\\\/www.instagram.com\\\/benoitfreslon\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/benoitfreslon\",\"https:\\\/\\\/x.com\\\/BenoitFreslon\",\"https:\\\/\\\/www.youtube.com\\\/benoitfreslon\"],\"url\":\"https:\\\/\\\/benoitfreslon.com\\\/fr\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tutorial: How to create a game like Angry Birds in Flash - Part 3 - Create the angry bird character - Beno\u00eet Freslon","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/","twitter_misc":{"\u00c9crit par":"Benoit Freslon","Dur\u00e9e de lecture estim\u00e9e":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/benoitfreslon.com\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/#article","isPartOf":{"@id":"https:\/\/benoitfreslon.com\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/"},"author":{"name":"Benoit Freslon","@id":"https:\/\/benoitfreslon.com\/#\/schema\/person\/fe9fe28a6b6c2b56648448b977fd6b78"},"headline":"Tutorial: How to create a game like Angry Birds in Flash &#8211; Part 3 &#8211; Create the angry bird character","datePublished":"2013-04-22T16:05:51+00:00","dateModified":"2024-07-19T07:31:21+00:00","mainEntityOfPage":{"@id":"https:\/\/benoitfreslon.com\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/"},"wordCount":557,"image":{"@id":"https:\/\/benoitfreslon.com\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/#primaryimage"},"thumbnailUrl":"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/bird.png","keywords":["angry birds","as3","box2d","flash","sources","Tutoriels Flash","wck"],"articleSection":["Actualit\u00e9s"],"inLanguage":"fr-FR"},{"@type":"WebPage","@id":"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/","url":"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/","name":"Tutorial: How to create a game like Angry Birds in Flash - Part 3 - Create the angry bird character - Beno\u00eet Freslon","isPartOf":{"@id":"https:\/\/benoitfreslon.com\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/#primaryimage"},"image":{"@id":"https:\/\/benoitfreslon.com\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/#primaryimage"},"thumbnailUrl":"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/bird.png","datePublished":"2013-04-22T16:05:51+00:00","dateModified":"2024-07-19T07:31:21+00:00","author":{"@id":"https:\/\/benoitfreslon.com\/#\/schema\/person\/fe9fe28a6b6c2b56648448b977fd6b78"},"breadcrumb":{"@id":"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":[["https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/"]]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/#primaryimage","url":"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/bird.png","contentUrl":"https:\/\/benoitfreslon.com\/wp-content\/uploads\/2013\/04\/bird.png"},{"@type":"BreadcrumbList","@id":"https:\/\/benoitfreslon.com\/fr\/news\/tutorial-how-to-create-a-game-like-angry-birds-in-flash-part-3-create-the-angry-bird-character\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/benoitfreslon.com\/fr\/"},{"@type":"ListItem","position":2,"name":"Tutorial: How to create a game like Angry Birds in Flash &#8211; Part 3 &#8211; Create the angry bird character"}]},{"@type":"WebSite","@id":"https:\/\/benoitfreslon.com\/fr\/#website","url":"https:\/\/benoitfreslon.com\/fr\/","name":"Beno\u00eet Freslon","description":"[:en]Game designer | D\u00e9veloppeur de jeux ind\u00e9pendant | Freelance | Enseignant | Blogueur[:fr]Game designer | Independent game developer | Freelance | Teacher | Blogger[:]","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/benoitfreslon.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Person","@id":"https:\/\/benoitfreslon.com\/#\/schema\/person\/fe9fe28a6b6c2b56648448b977fd6b78","name":"Benoit Freslon","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/secure.gravatar.com\/avatar\/0b828da2527f91fb7c86dab67050492f4303279afa245d6e718ea1c6e6f00bb2?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0b828da2527f91fb7c86dab67050492f4303279afa245d6e718ea1c6e6f00bb2?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b828da2527f91fb7c86dab67050492f4303279afa245d6e718ea1c6e6f00bb2?s=96&d=identicon&r=g","caption":"Benoit Freslon"},"sameAs":["https:\/\/benoitfreslon.com","https:\/\/www.instagram.com\/benoitfreslon","https:\/\/www.linkedin.com\/in\/benoitfreslon","https:\/\/x.com\/BenoitFreslon","https:\/\/www.youtube.com\/benoitfreslon"],"url":"https:\/\/benoitfreslon.com\/fr\/author\/admin\/"}]}},"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/pLAe3-Dr","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/posts\/2445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/comments?post=2445"}],"version-history":[{"count":24,"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/posts\/2445\/revisions"}],"predecessor-version":[{"id":39103,"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/posts\/2445\/revisions\/39103"}],"wp:attachment":[{"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/media?parent=2445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/categories?post=2445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/benoitfreslon.com\/fr\/wp-json\/wp\/v2\/tags?post=2445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}