{"id":232,"date":"2009-05-26T01:05:18","date_gmt":"2009-05-25T16:05:18","guid":{"rendered":"http:\/\/clockmaker.jp\/blog-en\/?p=232"},"modified":"2009-05-26T01:05:18","modified_gmt":"2009-05-25T16:05:18","slug":"fur-ball-simulation","status":"publish","type":"post","link":"http:\/\/clockmaker.jp\/blog-en\/2009\/05\/fur-ball-simulation\/","title":{"rendered":"Fur Ball (How to Flash Pre-Rendering)"},"content":{"rendered":"<p><a href=\"http:\/\/wonderfl.kayac.com\/code\/323ea465323f8148d4e0028b4c55e6b3ce18b1d7\"><img decoding=\"async\" src=\"http:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2009\/05\/090525_marimo1.png\" alt=\"\" \/><\/a><\/p>\n<p>I made <a href=\"http:\/\/wonderfl.kayac.com\/code\/323ea465323f8148d4e0028b4c55e6b3ce18b1d7\">Fur Ball Simulation<\/a> folked from <a href=\"http:\/\/wonderfl.kayac.com\/code\/9bac41641c1505b071cb08a4b76c4d582308a875\">Marimo<\/a> by <a href=\"http:\/\/wonderfl.kayac.com\/user\/tail_y\">tail_y<\/a>.<\/p>\n<ul>\n<li><a title=\"Marimo with Pre-Rendering | wonderfl build flash online\" href=\"http:\/\/wonderfl.kayac.com\/code\/323ea465323f8148d4e0028b4c55e6b3ce18b1d7\" target=\"_blank\">Marimo with Pre-Rendering<\/a><\/li>\n<li><a title=\"Marimo with Pre-Rendering (High-HPS) | wonderfl build flash online\" href=\"http:\/\/wonderfl.kayac.com\/code\/e221dba0b6babe58818d118a5a62890f8a1e4c92\" target=\"_blank\">Marimo with Pre-Rendering (High-HPS)<\/a><\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h3>How to Pre-Rendering<\/h3>\n<p>The best way is use <a href=\"http:\/\/progression.jp\/en\/\">Progression -Flash Framework-<\/a>. You can treat async-processing as sync-processing by Comand Lib of Progression.<\/p>\n<p>ex)<\/p>\n<pre id=\"line1\">var com:SerialList = new SerialList()\ncom.addCommand(\n\t\/\/ start prerender\n\tfunction():void{\n\t\tfor(var i=0; i&lt;NUM; i++){\n\t\t\tthis.parent.insertCommand(\n\t\t\t\tfunction(){\n\t\t\t\t\t\/\/render\n\t\t\t\t},\n\t\t\t\tnew Wait(50) \/\/ treat as async\n\t\t\t)\n\t\t}\n\t},\n\t\/\/ complete pre-render\n\tfunction():void{\n\t\t\/\/ your code\n\t}\n)\ncom.execute()<\/pre>\n<div style=\"text-align:center;width:465px;\"><iframe loading=\"lazy\" title=\"Marimo with Pre-Rendering - wonderfl build flash online\" src=\"http:\/\/wonderfl.kayac.com\/blogparts\/323ea465323f8148d4e0028b4c55e6b3ce18b1d7\" width=\"465\" height=\"490\" style=\"border:1px black solid;\"><\/iframe><a href=\"http:\/\/wonderfl.kayac.com\/code\/323ea465323f8148d4e0028b4c55e6b3ce18b1d7\" title=\"Marimo with Pre-Rendering - wonderfl build flash online\">Marimo with Pre-Rendering &#8211; wonderfl build flash online<\/a><\/div>\n<div style=\"text-align:center;width:465px;\"><iframe loading=\"lazy\" title=\"Marimo with Pre-Rendering (High-FPS) - wonderfl build flash online\" src=\"http:\/\/wonderfl.kayac.com\/blogparts\/e221dba0b6babe58818d118a5a62890f8a1e4c92\" width=\"465\" height=\"490\" style=\"border:1px black solid;\"><\/iframe><a href=\"http:\/\/wonderfl.kayac.com\/code\/e221dba0b6babe58818d118a5a62890f8a1e4c92\" title=\"Marimo with Pre-Rendering (High-FPS) - wonderfl build flash online\">Marimo with Pre-Rendering (High-FPS) &#8211; wonderfl build flash online<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I made Fur Ball Simulation folked from Marimo by tail_y. Marimo with Pre-Rendering Marimo with Pre-Rendering (High-HPS)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-232","post","type-post","status-publish","format-standard","hentry","category-as30"],"_links":{"self":[{"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":0,"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"wp:attachment":[{"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/clockmaker.jp\/blog-en\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}