亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? baloon.txt

?? Game macromedia flash mx Shooter baloon
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
1. Create a new movie with dimensions of 300px. X 400px. and fps = 24 with white color as Background Color








1. Select frame 1 on Layer 1

2. With the help of 'Text' tool type 'Balloon Shooter' as a game title as shown in the image



3. Here we have used 'President' font for the text. You can use any other font of your choice

4. Rename the layer as 'Balloon Shooter'

5. Below the game title type the text as shown in the image






6. Create two different balloon graphics and place them as shown in the image



7. Choose Insert > Layer to insert a new layer above the Balloon Shooter layer

8. Rename the layer as 'Click to Play'

9. With the help of 'Text' tool type text as 'Click to Play' below the existing text

10. Select the text and choose Insert > Convert to Symbol. Convert it into a Button with the center Registration point selected and name it as 'play'




11. Double click the play button to go inside it

12. Select frame 2 at Over stage and choose Insert > Keyframe 

13. With the help of 'Fill Color' option in the 'Tools' panel change the text color to 'Red'


14. Select frame 4 at Hit stage and choose Insert > Frame

15. Rename the layer as 'Play Button'

16. Insert a new layer above Play Button layer and drag it downward so that it appears below Play Button

17. Select frame at Hit stage and choose Insert > Keyframe

18. Draw a rectangle patch as a 'hit area' of the button



19. Come back into Scene 1

20. Select the Play button and choose Window > Actions

21. In the Actions panel type the following actionon (release) {
	gotoAndStop(2);
}






22. Insert a new layer above Click to Play layer and name it as 'Actions'

23. Select frame 1 on the Actions layer and in the Actions panel type the following actionfscommand("showmenu",false);
stop();





1. Select the Click to Play layer and insert a new layer above it

2. Rename the layer as 'Score Panel'



3. Select frame 2 on the Score Panel layer and choose Insert > Keyframe

4. Create a gradient panel with dimensions as 300px. X 35px. and place it at the bottom of the stage. 



5. Insert a new layer above Score Panel layer and name it as 'Scores'

6. Select frame 2 on the Scores layer and choose Insert > Keyframe

7. With the help of 'Text' tool create a Dynamic text field to display the score. In the Properties panel keep the settings as shown in the image.

In the Variable field type the variable name as 'score' 



8. Similarly create another text field and place it on the other hand. In the Variable field type the variable name as 'missed'

9. To understand what these two scores are showing type text 'hits' and 'miss' as shown in the image




10. Select frame 2 on Actions layer and type the following action.

stop();














1. Insert a new layer above Scores layer and name it as 'Balloons'

2. Select frame 2 on the Balloons layer and choose Insert > Keyframe

3. Create a balloon graphic of 28px. X 42px.


4. Select the balloon on the stage, convert it into a Movie Clip with center registration point selected and name it as 'balloon'


5. Double click the balloon movie clip to go inside it

6. Select frame 3 and choose Insert > Blank Keyframe

7. At frame 3 create small gradient patches which looks like a bust balloon




8. Select frame 4 and choose Insert > Blank Keyframe

9. Insert a new layer and name it as 'Actions'

10. Select frame 1 on Actions layer and type the following action.

stop();

11. Select frame 4 and choose Insert > Keyframe

12. Select the keyframe 4 and in the Actions panel type the following action

_parent.gotoAndPlay(3);

13. Insert a new layer below the Actions layer and name it as 'Dummy Button'

14. At frame 1 draw a oval shape which can cover the balloon under it





15. Select the oval shape and convert it into a Button with center registration point selected and name it as 'hit button'

16. Double click the hit button to go inside it

17. Select the shape on the frame 1 at Up stage and drag it on the frame 4 i.e. on Hit stage


18. Come back into balloon movie clip

19. Select the hit button and choose Window > Actions

20. In the Actions panel type the following actions
on (press) {
 	gotoAndPlay(2);
 	_root.score++;
}

// _root.score++;
// Everytime this button gets hit, the value of the variable 'score' increases by 1

21. Select frame 2 on Dummy Button layer

22. Choose Insert > Blank Keyframe

23. Come back into Scene 1 

24. Select balloon movie clip on the stage, convert it into another Movie Clip and rename it as 'balloon move'

25. In the Properties panel type the Instance Name as 'balloon'



26. Double click the balloon move movie clip to go inside it

27. Select frame 2 and choose Insert > Keyframe

28. Select balloon movie clip at frame 1 and delete it

29. Insert a new layer over the existing layer and name it as 'Actions'

30. Select frame 1 and in the Actions panel type the following action

stop();

31. Select frame 2 and choose Insert > Keyframe

32. Select frame 2 and in the Actions panel type the following action

stop();

33. Select frame 3 and choose Insert > Keyframe

34. Select frame 3 and in the Actions panel type the following action

removeMovieClip("");



35. Select the balloon movie clip at frame 2 and choose Window > Actions

36. In the Actions panel type the following actionsonClipEvent (load) {
 	_root.hitz = 0;
 	this._alpha = 0;
}
onClipEvent (enterFrame) {
 	this._y -= _root.speedz;
 	this._rotation += 7;
 	if (this._y<=-80) {
 	 	this._alpha = 100;
 	}
 	if (this._y<=-380 && _root.hitz == 0) {
 	 	gotoAndPlay(2);
 	 	_root.missed += 1;
 	 	_root.hitz = 1;
 	}	 
 	if (_root._currentframe == 3) {
 	 	_parent.nextFrame();
 	}	 
}	 	 




// _root.hitz = 0;
// this._alpha = 0;
When movie clip loads, the value of the variable 'hitz' is set to '0' as well as the initial alpha value of the movie clip is set to '0'

// this._y -= _root.speedz;
The Y position of the movie clip goes on decreasing as per the value of variable 'speedz' (Movie clip moves upwards)

// this._rotation += 7;
This action help the movie clip to keep on rotating at the speed of 7// if (this._y<=-80) {
 	this._alpha = 100;
 	}

This action checks whether the Y position of the movie clip is less than or equal to 80. If the condition satisfies then the alpha value of the movie clip is set to 100
//	if (this._y<=-380 && _root.hitz == 0) {
 	 	gotoAndPlay(2);
 	 	_root.missed += 1;
 	 	_root.hitz = 1;
 	}	 

This action checks whether the Y position of the movie clip is less than or equal to -380 and at the same time the value of variable 'hitz' is 0. If the condition satisfies then movie clip starts playing from frame 2 and the value of the variable 'missed' increments by 1. The value of variable 'hitz' is set to 1
//	if (_root._currentframe == 3) {
 	 	_parent.nextFrame();
 	}	 
}	 	 

This action checks whether the currentframe position in the root (i.e. level0) is at frame 3. If the condition satisfies then actionscript will go into the parent movie clip (balloon move movie clip) of the current movie clip and play the actions on the next frame.

37. Now come back into Scene 1

38. The balloon move movie clip looks like a dot on the stage


39. Select the balloon move movie clip and drag it downwards so that it appears below the stage area

40. On frame 2 of Balloons layer create a small circle beside the balloon move movie clip

41. Select that small circle and convert it into a Movie Clip and name it as 'trigger' 




42. Select the trigger movie clip and choose Window > Actions

43. In the Actions panel type the following actionsonClipEvent (enterFrame) {
 	if (_root.z%_root.intervalz == 0) {
 	 	duplicateMovieClip("_root.balloon", "balloons"+_root.z, _root.z);
 	 	setProperty("_root.balloons"+_root.z, _x, random(200)+50);
 	 	tellTarget ("_root.balloons"+_root.z) {
 	 	 	gotoAndPlay(2);
 	 	}	 
 	}	 	 
 	_root.z++;
}	 





// if (_root.z%_root.intervalz == 0) 
This action checks whether the value of variable 'z' is perfectly divisible by the value of variable 'intervalz' 

// duplicateMovieClip("_root.balloon", "balloons"+_root.z, _root.z);
If the first 'if' condition satisfies then this action will create a duplicate movie clip of the balloon movie clip

