2012年5月27日

摘要: ghostcat-开源工具类库GhostCat是一个功能非常丰富的开源工具库,(同时也包含有一套完整的UI组件,但它只是类库的一个衍生品。)它基本可以涵盖你可能遇到大部分问题。使用UI将会增加50K左右的体积,使用非UI显示对象会增加20K以上的体积,而非显示类可以非常小。Cell Game EngineCell引擎主要是一套2D游戏编辑器解决方案。 利用Cell引擎可以方便开发在不同平台上的2D游戏。 引擎主要分为编辑器模块,java模块,flash模块,ios模块http://code.google.com/p/cellengine/fishtp一个基于AIR的FTP客户端, AS3代码, 阅读全文
posted @ 2012-05-27 11:36 沙漠之泉 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 原文:http://ntt.cc/2010/07/06/16-useful-mathematical-formulas-in-actionscript-3.html1. Distance Between Two Pointsdx = x2 – x1;dy = y2 – y1;dist = Math.sqrt(dx*dx + dy*dy);2. Inching Formulassprite.x += (targetX – sprite.x) * easing;//easing: inching coefficientsprite.y += (targetY – sprite.y) * easin 阅读全文
posted @ 2012-05-27 11:15 沙漠之泉 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 原文:http://nwhy.org/as3-physics-formula.html来自《Foundation Actionscript 3.0 Animation: Making Things Move!》的物理公式:向鼠标(或者任何一个点)旋转:// 用要旋转到的 x, y 坐标替换 mouseX, mouseYdx = mouseX - sprite.x;dy = mouseY - sprite.y;sprite.rotation = Math.atan2(dy, dx) * 180 / Math.PI; 创建波形:// 将 x, y 或其它属性赋值给 Sprite 影片或影片剪辑,. 阅读全文
posted @ 2012-05-27 10:41 沙漠之泉 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.sina.com.cn/s/blog_3fbce8b10100o8oz.htmlflash as滤镜效果总结一、渐变斜角——GradientBevelFilter类二、投影——DropShadowFilter类三、模糊——BlurFilter类(这个最容易了,参数少)四、发光——GlowFilter类五、渐变发光——GradientGlowFilter类六、斜角——BevelFilter类做法是用new关键字新建一个相应类的对象,暂时就叫myfilters吧,然后把这个对象添加进一个数组filters_array,最后把这个数组赋值给mc的fliters属性,大功 阅读全文
posted @ 2012-05-27 07:41 沙漠之泉 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 这是一个帮助在flash player上 在线生成swf的工具类。This class can create SWF animations directly from the Flash Player. All it does right now is create image animations with full transparency and the ammount of frames each image will be seen.项目地址:http://www.ionsden.com/content/swfencoderSWFWire DecompilerAn open sour 阅读全文
posted @ 2012-05-27 00:25 沙漠之泉 阅读(252) 评论(0) 推荐(0) 编辑

导航