进阶Flash 5网络游戏

进阶Flash 5网络游戏
作 者: 位元文化著
出版社: 清华大学出版
丛编项:
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: 暂缺
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《进阶Flash 5网络游戏》作者简介

内容简介

本书主要是以Flash 5的ActionScript程序设计为主。通过大量详尽的图解和实例讲解了Flash 5网络游戏的制作和开发。内容丰富,讲解由浅入深,语言通俗易懂,清晰明了,范例实用,能使读者快速领会程序设计的奥秘与乐趣,学会Flash 5网络游戏编程的全部精髓。通过本书的学习,能使读者在短时间内学会Flash 5网络游戏的制作。对于有一定功底的读者,也可作为参考用书。

图书目录

第0章前言

0-1 本书特点

0-2 内容简介

0-3 注意事项

0-4 光盘内容

第1章 ActionScript入门

1-1 Frame与Object的Actions

1-2 第一个除错命令trace

1-3 变量

1-3-1 变量声明

1-3-2 数值运算

1-3-3 字符串的连接

1-4 布尔值

1-5判断结构

1-5-1if和else

1-5-2 循环

1-6 对象

1-6-1 面向对象

1-6-2 内置对象与类别

1-7 别盯着我!

1-7-1 动画预览

1-7-2 概念与技巧

1-7-3 制作步骤

1-7-4 语法补充

第2章 渲染板

2-1 游戏预览

2-2 概念与技巧

2-3 制作步骤

2-3-1 鼠标光标-油漆桶

2-3-2 颜色小方块

2-3-3 图框与色块组件

2-3-4 场景中角色的安排

2-3-5 场景的FrameActions

2-4 游戏的改进

2-5ActionScript补习班

2-5-1duplicateMovieClip

2-5-2 Color对象

2-5-3 on

2-5-4 onClipEvent

2-5-5 hitTest方法

2-5-6 eval函数

2-5-7 print命令

第3章 涂鸦板

3-1 游戏预览

3-2 概念与技巧

3-3 制作步骤

3-3-1 调整式滑块

3-3-2 "线条"组件

3-3-3 涂鸦区

3-3-4 场景中的对象

3-3-5 场景中的FrameActions

3-4 残余的改进

3-4-1 创作更佳的线条组件

3-4-2 更改场景的FrameActions

3-5 游戏的改进

3-6ActionScript补习班

3-6-1Math对象

3-6-2attachMovie方法

3-6-3 with命令

3-6-4 常用的角色属性

3-6-5 startDrag方法

第4章 连连看

4-1 游戏预览

4-2 概念与技巧

4-3 制作

4-3-1 组件的制作

4-3-2 场景上的角色

4-3-3 场景及对象的Actions

4-4 游戏的改进

4-5 ActionScript补习班

4-5-1Array对象简介

4-5-2 random函数

4-5-3 tellTarget命令

4-5-4removeMovieClip指令和方法

第5章 接宝石

5-1 游戏预览

5-2 概念与技巧

5-3 制作

5-3-1 主角与计分板

5-3-2 倒数计时板

5-3-3 落下的对象

5-3-4 场景中的角色与Actions

5-4 游戏的改进

5-5 ActionScript补习班

5-5-1 Date对象

5-5-2 _currentFrame属性

第6章 大炮

6-1 游戏预览

6-2 概念与技巧

6-3 制作

6-3-1 大炮

6-3-2 蛋头外星人

6-3-3 炮弹

6-3-4 [开火]按键

6-3-5 滑杆

6-3-6 场景的安排

6-3-7 end.fla

6-4 游戏的改进

6-5 ActionScript补习班

6-5-1 loadMovie命令

6-5-2 _leveIN

6-5-3 unloadMovie

第7章 射击敌机

7-1 游戏预览

7-2 概念与技巧

7-3 制作

7-3-1 云

7-3-2 飞行的敌机

7-3-3 爆炸动画

7-3-4 其他组件

7-3-5 场景的配置

7-3-6 场景中的FrameActions

7-4 游戏的改进

7-5 ActionScript补习班

7-5-1 自定对象

7-5-2 自定类别

7-5-3 坐标变换

7-5-4 Sound对象

第8章 拼图

8-1 游戏预览

8-2 概念与技巧

8-3 制作步骤

8-3-1 小图片的遮罩

8-3-2 小图片的制作

8-3-3 拼图图框

8-3-4 场景中的FrameActions

8-3-5 [再玩一次]按键

8-4 改善拖动速度

8-4-1 成品预览

8-4-2 小图片减肥

8-4-3 场景FrameActions的变更

