The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsI suggest "Flash-Design", currently in alpha.. when out of beta it will be selling in shops all over the globe for £39.99 or the equivelant.
i = 0;
num = 0;
import flash.display.BitmapData;
var bmp:BitmapData = new BitmapData(550, 400, false, 0xFFFFFF);
_root.attachBitmap(bmp, -3000);
for (a=0; a<56; a++) {
for (b=0; b<41; b++) {
bmp.setPixel((a*10), (b*10), 0);
}
}
_root.createEmptyMovieClip("box", -10);
box.lineStyle(1, 0x9900000, 100);
box.moveTo(-2.5, -2.5);
box.lineTo(2.5, -2.5);
box.lineTo(2.5, 2.5);
box.lineTo(-2.50, 2.5);
box.lineTo(-2.5, -2.5);
box.startDrag(true);
Mouse.hide();
function boxXY() {
box._x = Math.round((_xmouse+10)/10)*10;
box._y = Math.round((_ymouse+10)/10)*10;
}
setInterval(boxXY, 0);
doingLine = false;
onMouseDown = function () {
if (!doingLine) {
xm1 = Math.round((_xmouse+10)/10)*10;
ym1 = Math.round((_ymouse+10)/10)*10;
if (!Key.isDown(Key.SPACE)) {
id = setInterval(doLine, 0);
} else {
bmp.floodFill(xm1+2, ym1, 0xFF0000);
}
}
if (doingLine) {
clearInterval(id);
bmp.draw(line);
removeMovieClip("line");
doingLine = false;
}
};
function doLine() {
doingLine = true;
_root.createEmptyMovieClip("line", 1);
line.lineStyle(1, 0xFF0000, 100);
line.moveTo(xm1, ym1);
line.lineTo(Math.round((_xmouse+10)/10)*10
, Math.round((_ymouse+10)/10)*10);
}
Sup, bitches :)