
;===============================================================================================
; RESOURCE 의 정의
;===============================================================================================

BEGIN_RESOURCE

BITMAP "long_bak"

	default			"normal"
	file			"stage01.bmp"
	set_grid_size	"1280,480"
	set_grid_cnt	"5,1"
	make_self
	system_mem

END_BITMAP

BITMAP "long_front"

	default			"normal"
	file			"stage01f.bmp"
	set_grid_size	"1280,480"
	set_grid_cnt	"5,1"
	make_self
	system_mem

END_BITMAP

SPRITE "sprite_bak"

	default		"normal"
	file		"stage00.ses"
	
END_SPRITE

;===============================================================================================
; 배경 래이어의 정의 
;===============================================================================================

BEGIN_BACKGROUND_LAYER

LAYER	"long_back1_sprite1"

	default			"sprite"
	add_sprite		/"sprite_bak",0/
	z_location		1
	set_location	"0,0"	
	motion			"1.5,1"

END_LAYER

LAYER	"long_front1"

	default		"layer"
	add_bitmap	"long_front0000"
	z_location	2
	set_focus	"0,0,639,479"
	motion		"1,0"
	color_key	"255,0,255"

END_LAYER

LAYER	"long_front2"

	default		"layer"
	add_bitmap	"long_front0100"
	z_location	2
	set_focus	"0,0,639,479"
	motion		"1,0"
	color_key	"255,0,255"

END_LAYER


LAYER	"long_front3"

	default		"layer"
	add_bitmap	"long_front0200"
	z_location	2
	set_focus	"0,0,639,479"
	motion		"1,0"
	color_key	"255,0,255"

END_LAYER

LAYER	"long_front4"

	default		"layer"
	add_bitmap	"long_front0300"
	z_location	2
	set_focus	"0,0,639,479"
	motion		"1,0"
	color_key	"255,0,255"

END_LAYER

LAYER	"long_front5"

	default		"layer"
	add_bitmap	"long_front0400"
	z_location	2
	set_focus	"0,0,639,479"
	motion		"1,0"
	color_key	"255,0,255"

END_LAYER
;==============================================================
LAYER	"long_back1"

	default		"tail"
	add_bitmap	"long_bak0000"
	z_location	0
	set_focus	"0,0,639,479"
	motion		"1.5,1"
	color_key	"none"

END_LAYER

LAYER	"long_back2"

	default		"tail"
	add_bitmap	"long_bak0100"
	z_location	0
	set_focus	"0,0,639,479"
	motion		"1.5,1"
	color_key	"none"


END_LAYER

LAYER	"long_back3"

	default		"tail"
	add_bitmap	"long_bak0200"
	z_location	0
	set_focus	"0,0,639,479"
	motion		"1.5,1"
	color_key	"none"


END_LAYER	

LAYER	"long_back4"

	default		"tail"
	add_bitmap	"long_bak0300"
	z_location	0
	set_focus	"0,0,639,479"
	motion		"1.5,1"
	color_key	"none"


END_LAYER

LAYER	"long_back5"

	default		"tail"
	add_bitmap	"long_bak0500"
	z_location	0
	set_focus	"0,0,639,479"
	motion		"1.5,1"
	color_key	"none"

END_LAYER

END_BACKGROUND_LAYER


;===============================================================================================

BACKGROUND_STREAM

	
	STREAM 1

		play_mp3		"bg_03.mp3"
		;;Create_Layer	/"front1", "long_front1",		z,   x,  y,   mx,my/
		Create_Layer	/"front1", "long_front1",		-_-,   0,  0,   1,0/
		Create_Layer	/"back1", "long_back1",			-_-,   0,  0,   0.5,0/				
		Create_Layer	/"spr1", "long_back1_sprite1",	-_-,   1432,  25,   -0.5,0/
		mod_delay		/"spr1", 3/				
		make_consume	"back1"				
		make_consume	"front1"				

	END_STREAM

		STREAM 129

			Create_Layer	/"front2", "long_front2",		-_-,   0,  0,   1,0/
			mod_focus_loc	/"front2", -640,0/
			make_consume	"front2"		

		END_STREAM


	STREAM 257 	

		Create_Layer	/"back2", "long_back2",			-_-,   0,  0,   0.5,0/
		mod_focus_loc	/"back2", -640,0/
		make_consume	"back2"		

	END_STREAM


		STREAM 385

			Create_Layer	/"front3", "long_front3",		-_-,   0,  0,   1,0/
			mod_focus_loc	/"front3", -640,0/
			make_consume	"front3"		

		END_STREAM


		STREAM 641

			Create_Layer	/"front4", "long_front4",		-_-,   0,  0,   1,0/
			mod_focus_loc	/"front4", -640,0/
			make_consume	"front4"		

		END_STREAM

	STREAM 769 	

		Create_Layer	/"back3", "long_back3",			-_-,   0,  0,   0.5,0/
		mod_focus_loc	/"back3", -640,0/
		make_consume	"back3"		

	END_STREAM

			STREAM 897

			Create_Layer	/"front5", "long_front5",		-_-,   0,  0,   1,0/
			mod_focus_loc	/"front5", -640,0/
			make_consume	"front5"

			END_STREAM
			
	STREAM 1000
		play_mp3		"mboss.mp3"
	END_STREAM
	

;0000000000000000000000000000000000000000000000000000000000000000000000000000000
;이벤트
;0000000000000000000000000000000000000000000000000000000000000000000000000000000
	STREAM 1050
		mod_motion	/"front5", 0,0, 0.4, 0/
		mod_motion	/"back3", 0,0, 0.8, 0/
	END_STREAM
	STREAM 1060
		mod_motion	/"front5", 0,0, 0.3, 0/
		mod_motion	/"back3", 0,0, 0.6, 0/
	END_STREAM
	STREAM 1070
		mod_motion	/"front5", 0,0, 0.2, 0/
		mod_motion	/"back3", 0,0, 0.4, 0/
	END_STREAM
	STREAM 1080
		mod_motion	/"front5", 0,0, 0.1, 0/
		mod_motion	/"back3", 0,0, 0.2, 0/
	END_STREAM
	STREAM 1090
		mod_motion	/"front5", 0,0, 0.0, 0/
		mod_motion	/"back3", 0,0, 0.0, 0/
	END_STREAM
	STREAM 1100
		mod_motion	/"front5", 0,0/
		mod_motion	/"back3", 0,0/
	END_STREAM
;0000000000000000000000000000000000000000000000000000000000000000000000000000000
;이벤트
;0000000000000000000000000000000000000000000000000000000000000000000000000000000

END_BACKGROUND_STREAM


END_SCRIPT
