SHARE
TWEET

http://wordpress.stackexchange.com/posts/100256/

a guest May 22nd, 2013 31 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <!-- This site is optimized with the Yoast WordPress SEO plugin v1.4.7 - http://yoast.com/wordpress/seo/ -->
  3. <link rel="canonical" href="http://jorjon.com/blog/" />
  4. <meta property='og:locale' content='en_US'/>
  5. <meta property='og:type' content='website'/>
  6. <meta property='og:title' content='Jorjon Games - The new name in amateur videogames'/>
  7. <meta property='og:url' content='http://jorjon.com/blog/'/>
  8. <meta property='og:site_name' content='Jorjon Games'/>
  9. <!-- / Yoast WordPress SEO plugin. -->
  10.  
  11. <link rel="alternate" type="application/rss+xml" title="Jorjon Games &raquo; Feed" href="http://jorjon.com/blog/feed/" />
  12. <link rel="alternate" type="application/rss+xml" title="Jorjon Games &raquo; Comments Feed" href="http://jorjon.com/blog/comments/feed/" />
  13.                 <script type="text/javascript">
  14.                 //<![CDATA[
  15.                 var infiniteScroll = {"settings":{"id":"content","ajaxurl":"http:\/\/jorjon.com\/blog\/?infinity=scrolling","type":"scroll","wrapper":true,"wrapper_class":"infinite-wrap","footer":"page","text":"Older posts","totop":"Scroll back to top","order":"DESC","scripts":[],"styles":[],"google_analytics":false,"offset":1,"history":{"host":"jorjon.com\/blog","path":"\/page\/%d\/","use_trailing_slashes":true},"stats":"blog=48804302&host=jorjon.com&v=ext&j=1:2.2.5&x_pagetype=infinite-jetpack"}};
  16.                 //]]>
  17.                 </script>
  18.                 <link rel='stylesheet' id='output-css'  href='http://jorjon.com/blog/wp-content/plugins/addthis/css/output.css?ver=3.5.1' type='text/css' media='all' />
  19. <link rel='stylesheet' id='the-neverending-homepage-css'  href='http://jorjon.com/blog/wp-content/plugins/jetpack/modules/infinite-scroll/infinity.css?ver=20120612' type='text/css' media='all' />
  20. <link rel='stylesheet' id='jetpack-slideshow-css'  href='http://jorjon.com/blog/wp-content/plugins/jetpack/modules/shortcodes/css/slideshow-shortcode.css?ver=3.5.1' type='text/css' media='all' />
  21. <link rel='stylesheet' id='jetpack-widgets-css'  href='http://jorjon.com/blog/wp-content/plugins/jetpack/modules/widgets/widgets.css?ver=20121003' type='text/css' media='all' />
  22. <link rel='stylesheet' id='twentytwelve-fonts-css'  href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700&#038;subset=latin,latin-ext' type='text/css' media='all' />
  23. <link rel='stylesheet' id='twentytwelve-style-css'  href='http://jorjon.com/blog/wp-content/themes/twentytwelve/style.css?ver=3.5.1' type='text/css' media='all' />
  24. <!--[if lt IE 9]>
  25. <link rel='stylesheet' id='twentytwelve-ie-css'  href='http://jorjon.com/blog/wp-content/themes/twentytwelve/css/ie.css?ver=20121010' type='text/css' media='all' />
  26. <![endif]-->
  27. <link rel='stylesheet' id='infinity-twentytwelve-css'  href='http://jorjon.com/blog/wp-content/plugins/jetpack/modules/infinite-scroll/themes/twentytwelve.css?ver=20120817' type='text/css' media='all' />
  28. <script type='text/javascript' src='http://jorjon.com/blog/wp-includes/js/jquery/jquery.js?ver=1.8.3'></script>
  29. <script type='text/javascript' src='http://jorjon.com/blog/wp-content/plugins/jetpack/modules/infinite-scroll/infinity.js?ver=20130101'></script>
  30. <script type='text/javascript' src='http://jorjon.com/blog/wp-includes/js/swfobject.js?ver=2.2-20120417'></script>
  31. <script type='text/javascript' src='http://s0.videopress.com/js/videopress.js?ver=1.09'></script>
  32. <script type='text/javascript' src='http://jorjon.com/blog/wp-content/plugins/jetpack/_inc/spin.js?ver=1.2.4'></script>
  33. <script type='text/javascript' src='http://jorjon.com/blog/wp-content/plugins/jetpack/_inc/jquery.spin.js?ver=3.5.1'></script>
  34.  
  35. <script type="text/javascript" charset="utf-8">
  36.         (function(){
  37.                 try {
  38.                         // Disabling SWFObject's Autohide feature
  39.                         if (typeof swfobject.switchOffAutoHideShow === "function") {
  40.                                 swfobject.switchOffAutoHideShow();
  41.                         }
  42.                 } catch(e) {}
  43.         })();
  44. </script>
  45. <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://jorjon.com/blog/xmlrpc.php?rsd" />
  46. <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://jorjon.com/blog/wp-includes/wlwmanifest.xml" />
  47. <meta name="generator" content="WordPress 3.5.1" />
  48. <link rel='shortlink' href='http://wp.me/3iMea' />
  49. {"type":"success","html":"<div class=\"infinite-wrap infinite-view-1\" id=\"infinite-view-1\" data-page-num=\"1\">\n\t<article id=\"post-167\" class=\"post-167 post type-post status-publish format-standard hentry category-tools tag-actionscript tag-as3 tag-game-development tag-progress tag-tool-development tag-wip\">\n\t\t\t\t<header class=\"entry-header\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/developing-an-event-manager\/\" title=\"Permalink to Developing an event manager\" rel=\"bookmark\">Developing an event manager<\/a>\n\t\t\t<\/h1>\n\t\t\t\t\t\t\t\t\t\t<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/developing-an-event-manager\/#comments\" title=\"Comment on Developing an event manager\">1 Reply<\/a>\t\t\t\t<\/div><!-- .comments-link -->\n\t\t\t\t\t<\/header><!-- .entry-header -->\n\n\t\t\t\t<div class=\"entry-content\">\n\t\t\t<p>Yep, it&#8217;s true, I&#8217;m making\u00a0<a title=\"Resource file generator for Actionscript\u00a03\" href=\"http:\/\/jorjongames.wordpress.com\/2013\/01\/22\/resource-file-generator-for-actionscript-3\/\">yet<\/a> <a href=\"http:\/\/www.jorjon.com\/consolator\">another <\/a>library for pure Actionscript 3.<\/p>\n<p>Have you ever wanted to script a movement for an enemy? Maybe an <strong>enemy pattern<\/strong> in a <a href=\"http:\/\/www.shmups.com\/\">shmup<\/a>, maybe a <strong>cutscene<\/strong>? Now you can do it visually, and export the code.<\/p>\n<p>My goal with this library is to handle basic actions of any object, and change visually the position and action using a node-based interface.<\/p>\n<div id=\"attachment_169\" class=\"wp-caption aligncenter\" style=\"width: 324px\"><img class=\"size-full wp-image-169 \" alt=\"EventManager\" src=\"http:\/\/jorjon.com\/blog\/wp-content\/uploads\/2013\/03\/2013-03-08_010204.png\" width=\"314\" height=\"320\" \/><p class=\"wp-caption-text\">Yep, I know the UI is ugly. This is a WIP.<\/p><\/div>\n<h1>Features<\/h1>\n<ul>\n<li><span style=\"line-height:13px;\"><strong>Export all events to code<\/strong>. Supports its own system, <a href=\"http:\/\/www.greensock.com\/timelinemax\/\">Greensock Timeline<\/a>\u00a0or <a href=\"http:\/\/wiki.starling-framework.org\/manual\/animation\">Starling Juggler<\/a>.<br \/>\n<\/span><\/li>\n<li><strong>User friendly node-based interface<\/strong>. Just drag to change the path.<\/li>\n<li><strong>WYSIWYG<\/strong>. No external tool needed, you will change the path of your characters while playing.<\/li>\n<li><strong>Beziers and Splines.<\/strong> It supports cardinal\/catmull rom splines, quadratic\/cubic bezier, and of course straight lines.<\/li>\n<li><strong>Ability to setup triggers<\/strong>. Want to play a sound when the character reaches a position and then keep moving? You can.<\/li>\n<li><strong>Easily extended using plugins<\/strong>. You can code your own actions and set a node for that.<\/li>\n<li><strong>No 3rd party library dependency<\/strong>. It will detect other libraries and act accordingly, but they are not required.<\/li>\n<li><strong>Easy to implement<\/strong>. Just 2 lines of code and you have the visual editor running in your game.<\/li>\n<\/ul>\n<p>Remember, this is still WIP. If you wanna try it out, it will be my pleasure to handle you a beta.<\/p>\n\t\t\t\t\t<\/div><!-- .entry-content -->\n\t\t\n\t\t<footer class=\"entry-meta\">\n\t\t\tThis entry was posted in <a href=\"http:\/\/jorjon.com\/blog\/category\/development\/tools\/\" title=\"View all posts in Tools\" rel=\"category tag\">Tools<\/a> and tagged <a href=\"http:\/\/jorjon.com\/blog\/tag\/actionscript\/\" rel=\"tag\">actionscript<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/as3\/\" rel=\"tag\">as3<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/game-development\/\" rel=\"tag\">game development<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/progress\/\" rel=\"tag\">progress<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/tool-development\/\" rel=\"tag\">tool development<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/wip\/\" rel=\"tag\">wip<\/a> on <a href=\"http:\/\/jorjon.com\/blog\/developing-an-event-manager\/\" title=\"4:07 am\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2013-03-08T04:07:36+00:00\">March 8, 2013<\/time><\/a><span class=\"by-author\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"http:\/\/jorjon.com\/blog\/author\/admin\/\" title=\"View all posts by Jorjon\" rel=\"author\">Jorjon<\/a><\/span><\/span>.\t\t\t\t\t\t\t\t<\/footer><!-- .entry-meta -->\n\t<\/article><!-- #post -->\n\n\t<article id=\"post-129\" class=\"post-129 post type-post status-publish format-standard hentry category-competitions tag-actionscript tag-flash tag-jenga tag-ludum-dare tag-minild40 tag-nape tag-physics tag-rss tag-tetris\">\n\t\t\t\t<header class=\"entry-header\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/avoid-the-world\/\" title=\"Permalink to Avoid the world\" rel=\"bookmark\">Avoid the world<\/a>\n\t\t\t<\/h1>\n\t\t\t\t\t\t\t\t\t\t<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/avoid-the-world\/#respond\" title=\"Comment on Avoid the world\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div><!-- .comments-link -->\n\t\t\t\t\t<\/header><!-- .entry-header -->\n\n\t\t\t\t<div class=\"entry-content\">\n\t\t\t<p style=\"text-align: center;\"><a href=\"http:\/\/jorjon.com\/minild40\/\"><img class=\"aligncenter\" style=\"background-color: transparent; border: 0;\" alt=\"tag cloud\" src=\"http:\/\/jorjon.com\/blog\/wp-content\/uploads\/2013\/03\/tagcloud.png\" width=\"698\" height=\"363\" \/><\/a><\/p>\n<p>Don&#8217;t you sometimes get enough of that? No? Well I do. That&#8217;s why in <strong>Avoid the World<\/strong>\u00a0I decided to show how much I detest watching news and hearing about the world sometimes. Ok,<strong> most<\/strong> of the time. The game was <a href=\"http:\/\/www.ludumdare.com\/compo\/minild-40\/?action=preview&amp;uid=5268\">originally developed<\/a> for the <a href=\"http:\/\/www.ludumdare.com\/compo\/2013\/02\/13\/an-announcement-for-minild-40\/\">MiniLD#40 competition<\/a>, themed: <strong>The Real World<\/strong>.<\/p>\n<h3><a href=\"http:\/\/jorjon.com\/minild40\/\">Play this game in my site<\/a>\u00a0(or in\u00a0<a href=\"http:\/\/www.ludumdare.com\/compo\/minild-40\/?action=preview&amp;uid=5268\">Ludum Dare site<\/a>)<\/h3>\n<h1>What the hell is this about?<\/h1>\n<p><a href=\"http:\/\/jorjongames.files.wordpress.com\/2013\/03\/2013-03-01_020550.png\"><img class=\" wp-image-157 alignleft\" alt=\"Avoid the World\" src=\"http:\/\/jorjongames.files.wordpress.com\/2013\/03\/2013-03-01_020550.png\" width=\"115\" height=\"173\" \/><\/a>Avoid the world is about defending yourself against media information (or misinformation). You fight with your only weapon while watching TV: your\u00a0<strong>remote control<\/strong>. Your goal is to push away all the words that the TV screen <strong>vomits<\/strong> upon you. If they reach you, your <strong>brain damage<\/strong> will increment, and when 100%,\u00a0<strong>you lose<\/strong>. Note that <strong>you can&#8217;t win<\/strong> against the TV, you will always lose at the end.<\/p>\n<h1>Can I get Brain Damage playing this?<\/h1>\n<p>Good question. <strong>Yes you do<\/strong>, so please play carefully.<\/p>\n<h1>Where are the words coming from anyway?<\/h1>\n<p>The words are automatically read online using advanced alien technology, found in a cave by honorable scientist <a href=\"http:\/\/en.wikipedia.org\/wiki\/Giorgio_A._Tsoukalos\">Giorgio A. Tsoukalos<\/a>. In the modern world, this is known as <a href=\"http:\/\/en.wikipedia.org\/wiki\/RSS\">RSS<\/a>, a format which most newspapers have.<\/p>\n<h1>Did you find any trouble while doing this?<\/h1>\n<p>I&#8217;m glad you asked. Well probably you can&#8217;t imagine, but this was rather hard to make.<\/p>\n<h2>Tetr-(This name is property of\u00a0The Tetris Company\u00a9, LLC)<\/h2>\n<p><a href=\"http:\/\/jorjon.com\/blog\/wp-content\/uploads\/2013\/03\/2013-03-01_020958.png\"><img class=\"alignright\" alt=\"Avoid the World\" src=\"http:\/\/jorjon.com\/blog\/wp-content\/uploads\/2013\/03\/2013-03-01_020958.png\" width=\"115\" height=\"173\" \/><\/a>My first idea for the competition when I started Sunday (2 days after the competition started), was to make a <strong>Tetris<\/strong>\u00a9-like game with words coming from <strong>Twitter<\/strong>. I had many problems with the implementation:<\/p>\n<ul>\n<li><span style=\"line-height: 13px;\"><strong>Twitter API is horrible<\/strong> for these kind of stuff. It limits the public search to about 150 queries at a day, or else it requires authorization. No good.<\/span><\/li>\n<li>Generating a random <a href=\"http:\/\/en.wikipedia.org\/wiki\/Tetromino\">Tetromino<\/a>\u00a0with <strong>variable-length blocks<\/strong> was really hard. I devised an algorithm\u00a0but it had many flaws. which made the game unplayable.<\/li>\n<li>Besides of the difficulty, having a piece in a weird way was making the word very hard to read, thus making the Twitter API reading thing totally useless.<\/li>\n<li><strong>I don&#8217;t like <\/strong>Tetris\u00a9.<\/li>\n<\/ul>\n<h2>The old good Jenga<\/h2>\n<p>Then, my head was telling me to do something with <strong>physics<\/strong>, which I wanted to discard because I had no experience with physics in AS3 before. But I decided to do a <strong>Jenga<\/strong> game anyways, with words coming from Twitter.<\/p>\n<ul>\n<li>I discarded the Tetromino algorithm in favor to simple horizontal pieces.<\/li>\n<li><span style=\"line-height: 13px;\"><strong><a href=\"http:\/\/napephys.com\">Nape<\/a>\u00a0physics<\/strong> wasn&#8217;t handling correctly many blocks stacked one above other.<\/span><\/li>\n<li>Jenga is <strong>boring<\/strong> single-player.<\/li>\n<li>I started to think about an alternative to Twitter, like Google News or <strong>RSS<\/strong>.<\/li>\n<\/ul>\n<p>So I had to discard the <strong>tower of blocks<\/strong>, because of technical difficulties. I had pieces falling from the top to the bottom, and that was it.<\/p>\n<h2>And then you killed yourself?<\/h2>\n<p><a href=\"http:\/\/jorjon.com\/blog\/wp-content\/uploads\/2013\/03\/2013-03-01_0205501.png\"><img class=\"alignleft\" alt=\"Avoid the World\" src=\"http:\/\/jorjon.com\/blog\/wp-content\/uploads\/2013\/03\/2013-03-01_0205501.png\" width=\"115\" height=\"173\" \/><\/a>No, you silly; that&#8217;s<strong> when<\/strong>\u00a0I started to connect dots. <strong>Reading news<\/strong> online, <strong>pieces falling<\/strong> from the top&#8230; <strong>Oh yeah!<\/strong> I will make a game where you have to <strong>gather words<\/strong> being read online and <strong>put them<\/strong> in a box! But anyways, I remembered <strong>my hate of newspapers<\/strong> and decided than instead of collecting them, it would be better to throw them away. Even better, <strong>defend yourself<\/strong> from those nasty words. And that&#8217;s how <strong>I become millionaire<\/strong>.<\/p>\n<h1>Why didn&#8217;t you make a more interesting gameplay?<\/h1>\n<p>I wanted to! But time was running short. Remember I started coding 2 days\u00a0<strong>after<\/strong> the initial start. I already was <strong>behind schedule like 5 hours<\/strong>, adding sounds and making the <strong>awesome art<\/strong> you see in the background.<\/p>\n<h1>But now you have time, are you going to continue this?<strong><\/strong><\/h1>\n<p>I will <strong>probably lie<\/strong> if I say <strong>yes<\/strong>, because I always say yes and never continue my game. A better question would be if\u00a0<strong>I want to<\/strong> continue this, then my answer is\u00a0<strong>absolutely<\/strong>. Feel free to <strong>leave your ideas in the comments!<\/strong><\/p>\n\t\t\t\t\t<\/div><!-- .entry-content -->\n\t\t\n\t\t<footer class=\"entry-meta\">\n\t\t\tThis entry was posted in <a href=\"http:\/\/jorjon.com\/blog\/category\/games\/competitions\/\" title=\"View all posts in Competitions\" rel=\"category tag\">Competitions<\/a> and tagged <a href=\"http:\/\/jorjon.com\/blog\/tag\/actionscript\/\" rel=\"tag\">actionscript<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/flash\/\" rel=\"tag\">flash<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/jenga\/\" rel=\"tag\">jenga<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/ludum-dare\/\" rel=\"tag\">ludum dare<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/minild40\/\" rel=\"tag\">minild40<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/nape\/\" rel=\"tag\">nape<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/physics\/\" rel=\"tag\">physics<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/rss\/\" rel=\"tag\">rss<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/tetris\/\" rel=\"tag\">tetris<\/a> on <a href=\"http:\/\/jorjon.com\/blog\/avoid-the-world\/\" title=\"4:58 am\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2013-03-01T04:58:22+00:00\">March 1, 2013<\/time><\/a><span class=\"by-author\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"http:\/\/jorjon.com\/blog\/author\/admin\/\" title=\"View all posts by Jorjon\" rel=\"author\">Jorjon<\/a><\/span><\/span>.\t\t\t\t\t\t\t\t<\/footer><!-- .entry-meta -->\n\t<\/article><!-- #post -->\n\n\t<article id=\"post-113\" class=\"post-113 post type-post status-publish format-standard hentry category-tools tag-actionscript tag-assets tag-automation\">\n\t\t\t\t<header class=\"entry-header\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/resource-file-generator-for-actionscript-3\/\" title=\"Permalink to Resource file generator for Actionscript 3\" rel=\"bookmark\">Resource file generator for Actionscript 3<\/a>\n\t\t\t<\/h1>\n\t\t\t\t\t\t\t\t\t\t<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/resource-file-generator-for-actionscript-3\/#comments\" title=\"Comment on Resource file generator for Actionscript 3\">2 Replies<\/a>\t\t\t\t<\/div><!-- .comments-link -->\n\t\t\t\t\t<\/header><!-- .entry-header -->\n\n\t\t\t\t<div class=\"entry-content\">\n\t\t\t<p style=\"text-align: center;\"><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/01\/2012-01-16_135618.png\"><img class=\" aligncenter\" alt=\"\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/01\/2012-01-16_135618.png\" width=\"677\" height=\"342\" \/><\/a><\/p>\n<p>Why do you have to manually embed all your graphics? That&#8217;s one of the reasons why many people use external assets instead of embedding, which is cool, but there are some cases where you can&#8217;t have external assets; for example uploading your game to sites like <a href=\"http:\/\/www.kongregate.com\">Kongregate<\/a>.<\/p>\n<p>With this tool, your embedding problems are in the past!<\/p>\n<p>Resmaker will generate for you a file named Resources.as, where all your assets are embedded.<\/p>\n<ul>\n<li>Supports <strong>*.png<\/strong>, <strong>*.bmp<\/strong>, <strong>*.wav<\/strong>, you name it!<\/li>\n<li><span style=\"line-height: 13px;\">Supports <strong>*.ttf<\/strong> fonts, with optional\u00a0<em>embedAsCFF<\/em>.<\/span><\/li>\n<li>Supports <strong>*.xml<\/strong>, with\u00a0<em>mimeType<\/em> set to <em>application\/octet-stream<\/em>.<\/li>\n<li>Generated file is indented for easy reading.<\/li>\n<li>You can specify multiple data folders, and even use subfolders!<\/li>\n<li>Open-source so you can add what you need.<\/li>\n<li>Supports Windows, Linux and Mac.*<\/li>\n<\/ul>\n<h2>Usage<\/h2>\n<p>You can run <strong>resmaker -h<\/strong> to get the available list of parameters, but it\u2019s really simple: you specify a bunch of folders where your assets resides (separated by comma), and where the <strong>Resources.as<\/strong> file should be generated, and it will recursively iterate the folders. Remember to use always <strong>absolute paths<\/strong>.<\/p>\n<p>For example, something like:<\/p>\n<pre>resmaker c:\\projects\\mygame\\assets -o c:\\projects\\mygame\\src\\Resources.as<\/pre>\n<p>Will generate:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/01\/2012-01-16_140217.png\"><img class=\"aligncenter\" alt=\"Resmaker Example\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/01\/2012-01-16_140217.png\" width=\"825\" height=\"670\" \/><\/a><\/p>\n<h3>Pro Tip #1<\/h3>\n<p>If you call this tool in a <strong>pre-build step<\/strong>, you won&#8217;t even have to run resmaker: the compiler will do it for you everytime you compile. Talk about automation!<\/p>\n<h3>Pro Tip #2<\/h3>\n<p>You can use the <a href=\"http:\/\/blogs.msdn.com\/b\/oldnewthing\/archive\/2005\/01\/28\/362565.aspx\">%CD%<\/a> variable to avoid manually specifying the absolute path.<\/p>\n<pre>resmaker <span style=\"color: #800000;\"><strong>%cd%\\<\/strong><\/span>assets -o <span style=\"color: #800000;\"><strong>%cd%\\<\/strong><\/span>src\\Resources.as<\/pre>\n<p>That will suppose you store your assets in an\u00a0<strong>assets<\/strong> folder. Rename it to <strong>generate.bat<\/strong> and place it in your project root.<\/p>\n<h2>Download<\/h2>\n<p><a href=\"http:\/\/www.jorjon.com.ar\/downloads\/resmaker.zip\">Download Resmaker<\/a>\u00a0(1.5mb~ it includes Windows binaries and source code)<\/p>\n<p><small>* While I didn&#8217;t test Linux and Mac, the script is in Python, so you can run the app wherever a Python interpreter exists.<\/small><\/p>\n\t\t\t\t\t<\/div><!-- .entry-content -->\n\t\t\n\t\t<footer class=\"entry-meta\">\n\t\t\tThis entry was posted in <a href=\"http:\/\/jorjon.com\/blog\/category\/development\/tools\/\" title=\"View all posts in Tools\" rel=\"category tag\">Tools<\/a> and tagged <a href=\"http:\/\/jorjon.com\/blog\/tag\/actionscript\/\" rel=\"tag\">actionscript<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/assets\/\" rel=\"tag\">assets<\/a>, <a href=\"http:\/\/jorjon.com\/blog\/tag\/automation\/\" rel=\"tag\">automation<\/a> on <a href=\"http:\/\/jorjon.com\/blog\/resource-file-generator-for-actionscript-3\/\" title=\"2:15 am\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2013-01-22T02:15:07+00:00\">January 22, 2013<\/time><\/a><span class=\"by-author\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"http:\/\/jorjon.com\/blog\/author\/admin\/\" title=\"View all posts by Jorjon\" rel=\"author\">Jorjon<\/a><\/span><\/span>.\t\t\t\t\t\t\t\t<\/footer><!-- .entry-meta -->\n\t<\/article><!-- #post -->\n\n\t<article id=\"post-92\" class=\"post-92 post type-post status-publish format-standard hentry category-tips tag-unity3d\">\n\t\t\t\t<header class=\"entry-header\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/unity3d-default-folders\/\" title=\"Permalink to Unity3d default folders\" rel=\"bookmark\">Unity3d default folders<\/a>\n\t\t\t<\/h1>\n\t\t\t\t\t\t\t\t\t\t<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/unity3d-default-folders\/#respond\" title=\"Comment on Unity3d default folders\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div><!-- .comments-link -->\n\t\t\t\t\t<\/header><!-- .entry-header -->\n\n\t\t\t\t<div class=\"entry-content\">\n\t\t\t<p>I didn&#8217;t found anywhere this information all together, and as a beginner it was helpful to me to get a better overview of\u00a0<strong>Unity3D<\/strong>\u00a0workflow.<\/p>\n<p>These are the folders that\u00a0<strong>Unity3D<\/strong>\u00a0has\u00a0<strong>awareness<\/strong>\u00a0of, that are\u00a0<strong>used<\/strong>\u00a0somewhere or gets a special\u00a0<strong>treatment<\/strong>.<br \/>\nQuoted are the mentions in the documentation of the corresponding folder, and a link to that documentation is provided.<\/p>\n<ul>\n<li><strong>\/Assets\/Editor<\/strong>\u00a0&#8211;\u00a0<strong><a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/20_class_hierarchy.Editor_Classes.html\" target=\"_blank\">Editor Classes<\/a><\/strong><\/li>\n<\/ul>\n<p style=\"padding-left:60px;\"><em>To use editor classes you have to place your script in\u00a0<strong>Assets\/Editor<\/strong>\u00a0inside your project folder.<\/em><\/p>\n<ul>\n<li><strong>\/Assets\/Gizmos<\/strong>\u00a0&#8211;\u00a0<strong><a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/Gizmos.html\" target=\"_blank\">Gizmos<\/a><\/strong><\/li>\n<\/ul>\n<p style=\"padding-left:60px;\"><em>The icon&#8217;s path can be found in the\u00a0<strong>Assets\/Gizmos<\/strong>\u00a0folder or in the<strong>Unity.app\/Contents\/Resources<\/strong>\u00a0folder.<\/em><\/p>\n<ul>\n<li><strong>\/Assets\/Plugins<\/strong>\u00a0&#8211;\u00a0<strong><a href=\"http:\/\/unity3d.com\/support\/documentation\/Manual\/Plugins.html\" target=\"_blank\">Plugins<\/a><\/strong><\/li>\n<\/ul>\n<p style=\"padding-left:60px;\"><em>Once you have built your bundle you have to copy it to\u00a0<strong>Assets\/Plugins<\/strong>\u00a0folder.<\/em><\/p>\n<ul>\n<li><strong>\/Assets\/Pro Standard Assets<\/strong>\u00a0&#8211;\u00a0<strong><a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/index.Script_compilation_28Advanced29.html\" target=\"_blank\">Script compilation<\/a><\/strong><\/li>\n<\/ul>\n<p style=\"padding-left:60px;\"><em>All scripts in this folder are compiled first. Scripts in this folders can&#8217;t directly access scripts outside.<\/em><\/p>\n<ul>\n<li><strong>\/Assets\/Pro Standard Assets\/Editor<\/strong>\u00a0&#8211;\u00a0<strong><a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/index.Script_compilation_28Advanced29.html\" target=\"_blank\">Script compilation<\/a><\/strong><\/li>\n<\/ul>\n<p style=\"padding-left:60px;\"><em>All scripts in this folder are compiled in second place<\/em><\/p>\n<ul>\n<li><strong>\/Assets\/Resources<\/strong>\u00a0&#8211;\u00a0<strong><a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/Resources.html\" target=\"_blank\">Resources<\/a><\/strong><\/li>\n<\/ul>\n<p style=\"padding-left:60px;\"><em>All assets that are in a folder named\u00a0<strong>Resources<\/strong>\u00a0anywhere in the\u00a0<strong>Assets<\/strong>\u00a0folder can be accessed via the\u00a0<a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/Resources.Load.html\" target=\"_blank\">Resources.Load<\/a>\u00a0functions. Multiple\u00a0<strong>Resources<\/strong>\u00a0folders may exist and when loading objects each will be examined.<\/em><\/p>\n<ul>\n<li><strong>\/Assets\/Standard Assets<\/strong>\u00a0&#8211;\u00a0<strong><a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/index.Script_compilation_28Advanced29.html\" target=\"_blank\">Script compilation<\/a><\/strong><\/li>\n<\/ul>\n<p style=\"padding-left:60px;\"><em>All scripts in this folder are compiled first. Scripts in this folders can&#8217;t directly access scripts outside.<\/em><\/p>\n<ul>\n<li><strong>\/Assets\/Standard Assets\/Editor<\/strong>\u00a0&#8211;\u00a0<strong><a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/index.Script_compilation_28Advanced29.html\" target=\"_blank\">Script compilation<\/a><\/strong><\/li>\n<\/ul>\n<p style=\"padding-left:60px;\"><em>All scripts in this folder are compiled in second place<\/em><\/p>\n<p>I know I&#8217;m missing something, I think the\u00a0<strong>Editor<\/strong>\u00a0folder had another default folder inside, but I can&#8217;t recall exactly which one. Please feel free to make any correction.<\/p>\n\t\t\t\t\t<\/div><!-- .entry-content -->\n\t\t\n\t\t<footer class=\"entry-meta\">\n\t\t\tThis entry was posted in <a href=\"http:\/\/jorjon.com\/blog\/category\/tips\/\" title=\"View all posts in Tips\" rel=\"category tag\">Tips<\/a> and tagged <a href=\"http:\/\/jorjon.com\/blog\/tag\/unity3d\/\" rel=\"tag\">unity3d<\/a> on <a href=\"http:\/\/jorjon.com\/blog\/unity3d-default-folders\/\" title=\"1:24 pm\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2011-10-18T13:24:11+00:00\">October 18, 2011<\/time><\/a><span class=\"by-author\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"http:\/\/jorjon.com\/blog\/author\/admin\/\" title=\"View all posts by Jorjon\" rel=\"author\">Jorjon<\/a><\/span><\/span>.\t\t\t\t\t\t\t\t<\/footer><!-- .entry-meta -->\n\t<\/article><!-- #post -->\n\n\t<article id=\"post-83\" class=\"post-83 post type-post status-publish format-standard hentry category-tips tag-networks\">\n\t\t\t\t<header class=\"entry-header\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/how-to-automatically-port-forward\/\" title=\"Permalink to How to automatically port forward\" rel=\"bookmark\">How to automatically port forward<\/a>\n\t\t\t<\/h1>\n\t\t\t\t\t\t\t\t\t\t<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/how-to-automatically-port-forward\/#respond\" title=\"Comment on How to automatically port forward\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div><!-- .comments-link -->\n\t\t\t\t\t<\/header><!-- .entry-header -->\n\n\t\t\t\t<div class=\"entry-content\">\n\t\t\t<p>This is called <a href=\"http:\/\/en.wikipedia.org\/wiki\/NAT_traversal\">NAT Traversal<\/a>.<\/p>\n<p>Looking at uTorrent, it&#8217;s using uPnP and NAT-PMP<\/p>\n<blockquote><p>Newer router models often have the UPnP (Universal Plug &#8216;n Play) or NAT-PMP built in. This allows for automatic forwarding of ports, making the rest of the instructions on this page unnecessary. UPnP is turned on by default in \u00b5Torrent and in most routers, but if not, you may need to check your router&#8217;s documentation for instructions on how to enable it.<\/p><\/blockquote>\n<p>Another technique it&#8217;s called <a href=\"http:\/\/en.wikipedia.org\/wiki\/Hole_punching\">Hole Punching<\/a>.<\/p>\n\t\t\t\t\t<\/div><!-- .entry-content -->\n\t\t\n\t\t<footer class=\"entry-meta\">\n\t\t\tThis entry was posted in <a href=\"http:\/\/jorjon.com\/blog\/category\/tips\/\" title=\"View all posts in Tips\" rel=\"category tag\">Tips<\/a> and tagged <a href=\"http:\/\/jorjon.com\/blog\/tag\/networks\/\" rel=\"tag\">networks<\/a> on <a href=\"http:\/\/jorjon.com\/blog\/how-to-automatically-port-forward\/\" title=\"7:35 pm\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2011-09-01T19:35:11+00:00\">September 1, 2011<\/time><\/a><span class=\"by-author\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"http:\/\/jorjon.com\/blog\/author\/admin\/\" title=\"View all posts by Jorjon\" rel=\"author\">Jorjon<\/a><\/span><\/span>.\t\t\t\t\t\t\t\t<\/footer><!-- .entry-meta -->\n\t<\/article><!-- #post -->\n\n\t<article id=\"post-81\" class=\"post-81 post type-post status-publish format-standard hentry category-tips tag-cryptography\">\n\t\t\t\t<header class=\"entry-header\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/how-to-hide-data-in-an-image\/\" title=\"Permalink to How to hide data in an image\" rel=\"bookmark\">How to hide data in an image<\/a>\n\t\t\t<\/h1>\n\t\t\t\t\t\t\t\t\t\t<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/how-to-hide-data-in-an-image\/#respond\" title=\"Comment on How to hide data in an image\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div><!-- .comments-link -->\n\t\t\t\t\t<\/header><!-- .entry-header -->\n\n\t\t\t\t<div class=\"entry-content\">\n\t\t\t<p>We can use the least significant bit over the entire image, getting 128&#215;128 bits * 4 channels, or 8KB of data total. Every single channel pixel encodes one bit&#8230; 1 if it&#8217;s odd, 0 if it&#8217;s even.<\/p>\n<p>We can even add a hash or checksum in there to prevent people from editing the data.<\/p>\n<blockquote><p>They stuffed a full 2K in there. It&#8217;s not just the transparent parts that have data&#8230; if you look, the alpha channel where the creature is visible is not always 255&#8230; it&#8217;s 254 also.<\/p>\n<p>They used the least significant bit over the entire image, giving them 128&#215;128 bits, or 2KB of data total. Every single alpha channel pixel encodes one bit&#8230; 1 if it&#8217;s odd, 0 if it&#8217;s even (or the other way around, if they wanted to be weird).<\/p>\n<p>If you masked every byte of the alpha channel with 0&#215;01, the entire alpha channel becomes a black &amp; white bitmask encoding the creature data. I bet that it also has a hash or checksum in there to prevent people from editing the RGB portion and showing a different creature than is actually encoded in the alpha channel data.<\/p>\n<p>They have specifically stated that the creature fits within 2k worth of data, so I have no doubt that is where the information resides.<\/p>\n<p><strong>Edit<\/strong>: I was wrong, they use the least significant bit on\u00a0<strong>all 4 channels&#8230; R, G, B, and A<\/strong>. That works out to 8KB of data for a creature.<\/p><\/blockquote>\n<p>Source: http:\/\/www.reddit.com\/r\/gaming\/comments\/6mtyr\/prettiest_pony_in_spores_creature_creator\/c04gplc<\/p>\n\t\t\t\t\t<\/div><!-- .entry-content -->\n\t\t\n\t\t<footer class=\"entry-meta\">\n\t\t\tThis entry was posted in <a href=\"http:\/\/jorjon.com\/blog\/category\/tips\/\" title=\"View all posts in Tips\" rel=\"category tag\">Tips<\/a> and tagged <a href=\"http:\/\/jorjon.com\/blog\/tag\/cryptography\/\" rel=\"tag\">cryptography<\/a> on <a href=\"http:\/\/jorjon.com\/blog\/how-to-hide-data-in-an-image\/\" title=\"7:22 pm\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2011-09-01T19:22:39+00:00\">September 1, 2011<\/time><\/a><span class=\"by-author\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"http:\/\/jorjon.com\/blog\/author\/admin\/\" title=\"View all posts by Jorjon\" rel=\"author\">Jorjon<\/a><\/span><\/span>.\t\t\t\t\t\t\t\t<\/footer><!-- .entry-meta -->\n\t<\/article><!-- #post -->\n\n\t<article id=\"post-60\" class=\"post-60 post type-post status-publish format-standard hentry category-uncategorized\">\n\t\t\t\t<header class=\"entry-header\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"entry-title\">\n\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/visiting-all-nodes-in-a-graph\/\" title=\"Permalink to Visiting all nodes in a graph\" rel=\"bookmark\">Visiting all nodes in a graph<\/a>\n\t\t\t<\/h1>\n\t\t\t\t\t\t\t\t\t\t<div class=\"comments-link\">\n\t\t\t\t\t<a href=\"http:\/\/jorjon.com\/blog\/visiting-all-nodes-in-a-graph\/#respond\" title=\"Comment on Visiting all nodes in a graph\"><span class=\"leave-reply\">Leave a reply<\/span><\/a>\t\t\t\t<\/div><!-- .comments-link -->\n\t\t\t\t\t<\/header><!-- .entry-header -->\n\n\t\t\t\t<div class=\"entry-content\">\n\t\t\t<p>I just developed a simple application to create a path that iterates on all nodes of a graph.<\/p>\n<p>Download <a title=\"Minimun Spanning Tree\" href=\"http:\/\/jorjon.com.ar\/downloads\/MST.rar\">here<\/a>. Note that you need the <a href=\"http:\/\/www.greensock.com\/\">Greensock<\/a> and <a href=\"http:\/\/www.minimalcomps.com\/\">MinimalComp<\/a> libraries.<\/p>\n<ol>\n<li>Create nodes with <strong>Create Node<\/strong> button<\/li>\n<li>Link them by selecting one, pressing down <strong>SHIFT<\/strong> and selecting other node<\/li>\n<li>Select the one that is the starting node of the path<\/li>\n<li>Press <strong>Kruskal<\/strong> button.<\/li>\n<\/ol>\n<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text\/html' width='625' height='382' src='http:\/\/www.youtube.com\/embed\/VbSwwos4R2E?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'><\/iframe><\/span>\n\t\t\t\t\t<\/div><!-- .entry-content -->\n\t\t\n\t\t<footer class=\"entry-meta\">\n\t\t\tThis entry was posted in <a href=\"http:\/\/jorjon.com\/blog\/category\/uncategorized\/\" title=\"View all posts in Uncategorized\" rel=\"category tag\">Uncategorized<\/a> on <a href=\"http:\/\/jorjon.com\/blog\/visiting-all-nodes-in-a-graph\/\" title=\"3:52 am\" rel=\"bookmark\"><time class=\"entry-date\" datetime=\"2011-08-05T03:52:56+00:00\">August 5, 2011<\/time><\/a><span class=\"by-author\"> by <span class=\"author vcard\"><a class=\"url fn n\" href=\"http:\/\/jorjon.com\/blog\/author\/admin\/\" title=\"View all posts by Jorjon\" rel=\"author\">Jorjon<\/a><\/span><\/span>.\t\t\t\t\t\t\t\t<\/footer><!-- .entry-meta -->\n\t<\/article><!-- #post -->\n<\/div>","postflair":{"http:\/\/jorjon.com\/blog\/developing-an-event-manager\/":167,"http:\/\/jorjon.com\/blog\/avoid-the-world\/":129,"http:\/\/jorjon.com\/blog\/resource-file-generator-for-actionscript-3\/":113,"http:\/\/jorjon.com\/blog\/unity3d-default-folders\/":92,"http:\/\/jorjon.com\/blog\/how-to-automatically-port-forward\/":83,"http:\/\/jorjon.com\/blog\/how-to-hide-data-in-an-image\/":81,"http:\/\/jorjon.com\/blog\/visiting-all-nodes-in-a-graph\/":60}}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top