{"id":27,"date":"2005-05-17T13:52:58","date_gmt":"2005-05-17T12:52:58","guid":{"rendered":"http:\/\/www.matazone.co.uk\/blog\/?p=27"},"modified":"2005-05-18T03:01:46","modified_gmt":"2005-05-18T02:01:46","slug":"feed-the-nine-mouthed-baby","status":"publish","type":"post","link":"https:\/\/www.matazone.co.uk\/blog\/?p=27","title":{"rendered":"Feed The Nine-Mouthed Baby"},"content":{"rendered":"<p>I&#8217;m guessing that many of the people on here might not have seen this early game that I made:<\/p>\n<p><a href=\"http:\/\/www.matazone.co.uk\/animpages\/feed-the-nine-mouthed-baby-game.html\">Feed the Nine-Mouthed Baby<\/a><\/p>\n<p>If you&#8217;re a person who knows a bit of programming in Flash you might be surprised to hear that almost the entire thing is driven by the timeline and not actionscript. <\/p>\n<p>This was back in the days when programming something like <a href=\"http:\/\/www.matazone.co.uk\/animpages\/the_hedgehog_game.html\">my hedgehog game<\/a> would have been completely beyond me, so I put all of the sound files on the timeline with a frame name then animated the mouth over the right place. <\/p>\n<p>I found that the dropTarget command wouldn&#8217;t recognise a movie clip, for some reason, so all of the mouth movements are animated individually from their graphic instances. <\/p>\n<p>Each of these one-phrase sections then only had one draggable object, the one being asked for. These days I would use an &#8216;if&#8217; loop to make the correct object draggable, but this was the only way I knew at the time.<\/p>\n<p>I then had a couple of simple scripts running, one to generate a random number between one and nine for the movie to know which one-line section to play, another for a timer, and another for the end of the timer to judge whether enough objects had been correctly fed. <\/p>\n<p>Sometimes old methods can be the most effective! If you&#8217;re making something in Flash don&#8217;t always be obsessed with doing it the most technical way, sometimes a bit of the old-fashioned skills such as timeline tweening can be equally effective in achieving the results you want.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m guessing that many of the people on here might not have seen this early game that I made: Feed the Nine-Mouthed Baby If you&#8217;re a person who knows a bit of programming in Flash you might be surprised to hear that almost the entire thing is driven by the timeline and not actionscript. This &hellip; <a href=\"https:\/\/www.matazone.co.uk\/blog\/?p=27\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Feed The Nine-Mouthed Baby<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1071,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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":[2,1],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-animation","category-news"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5bQqr-r","_links":{"self":[{"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1071"}],"replies":[{"embeddable":true,"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27"}],"version-history":[{"count":0,"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matazone.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}