⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flags.sswf

📁 sswf-1.7.4-src.zip 源码
💻 SSWF
📖 第 1 页 / 共 2 页
字号:
				sprite "flag" {					place object {						depth: 1;						id: definitions.rect_vertical_1d3_dark_green;						matrix { translate: -32, 0 };					};					place object {						depth: 2;						id: definitions.rect_vertical_1d3_white;					};					place object {						depth: 3;						id: definitions.rect_vertical_1d3_red;						matrix { translate: 32, 0 };					};					place object {						depth: 4;						id: definitions.rect_outline_reduced;					};				};			};		};		list ivory_coast {			list insert {				definitions.rect_vertical_1d3_orange;				definitions.rect_vertical_1d3_white;				definitions.rect_vertical_1d3_green;				definitions.rect_outline_reduced;				sprite "flag" {					place object {						depth: 1;						id: definitions.rect_vertical_1d3_orange;						matrix { translate: -32, 0 };					};					place object {						depth: 2;						id: definitions.rect_vertical_1d3_white;					};					place object {						depth: 3;						id: definitions.rect_vertical_1d3_green;						matrix { translate: 32, 0 };					};					place object {						depth: 4;						id: definitions.rect_outline_reduced;					};				};			};		};		list japan {			list insert {				shape "rect_background" {					rectangle { -65, -34, 66, 34 };					definitions.fill_white; move: -48, -33; definitions.rect_reduced;				};				shape "dot" {					rectangle { -19, -1, 19, 37 };					scale_x = 18;					scale_y = 18;					definitions.fill_red; definitions.circle;				};				definitions.rect_outline_reduced;				sprite "flag" {					place object {						depth: 1;						id: rect_background;					};					place object {						depth: 2;						id: dot;						matrix { translate: 0, -18 };					};					place object {						depth: 3;						id: definitions.rect_outline_reduced;					};				};			};		};		list libya {			list insert {				shape "rect_background" {					rectangle { -65, -33, 66, 33 };					definitions.fill_green; move: -48, -32; definitions.rect_reduced;				};				definitions.rect_outline_reduced;				sprite "flag" {					place object {						depth: 1;						id: rect_background;					};					place object {						depth: 2;						id: definitions.rect_outline_reduced;					};				};			};		};		list mali {			list insert {				definitions.rect_vertical_1d3_green;				definitions.rect_vertical_1d3_yellow;				definitions.rect_vertical_1d3_dark_red;				definitions.rect_outline_reduced;				sprite "flag" {					place object {						depth: 1;						id: definitions.rect_vertical_1d3_green;						matrix { translate: -32, 0 };					};					place object {						depth: 2;						id: definitions.rect_vertical_1d3_yellow;					};					place object {						depth: 3;						id: definitions.rect_vertical_1d3_dark_red;						matrix { translate: 32, 0 };					};					place object {						depth: 4;						id: definitions.rect_outline_reduced;					};				};			};		};		list nigeria {			list insert {				definitions.rect_vertical_1d3_dark_green;				definitions.rect_vertical_1d3_white;				definitions.rect_outline_reduced;				sprite "flag" {					place object {						depth: 1;						id: definitions.rect_vertical_1d3_dark_green;						matrix { translate: -32, 0 };					};					place object {						depth: 2;						id: definitions.rect_vertical_1d3_white;					};					place object {						depth: 3;						id: definitions.rect_vertical_1d3_dark_green;						matrix { translate: 32, 0 };					};					place object {						depth: 4;						id: definitions.rect_outline_reduced;					};				};			};		};		list romania {			list insert {				definitions.rect_vertical_1d3_dark_blue;				definitions.rect_vertical_1d3_yolk;				definitions.rect_vertical_1d3_dark_red;				definitions.rect_outline_reduced;				sprite "flag" {					place object {						depth: 1;						id: definitions.rect_vertical_1d3_dark_blue;						matrix { translate: -32, 0 };					};					place object {						depth: 2;						id: definitions.rect_vertical_1d3_yolk;					};					place object {						depth: 3;						id: definitions.rect_vertical_1d3_dark_red;						matrix { translate: 32, 0 };					};					place object {						depth: 4;						id: definitions.rect_outline_reduced;					};				};			};		};		list united_kingdom {			list insert {				/* the England flag is very specific, draw it as is */				definitions.rect_outline;				shape "uk_flag" {					rectangle { -65.5, -34, 65.5, 34 };					definitions.fill_white;						move: -64.5, -33;							 definitions.rect_background;					fill style { color { 207 / 255.0, 10 / 255.0, 4 / 255.0 } };						move: -64.5, -7;							points { -64.5, 7; -7, 7; -7, 33; 7, 33; 7, 7; 64.5, 7; 64.5, -7; 7, -7; 7, -33; -7, -33; -7, -7; -64.5, -7; };					fill style { color { 179 / 255.0, 9 / 255.0, 6 / 255.0 } };						move: -64.5, -28;							points { -64.5, -33; -63, -33; -23, -11; -33, -11; -64.5, -28; };						move: -62, 33;							points { -22, 11; -14, 11; -53, 33; -62, 33; };						move: 64.5, 29;							points { 31, 11; 21, 11; 61, 33; 64.5, 33; 64.5, 29; };						move: 64.5, -33;							points { 26, -11; 13, -11; 54, -33; 64.5, -33; };					fill style { color { 5 / 255.0, 14 / 255.0, 76 / 255.0 } };						move: -64.5, -24;							points { -38, -11; -64.5, -11; -64.5, -24; };						move: -51, -33;							points { -11, -33; -11, -13; -51, -33; };						move: 11, -33;							points { 11, -13; 49, -33; 11, -33; };						move: 64.5, -25;							points { 64.5, -11; 37, -11; 64.5, -25; };						move: 64.5, 11;							points { 64.5, 26; 37, 11; 64.5, 11; };						move: -64.5, 11;							points { -35, 11; -64.5, 26; -64.5, 11; };						move: -48, 33;							points { -11, 13; -11, 33; -48, 33; };						move: 11, 13;							points { 11, 33; 49, 33; 11, 13; };				};				sprite "flag" {					place object {						depth: 1;						id: uk_flag;					};					place object {						depth: 2;						id: definitions.rect_outline;					};				};			};		};		list united_states {	/* USA */			list insert {				/* the US flag is somewhat specific, draw a lot of it as is */				definitions.rect_outline;				shape "us_flag" {					rectangle { -65.5, -34, 65.5, 34 };					/* white background */					definitions.fill_white;						move: -64.5, -33;							 definitions.rect_background;					/* blue rectangle */					fill style { color { 0, 10 / 255.0, 60 / 255.0 } };						move: -64.5, -33;							points { -64.5, 2; 0, 2; 0, -33; -64.5, -33; };					/* red stripes */					fill style { color { 255 / 255.0, 15 / 255.0, 15 / 255.0 } };						move: 0, -33;							definitions.half_horiz_band5;						move: 0, -23;							definitions.half_horiz_band5;						move: 0, -13;							definitions.half_horiz_band5;						move: 0, -3;							definitions.half_horiz_band5;						move: -64.5, 8;							definitions.horiz_band5;						move: -64.5, 18;							definitions.horiz_band5;						move: -64.5, 28;							definitions.horiz_band5;				};				shape "star" {					fill style { color { 0 / 255.0, 255 / 255.0, 0 / 255.0 } };						move: -39.27, 8.815;							edges { 30, 0; 9.27, -28.53; 9.27, 28.53; 30, 0;									-24.27, 17.63; 9.27, 28.53; -24.27, -17.63; -24.27, 17.63;									9.27, -28.53; close: 0, 0; };				};				star_width = (30 + 9.27) * 2 * 0.05;				space = (64.5 - 2 - star_width) / 5;				sprite "star_row5" {					place object {						depth: 2;						id: star;						matrix { translate: -61.67, 0; scale: 0.05; };					};					place object {						depth: 2;						id: star;						matrix { translate: -61.67 + space, 0; scale: 0.05; };					};					place object {						depth: 2;						id: star;						matrix { translate: -61.67 + space * 2, 0; scale: 0.05; };					};					place object {						depth: 2;						id: star;						matrix { translate: -61.67 + space * 3, 0; scale: 0.05; };					};					place object {						depth: 2;						id: star;						matrix { translate: -61.67 + space * 4, 0; scale: 0.05; };					};				};				sprite "star_row6" {					place object {						depth: 1;						id: star_row5;					};					place object {						depth: 2;						id: star;						matrix { translate: -61.67 + space * 5, 0; scale: 0.05; };					};				};				sprite "flag" {					place object {						depth: 1;						id: us_flag;					};					// rows of 6 stars					hspace = 7.42;					place object {						depth: 11;						id: star_row6;						matrix { translate: 0, -31.17; scale: 1; };					};					place object {						depth: 12;						id: star_row6;						matrix { translate: 0, -31.17 + hspace; scale: 1; };					};					place object {						depth: 13;						id: star_row6;						matrix { translate: 0, -31.17 + hspace * 2; scale: 1; };					};					place object {						depth: 14;						id: star_row6;						matrix { translate: 0, -31.17 + hspace * 3; scale: 1; };					};					place object {						depth: 15;						id: star_row6;						matrix { translate: 0, -31.17 + hspace * 4; scale: 1; };					};					// rows of 5 stars					place object {						depth: 21;						id: star_row5;						matrix { translate: space / 2.0, -27.43; scale: 1; };					};					place object {						depth: 22;						id: star_row5;						matrix { translate: space / 2.0, -27.43 + hspace; scale: 1; };					};					place object {						depth: 23;						id: star_row5;						matrix { translate: space / 2.0, -27.43 + hspace * 2; scale: 1; };					};					place object {						depth: 24;						id: star_row5;						matrix { translate: space / 2.0, -27.43 + hspace * 3; scale: 1; };					};					// draw outline on top					place object {						depth: 100;						id: definitions.rect_outline;					};				};			};		};	};};// vim: ts=4

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -