摘要: flxsprite的变形点在中心,而flash变形点不确定。如果flash变形点不在中心,随着flash中元件缩放,其位置也会变化。在不改变flxsprite变形点的前提下,将flash变形点和注册点都设置在中心,能够避免缩放比例时,haxe中对位置的麻烦 阅读全文
posted @ 2014-12-08 18:10 helloWorld我来了 阅读(118) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-12-02 16:22 helloWorld我来了 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-11-27 20:02 helloWorld我来了 阅读(2) 评论(0) 推荐(0) 编辑
摘要: TypeError: Error #1009: 无法访问空对象引用的属性或方法。at flixel.text::FlxText/regenGraphics()at flixel.text::FlxText/calcFrame()at flixel::FlxSprite/draw()at flixel... 阅读全文
posted @ 2014-11-26 21:00 helloWorld我来了 阅读(221) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-11-17 17:31 helloWorld我来了 阅读(3) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-11-13 17:52 helloWorld我来了 阅读(3) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-11-13 17:27 helloWorld我来了 阅读(2) 评论(0) 推荐(0) 编辑
摘要: var sx:Int = 10; var sy:Int = 20; private function call(fn:Void->Void):Void{ fn(); } private function gogo(xx:Int,yy:Int):Void{ ... 阅读全文
posted @ 2014-11-13 11:56 helloWorld我来了 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 新手引导思路:http://www.iamsevent.com/post/58.html 阅读全文
posted @ 2014-11-06 11:17 helloWorld我来了 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 根据函数名,调用函数Reflect.callMethod(对象实例, Reflect.getProperty(对象实例,函数名),函数参数数组);设置default/set类型的属性public var pause(default,set):Bool;public function set_paus... 阅读全文
posted @ 2014-11-03 20:34 helloWorld我来了 阅读(184) 评论(0) 推荐(0) 编辑