Nothing fancy, just some cropping and filling in.


Arktaran doesn't actually mean Arch Titan, but I derived it from how I wanted the combined word to sound, and a little bit of Latin.

Random Snowflake Class
class SnowFlake extends MovieClip {
var crystal_length:Number = 7;
var crystal:MovieClip;
function SnowFlake() {
crystal = this.createEmptyMovieClip("crystal", 1);
makeCrystal();
var angle_change:Number = 360 / Math.round(2 * (Math.random() * 2 + 2));
var angle:Number = angle_change;
while (angle < 360) {
var crystal_copy:MovieClip = crystal.duplicateMovieClip("crystal" + angle, Math.round(angle));
crystal_copy._rotation = angle;
angle += angle_change;
}
this._rotation = Math.random() * 360
}
function makeCrystal():Void {
var crystal_position:Number = 0;
while (crystal_position < 1) {
crystal_position += Math.random() / 3;
crystal.lineStyle(0.6, 0xffffff);
crystal.lineTo(0, -crystal_position * crystal_length);
crystal.lineStyle(0.3, 0xffffff);
var mini_crystal_length:Number = Math.random() * 3;
crystal.lineTo(mini_crystal_length, -crystal_position * crystal_length - 1);
crystal.moveTo(0, -crystal_position * crystal_length);
crystal.lineTo(-mini_crystal_length, -crystal_position * crystal_length - 1);
crystal.moveTo(0, -crystal_position * crystal_length);
}
}
}
Users browsing this forum: No registered users and 1 guest