摘要:
1. 构建小球精灵 Ball.as Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package { import flash.display.Sprite; public class Ball extends Sprite ... 阅读全文
摘要:
1.构建小球精灵 Ball.as Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package { import flash.display.Sprite; public class Ball extends Sprite ... 阅读全文
摘要:
构建Ball精灵: Ball.as Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package { import flash.display.Sprite; public class Ball extends Sprite ... 阅读全文
摘要:
1.计算基本的三角函数 正弦=对边/斜边 Math.sin(弧度值):Number 余弦=邻边/斜边 Math.cos(弧度值):Number 正切=对边/邻边 Math.tan(弧度值):Number 余切=邻边/对边 1/Math.tan(弧度值):Number 2.转换弧度为度和转换度为弧度 radians = degrees * Math.PI / 180; degrees = radia... 阅读全文
摘要:
1.构建小球 Ball.as Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package { import flash.display.Sprite; public class Ball extends Sprite ... 阅读全文