STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is resource H3GVQKR, an Archived Thread.
Original location: http://boards.4chan.org/f/res/2098449 Recognized format: Yes, thread post count is 9. Discovered flash files: 1 File: 0x40 hues of megumi.swf-(330 KB, 800x700, Loop) [_] How did I fix it? See comments Anonymous D !Noy5sI6il. 09/01/13(Sun)19:06 No.2098449 http://pastebin.com/xfjL8u7U To answer from last thread, "After you change 'xblur' and 'yblur', how do you reset those variables for the next beat?" blur = new BlurFilter(xblur,yblur,1); bmp[0].copyPixels(gif,fullscreen,origin); if(xblur*yblur<>1) { bmp[0].applyFilter(bmp[0],fullscreen,origin,blur); } if(xblur<>1) { xblur = xblur/2; } if(yblur<>1) { yblur = yblur/2; } First, the '<>' operator is 'does not equal'... I know some people use !=, not sure if that works in AS2. After I copy the picture to the screen, I check if xblur or yblur is greater than zero. Multiplying them together makes it easy to check both at the same time. If they either are greater than 0, I blur. Otherwise, no blur occurs. I was originally blurring even on values of 1, but wanted to optimize the code, even if it wasn't really necessary to do so. If a blur is not already equal to 1, its value is cut in half. Makes for a good looking blur. 64 -> 32 -> 16 -> 8 -> 4 -> 2 -> 1 >> [_] Anonymous 09/01/13(Sun)19:24 No.2098473 you should post this on /g/ and /r/ too >> [_] Anonymous 09/01/13(Sun)19:34 No.2098482 Please do Pigs In Twain.swf >> [_] Anonymous 09/01/13(Sun)20:02 No.2098506 >>2098449 >http://pastebin.com/xfjL8u7U dat beat mapping What an elegant solution. This would be good for rhythym games, or syncing a song via tablature. Thanks a ton D >> [_] Anonymous D !Noy5sI6il. 09/01/13(Sun)20:12 No.2098520 >>2098482 I think I saw your request last thread, and think it would be challenging to do. I'm going to give it a try. >> [_] Anonymous 09/01/13(Sun)20:13 No.2098521 The beat and the animation make this flash kind of sexy >> [_] Anonymous 09/01/13(Sun)22:09 No.2098616 Very nice. >> [_] Anonymous 09/01/13(Sun)22:24 No.2098627 >>2098449 Alright, that makes sense. Thanks for the answer! >> [_] Anonymous 09/01/13(Sun)22:28 No.2098631 huehuehue |
|