Zplex information 1393 glöps
- general:
- level: user
- personal:
- cdcs:
- cdc #1: State of the Art by Spaceballs [web]
- cdc #2: Lifeforce by Andromeda Software Development [web]
- cdc #3: elevated by Rgba [web] & TBC
- cdc #4: Darkness Lay Your Eyes Upon Me by Conspiracy [web]
- cdc #5: fermi paradox by Mercury [web]
- demo Windows Caipirinha by Loonies [web] & TBC
- This was awful
- sucksadded on the 2008-07-20 19:04:04
- cracktro Amiga OCS/ECS Pinball Dreams by Fairlight [web]
- !REMEBER! A GAME IS A CRACK IF A CRACK IS A GAME !REMEMBER!
- isokadded on the 2008-07-18 22:34:44
- 1k Flash flaxor by Mr.doob [web]
- Decided to have some fun with the code, try this:
package
{
import flash.display.*;
import flash.events.*;
public class main extends Sprite
{
public var sw:int;
public var timer:int = 0;
public var bitmap:Bitmap;
public var sh:int;
public var canvas:BitmapData;
public function main()
{
stage.scaleMode = "noScale";
stage.align = "T_L";
stage.addEventListener("resize", init);
init(null);
addEventListener("enterFrame", loop);
}
public function init(param1:Event) : void
{
sw = stage.stageWidth;
sh = stage.stageHeight;
canvas = new BitmapData(sw, sh, false);
bitmap = new Bitmap(canvas);
addChild(bitmap);
}
public function loop(param1:Event) : void
{
var _loc_3:int;
var _loc_2:int;
canvas.lock();
while (_loc_2 < sw >> 1)
{
_loc_3 = 0;
while (_loc_3 < sh >> 1)
{
canvas.setPixel(_loc_2 << 1, _loc_3 << 1, (_loc_3 + timer | _loc_2 + timer) * timer);
canvas.setPixel(_loc_2, _loc_3, (_loc_3 + timer | _loc_2 - timer) * timer);
_loc_3 = _loc_3 + 2;
}// end while
_loc_2 = _loc_2 + 2;
}// end while
canvas.scroll(1,1)
canvas.unlock();
timer++;
}// end function
}
} - isokadded on the 2008-07-17 19:20:13
- 1k Flash flaxor by Mr.doob [web]
- Oops, seems like Flash CS3 doesn`t read the SWF meta stuff in the code, set the fps to 50 and it ran as fast :) Cool.
- isokadded on the 2008-07-17 17:30:36
- 1k Flash flaxor by Mr.doob [web]
- trace: Hmm, did you compile it in Flex 3? When i compile it in Flash CS3 it runs slower then your swf version, then i compiled it in Flex 3 it ran as fast as your swf. Kinda strange.
- isokadded on the 2008-07-17 17:26:04
- 1k Flash flaxor by Mr.doob [web]
- Hmm, funny how fast your version is in Flash 10 player. I guess most people watch it in Flash 9 player where it is slow atleast here.
- isokadded on the 2008-07-17 16:38:12
- 1k Flash flaxor by Mr.doob [web]
- Well, i did read the .nfo after i decompiled it. Well, i didnt know the source was in the .nfo :) Anyway, cheers for the source
- isokadded on the 2008-07-17 16:32:40
- 1k Flash flaxor by Mr.doob [web]
- Code by Sothink SWF decompiler...lulz
- rulezadded on the 2008-07-17 16:28:20
- 1k Flash flaxor by Mr.doob [web]
- I get it down to 692 bytes with this:
package
{
import flash.display.*;
import flash.events.*;
public class Main extends Sprite
{
public var sw:int;
public var timer:int = 0;
public var mx:Number;
public var my:Number;
public var bitmap:Bitmap;
public var sh:int;
public var canvas:BitmapData;
public function Main()
{
stage.scaleMode = "noScale";
stage.align = "T_L";
stage.addEventListener("resize", init);
init(null);
addEventListener("enterFrame", loop);
return;
}// end function
public function init(param1:Event) : void
{
sw = stage.stageWidth;
sh = stage.stageHeight;
canvas = new BitmapData(sw, sh, false);
bitmap = new Bitmap(canvas);
if (contains(bitmap))
{
removeChild(bitmap);
}// end if
addChild(bitmap);
return;
}// end function
public function loop(param1:Event) : void
{
var _loc_3:int;
canvas.lock();
var _loc_2:int;
while (_loc_2 < sw)
{
// label
_loc_3 = 0;
while (_loc_3 < sh)
{
// label
canvas.setPixel(_loc_2, _loc_3, (_loc_2 + timer ^ _loc_3 + timer) * timer);
_loc_3++;
}// end while
_loc_2++;
}// end while
canvas.unlock();
timer++;
return;
}// end function
}
}
- isokadded on the 2008-07-17 16:23:46
- 1k Flash flaxor by Mr.doob [web]
- Adobe whore
- isokadded on the 2008-07-17 15:49:23
account created on the 2004-05-18 19:25:17