8-5 比较与套用

8-6 ActionScript补习班

8-6-1 swapDepths方法

8-6-2 getBounds方法

第9章 记忆大考验

9-1 游戏预览

9-2 概念与技巧

9-3 制作步骤

9-3-1 卡片

9-3-2 其他组件

9-3-3 场景的安排

9-4 游戏的改进

9-5 ActionScript补习班

9-5-1 堆栈

9-5-2 数组的堆栈性质

第10章 二十一点

10-1 游戏预览

10-2 概念与技巧

10-3 制作

10-3-1 扑克牌

10-3-2 信息行

10-3-3 筹码及赌金面板

10-3-4其他组件

10-3-5场景中的角色安排

10-3-6 场景的FrameActions

10-4 游戏的改进

第11章 俄罗斯方块

11-1 游戏预览

11-2 概念与技巧

11-3 制作

11-3-1 组件的制作

11-3-2 场景的安排

11-3-3 场景的FrameActions

11-3-4 感应按键的ObjectActions

11-4 游戏的改进

11-5ActionScript补习班

11-5-1 for..in

11-5-2 教组的splice方法

11-5-3 数组的unshift方法

11-5-4Key对象

第12章 迷宫

12-1 游戏预览

12-2 概念与技巧

12-3 制作

12-3-1 制作组件

12-3-2 场景的安排与Actions

12-4 提高困难度

12-4-1 遮罩的另一种功能

12-4-2 制作较困难的迷宫

12-5 游戏的改进

12-6ActionScript补习班

12-6-1 break命令

12-6-2 continue命令

12-6-3数组的concat方法

第13章贪吃蛇

13-1 游戏预览

13-2 概念与技巧

13-3 制作

13-3-1 图形及接钮组件

13-3-2 影视片段组件

13-3-3 场景的安排

13-3-4 场景的FrameActions

13-4 游戏的改进

13-5 ActionScript补习班

13-5-1 slice方法

13-5-2 gotoAndPlay与gotoAndStop命令

13-5-3 多重gotoAndPlay的迷思

附录AActionScript补述

A-1BasicActions

A-1-1GoTo

A-1-2 Play

A-1-3 Stop

A-1-4ToggleHighQuality

A-1-5 StopAllSounds

A-1-6GetURL

A-1-7FSCommand

A-1-8LoadMovie

A-1-9 UnloadMovie

A-1-10 TellTarget

A-1-11 IfFrameIsLoaded

A-1-12 OnMouseEvent

A-2Actions

A-2-1 break

A-2-2 call

A-2-3 comment

A-2-4 continue

A-2-5 delete

A-2-6 dowhile

A-2-7 duplicateMovieClip

A-2-8 else.elseif

A-2-9evaluate

A-2-10 for

A-2-11 for..in

A-2-12 function

A-2-13 If

A-2-14include

A-2-15 loadVariables

A-2-16onClipEvent

A-2-17 print

A-2-18 removeMovieClip

A-2-19return

A-2-20setvariable

A-2-21setProperty

A-2-22startDrag

A-2-23 stopDrag

A-2-24 trace

A-2-25var

A-2-26 while

A-2-27with

A-3 Operators

A-3-1!

A-3-2 !=,==

A-3-3 ""

A-3-4 %

A-3-5 &&

A-3-6 ()·

A-3-7 *,/,+,-

A-3-8 十十

A-3-9 --

A-3-10 <.<=,>,>=

A-3-11 and

A-3-12 not

A-3-13or

A-3-14typeof

A-3-15 void

A-3-16 ||

A-3-17 BitwiiseOperators

A-3-17-1 &

A-3-17-2 <<

A-3-17-3 >>

A-3-17-4 >>>

A-3-17-5 ^

A-3-17-6 |

A-3-17-7 ~

A-3-18 compoundassignment

A-3-19 StringOperators

A-4 Functions

A-4-1Boolean

A-4-2escape

A-4-3eval

A-4-4false,true

A-4-5 getProperty

A-4-6getTimer

A-4-7getVersion

A-4-8 int

A-4-9 isFinite

A-4-10iSNaN

A-4-11 maxscroll

A-4-12 newline

A-4-13 Number

A-4-14 parseFloat

A-4-15parselnt

A-4-16random

A-4-17 scroll

A-4-18 String

A-4-19 targetPath

A-4-20 unescape

A-4-21 updateAfterEvent

A-4-22 StringFunctions

A-4-22-1 chr

A-4-22-2length

A-4-22-3 mbchr

A-4-22-4 mblength

A-4-22-5 mbord

A-4-22-6 mbsubstring

A-4-22-7 ord

A-4-22-8substring

A-5 Properties

A-5-1 _alpha

A-5-2 _currentframe

A-5-3 _droptarget

A-5-4 _focusrect

A-5-5 _framesloaded

A-5-6 _height

A-5-7_highquality

A-5-8 _name

A-5-9 _quality

A-5-10_rotation

A-5-11_soundbuftime

A-5-12_target

A-5-13_totalframes

A-5-14_url

A-5-15 _visible

A-5-16_width

A-5-17 _x

A-5-18_xmouse

A-5-19_xscale

A-5-20 _y

A-5-21 _ymouse

A-5-22_yscale

A-6Objects

A-6-1 Array(object)

A-6-1-1 Array.concat

A-6-1-2 Array.join

A-6-1-3Array.length

A-6-1-4Array.pop

A-6-1-5Array.push

A-6-1-6Array.reverse

A-6-1-7 Array.shift

A-6-1-8 Array.slice

A-6-1-9 Array.sort

A-6-1-10Array.splice

A-6-1-11Array.toString

A-6-1-12Array.unshift

A-6-2 Boolean(object)

A-6-3Color(object)

A-6-3-1 Color.setTransform

A-6-3-2 Color.getTranform

A-6-4 Date(object)

A-6-5Key(object)

A-6-5-1 Key.getAscii

A-6-5-2 Key.getCode

A-6-5-3 key.isDown

A-6-5-4 key.isToggled

A-6-6 Math(object)

A-6-6-1 Math.abs

A-6-6-2 Math.arrccos

A-6-6-3 Math.arcsin

A-6-6-4 Math.arctg

A-6-6-5 Math.arctg2

A-6-6-6 Math.ceil

A-6-6-7 Math.cos

A-6-6-8 Math.exp

A-6-6-9 Math.floor

A-6-6-10 Math.log

A-6-6-11Math.max

A-6-6-12 Math.min

A-6-6-13Math.pow

A-6-6-14Math.random

A-6-6-15Math.round

A-6-6-16Math.sin

A-6-6-17Math.sqrt

A-6-6-18Math.tan

A-6-7 Mouse(object)

A-6-8 MovieClip(object)

A-6-8-1 MovieClip.attachMovie

A-6-8-2 MovieClip.duplicateMovieClip

A-6-8-3 MovieClip.getBounds

A-6-8-4 MovieClip.getBytesLoaded

A-6-8-5 MovieClip.getBytesTotal

A-6-8-6 MovieClip.getURL

A-6-8-7 MovieClip.globalToLocal

A-6-8-8 MovieClip.gotoAndPlay

A-6-8-9 MovieClip.gotoAndStop

A-6-8-10MovieClip.hitTest

A-6-8-11MovieClip.loadMovie

A-6-8-12MovieClip.loadVariables

A-6-8-13MovieClip.localToGlobal

A-6-8-14MovieClip.nextFame

A-6-8-15MovieClip.play

A-6-8-16MovieClip.prevFrame

A-6-8-17MovieClip.removeMovieclip

A-6-8-18 MovieClip.starDrag

A-6-8-19MovieClip.stop

A-6-8-20 MovieClip.stopDrag

A-6-8-21 MovieClip.swapDepths

A-6-8-22 MovieClip.unloadMovie

A-6-9Number(object)

A-6-10Object(object)

A-6-11Selection(object)

A-6-11-1 Selection.getBeginIndex

A-6-11-2 Selection.getCaretIndex

A-6-11-3 Selection.getEndIndex

A-6-11-4 Selection.getFocus

A-6-11-5 Selection.setFocus

A-6-11-6 Selection.setSelection

A-6-12Sound(object)

A-6-12-1 Sound.attachSound

A-6-12-2 Sound.getPan

A-6-12-3 Sound.getTransform

A-6-12-4 Sound.getVolume

A-6-12-5 Sound.setPan

A-6-12-6 Sound.setTransform

A-6-12-7 Sound.setVolume

A-6-12-8 Sound.start

A-6-12-9 Sound.stop

A-6-13String(object)

A-6-13-1 String.charAt

A-6-12-2 String.charCodeAt

A-6-13-3 String.concat

A-6-12-4 String.fromCharCode

A-6-13-5 String.indexOf

A-6-12-6 String.lastIndexOf

A-6-13-7 String.slice

A-6-12-8 String.split

A-6-13-9 String.substr

A-6-12-10String.substring

A-6-13-11String.toLowerCase

A-6-12-12 String.toUpperCase

A-6-14XML(object)

A-6-15XMLSocket(object)