a little competition
Here's a little competition proposal; to create a minor program for ship graphics:
To all you Flash whores out there, make a program that will turn a simple drawing into a sprite and mask. Have the user draw an image, then have your program create 36 frames of the picture's rotation. You can stop at that 36 frame image and "give it" to the user, or you can take it further. Have separate ones for engine glows, weapon firing, weapon graphics. Create 'till your heart's content.
If you can manage to make the end result more than just an image, yay for you. Best "program" wins... glory.
I'll give you this very basic drawing application code to start with. If you want to add other colors, go for it:
function drawOn() {
this.lineStyle(1, 0x000000);
this.moveTo(this._xmouse, this._ymouse);
this.onMouseMove = addPoint;
}
function addPoint() {
this.lineTo(this._xmouse, this._ymouse);
}
function drawOff() {
delete this.onMouseMove;
}
this.onMouseDown = drawOn;
this.onMouseUp = drawOff;
Indentations don't appear, so you'll have to put them in in the appropriate places.
If this is a dumb idea then just let it die out into the back-pages of the forum.