// setProperty("_root.balloons"+_root.z, _x, random(200)+50);
This action determines the X position of the duplicated movie clip//	tellTarget ("_root.balloons"+_root.z) {
 	 	gotoAndPlay(2);
 	}	 

This action lets the duplicated movie clip to play its second frame


// _root.z++;
This action keeps on incrementing the value of variable 'z' by 1

44. Insert a new layer above Balloons layer and rename it as 'Variables'

45. Select frame 2 on Variables layer and choose Insert > Keyframe

46. Select keyframe 2 and in the Actions panel type the following variables (Initialize the variables)

z=0; 
// 'z' variable is used for Balloon movie clip
n=0;
// 'n' variable is used for Bonus Balloon movie clip
speedz=7;
speedn=10;
intervalz=20;
intervaln=50;
hitz=0;
hitn=0;
score=0;
missed=0;
time=60;
// time=60 is initialized for one minute timer



47. Choose Control > Test Movie 

Now you can see pink balloons flying and at certain point getting busted. If you try to click them with the mouse they will bust and it will increase your score by 1 everytime you hit the balloon. If you miss any of them it will count as a missed balloon.


To add some more interaction to the game we are going to add one more different colored balloon which will give you 5 bonus points if you hit it.


1. Choose Window > Library > balloon movie clip

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品久久人人做人人爰| 欧美老肥妇做.爰bbww| 青青草97国产精品免费观看无弹窗版| 中文字幕精品在线不卡| 国产日韩欧美亚洲| 中文字幕精品一区| 国产精品久久久久久久久果冻传媒 | 国产精品美女一区二区三区 | 国产欧美日韩另类视频免费观看| 欧美一区二区黄| 日韩精品一区二区三区在线| 精品国产一区a| 久久精品一级爱片| 国产精品国模大尺度视频| 成人欧美一区二区三区在线播放| 亚洲三级在线播放| 亚洲国产毛片aaaaa无费看| 五月婷婷欧美视频| 极品美女销魂一区二区三区| 国产精品一区二区免费不卡 | 色欧美88888久久久久久影院| 日本大香伊一区二区三区| 欧美精品少妇一区二区三区| 日韩欧美中文一区| 国产精品视频第一区| 亚洲免费看黄网站| 麻豆精品在线观看| 成人蜜臀av电影| 欧美猛男gaygay网站| 久久久夜色精品亚洲| 亚洲欧美一区二区三区孕妇| 亚欧色一区w666天堂| 国产精品一区二区男女羞羞无遮挡 | 久久麻豆一区二区| 一区二区三区资源| 国产在线精品不卡| 色94色欧美sute亚洲线路一ni| 日韩美一区二区三区| 国产精品高清亚洲| 久草在线在线精品观看| 日本高清免费不卡视频| 久久久91精品国产一区二区三区| 一区二区在线观看av| 国产一区二区三区蝌蚪| 欧美日韩免费电影| 一区二区中文视频| 国产精品综合二区| 欧美电影一区二区| 亚洲视频一区在线| 国产精品影音先锋| 日韩一区二区电影在线| 亚洲国产欧美日韩另类综合| 成人免费看黄yyy456| 精品免费日韩av| 丝袜脚交一区二区| 欧美最猛性xxxxx直播| 国产精品女上位| 国产在线视频一区二区| 91精品国产色综合久久不卡蜜臀 | 最新热久久免费视频| 国产毛片精品国产一区二区三区| 欧美精品在线观看播放| 亚洲综合免费观看高清在线观看| 99久久国产综合精品麻豆| 久久婷婷国产综合精品青草| 蜜臀av性久久久久蜜臀aⅴ| 欧美日韩精品一区二区天天拍小说 | 精品国产网站在线观看| 日韩精品乱码av一区二区| 91高清在线观看| 亚洲三级在线看| 色综合久久久久网| 亚洲色图在线看| 99精品欧美一区二区三区小说 | 精品亚洲免费视频| 日韩欧美一级在线播放| 偷拍与自拍一区| 欧美一区二区三区的| 日本不卡视频在线观看| 欧美丰满一区二区免费视频| 亚洲成人福利片| 91麻豆精品国产91久久久久久久久 | 91精品欧美综合在线观看最新| 亚洲国产精品久久久久秋霞影院| 日本韩国欧美在线| 亚洲高清免费观看高清完整版在线观看| av午夜精品一区二区三区| 亚洲日本在线看| 欧美性受xxxx黑人xyx性爽| 亚洲va欧美va人人爽| 欧美日韩免费高清一区色橹橹 | 亚洲免费成人av| 色菇凉天天综合网| 亚洲h动漫在线| 日韩欧美一二三四区| 国产酒店精品激情| 国产精品国产三级国产普通话三级| 99久久久国产精品免费蜜臀| 亚洲国产裸拍裸体视频在线观看乱了 | 蜜桃在线一区二区三区| 欧美精品一区二区三区视频| 成人激情综合网站| 亚洲地区一二三色| 精品国产乱码久久久久久影片| 国产·精品毛片| 亚洲一区二区三区激情| 久久男人中文字幕资源站| av网站一区二区三区| 日日骚欧美日韩| 国产欧美在线观看一区| 欧美在线观看视频一区二区 | 色综合天天在线| 视频一区二区三区在线| 欧美国产亚洲另类动漫| 欧美性受xxxx黑人xyx性爽| 激情综合色播激情啊| 一区二区三区免费| 国产亚洲欧美激情| 91麻豆精品久久久久蜜臀| 99re这里只有精品视频首页| 伦理电影国产精品| 亚洲一级在线观看| 午夜激情综合网| 国产精品不卡一区二区三区| 日韩欧美国产系列| 在线亚洲人成电影网站色www| 国产久卡久卡久卡久卡视频精品| 亚洲妇女屁股眼交7| 综合久久久久综合| 久久久久久黄色| 日韩一区二区三| 欧美群妇大交群中文字幕| 97精品国产97久久久久久久久久久久 | 日本三级亚洲精品| 一区二区三区欧美亚洲| 日韩理论电影院| 日本一区二区动态图| 精品成人免费观看| 91精品婷婷国产综合久久| 欧美中文字幕一区| 色噜噜狠狠成人网p站| 成人av资源网站| 成人中文字幕合集| 国产91丝袜在线观看| 精彩视频一区二区三区| 蜜桃av噜噜一区| 蜜臀久久99精品久久久久宅男 | 精品电影一区二区三区| 日韩欧美一二三区| 欧美电影免费观看高清完整版 | 天天做天天摸天天爽国产一区| 亚洲欧美视频在线观看视频| 国产精品美女www爽爽爽| 国产精品乱码久久久久久| 日本一区二区三级电影在线观看| 国产嫩草影院久久久久| 中文一区二区完整视频在线观看| 国产亚洲成年网址在线观看| 国产午夜精品一区二区三区嫩草| 久久先锋影音av鲁色资源| 国产亲近乱来精品视频| 日本一区二区三区dvd视频在线| 国产午夜久久久久| 国产精品久久久久久久久免费桃花| 国产日韩av一区| 中文字幕一区二区视频| 亚洲人成电影网站色mp4| 亚洲综合在线观看视频| 日韩电影免费在线| 狠狠狠色丁香婷婷综合激情| 成人一区在线看| 色偷偷久久一区二区三区| 3d动漫精品啪啪1区2区免费| 日韩欧美美女一区二区三区| 久久久91精品国产一区二区精品 | 国产乱子轮精品视频| 99精品久久久久久| 欧美日韩国产首页| 精品嫩草影院久久| 国产精品福利av| 日本视频中文字幕一区二区三区| 精品一二三四区| 日本韩国欧美在线| 精品三级av在线| 亚洲人被黑人高潮完整版| 视频在线观看91| 成人性生交大片免费看中文| 91久久精品网| 欧美丰满美乳xxx高潮www| 久久久91精品国产一区二区三区| 亚洲三级小视频| 久久99精品网久久| 色老汉一区二区三区| 精品久久久久av影院| 亚洲欧美福利一区二区| 另类小说综合欧美亚洲| 日本伦理一区二区| 久久女同互慰一区二区三区| 婷婷成人激情在线网| 99精品偷自拍|