Monday, March 25, 2013

遊戲開發者 Terry Paton 釋出大量遊戲原始碼



Source code to AS3 games! (Part 1)
http://pixelpaton.com/?p=5646

Source code to 5 more AS3 games! (Part 2)
http://pixelpaton.com/?p=5659

Source code to 5 more AS3 games! (Part 3)
http://pixelpaton.com/?p=5668

Source code to 5 more AS3 games! (Part 4)
http://pixelpaton.com/?p=5689

Source code to ALL the AS2 and AS3 games I’m sharing
http://pixelpaton.com/?p=5707

Loom Game Engine


使用 AS3 語法的遊戲引擎
http://theengine.co/loom


另一套使用 AS3 語法的遊戲引擎
NME
http://www.nme.io/about

[轉] Flash 程序员的 Objective-C 教程



Flash程序员的Objective-C教程(1) – 概念篇
http://www.tech-mx.com/blog/?p=105

Flash程序员的Objective-C教程(2) – 类结构拆分
http://www.tech-mx.com/blog/?p=124

Flash程序员的Objective-C教程(3) – 调试
http://www.tech-mx.com/blog/?p=134

Flash程序员的Objective-C教程(4) – 内存管理和初始化
http://www.tech-mx.com/blog/?p=151

Flash程序员的Objective-C教程(5) – 安装cocos2d-iPhone
http://www.tech-mx.com/blog/?p=163

LeapMotion


https://www.leapmotion.com/
https://github.com/leapmotion

JS lib
https://github.com/leapmotion/leapjs

AS3 lib
https://github.com/logotype/LeapMotionAS3


FlashDevelop


FlashDevelop is a free and open source code editor for every Flash developer
http://www.flashdevelop.org/

心目中最強大的 Flash Code Editor !

免費,但目前僅支援 Windows 平台

FeathersUI


http://feathersui.com/

建構於 Starling 之上的一組 UI 套件

因為有硬體加速,所以很適合發佈在行動裝置上

有 Adobe 官方支援

簡體中文社群提供的相關文件翻譯:
http://www.starlinglib.com/wiki/FeathersUI

2D Animation Tools


Spine
http://esotericsoftware.com/


DragonBones
http://dragonbones.github.com/


Spriter
http://brashmonkey.com/spriter.htm

SpriterAS
http://treefortress.com/introducing-spriteras-play-spriter-animations-scml-with-starling/
https://github.com/treefortress/SpriterAS


Flump
http://threerings.github.com/flump/


SpriterMC
http://www.sammyjoeosborne.com/SpriterMC/

ESPRIQUE


http://esprique.com/

上半 flash 與下半 footer/html 的高度與捲軸處理的很微妙 ( 把瀏覽器拉扁試試 )

HTML5 WEBGL 火力展示


Find your way to OZ (尋找奧茲之旅)
http://www.findyourwaytooz.com


Swivel SWF 時間軸動畫轉影片


http://www.newgrounds.com/wiki/creator-resources/flash-resources/swivel


What Flash features does Swivel NOT support?

Swivel will probably not work well with the following features:
- getTimer, setTimeout, and Timers
- Sound complete events
- Loading assets external, such as XML or Sounds
- Dynamically loaded SWFs (including those embedded using the Embed metadata)
- TLF Text Fields with Linkage set to Preloader SWF
- Stage3D
Future versions of Swivel may support more features -- particularly, items higher on the list are likely to be supported.

Kjuuuube


A global game jam 2013 game thingie.

Kjuuuube
http://zink-interactive.se/ggj13/

很讚的 HTML5 小遊戲

fla 版本降轉工具


可將 CS 6/CS 5.5 降轉至 CS 5

Flannel
http://ajarproductions.com/blog/2012/03/06/flannel-open-newer-fla-files/

另外,CS 5.5 可以開 CS 6 的 fla / xfl 檔案

AS3 print 在 Chrome 的問題


解決在Chrome裡無法使用 Flash PrintJob 的問題
http://milkmidi.blogspot.tw/2012/08/chrome-flash-printjob.html

重點是要「addChild」

addChild(some_sprite);
print();
removeChild(some_sprite);
}

Making of Gangster Squad

遊戲網址:
http://www.gamenode.com/fighting-games/gangster-squad-tough-justice/

開發的幕後花絮:




Sunday, March 24, 2013

Flash 網站框架


GaiaFramework
http://gaiaflashframework.tenderapp.com/home


Progression
http://progression.jp/



PNG 壓縮

壓縮PNG,約可減少50%~70%,會產生一點顆粒感,螢幕髒點就看不出來...

TinyPNG

http://tinypng.org/

Flash Pro CS6 JSFL 文件

http://help.adobe.com/zh_TW/flash/cs/extend/flash_extending_reference.pdf

40個遊戲教程

40+ Fantastic Game Development Tutorials From Across the Web

http://gamedev.tutsplus.com/articles/roundups/fantastic-gamedev-tutorials-from-across-the-web/

使用 ANE 和行動裝置的 system volume 互動

使用 ANE 和行動裝置的 system volume 互動

An AIR native extension to interact with the system volume on iOS and Android devices.

https://github.com/nweber/SystemVolumeNativeExtension

FalconJS

FalconJS = Flex SDK + Falcon Compiler + Compiler.js

即 as/mxml 轉換成 js/html 的方案

http://www.slideshare.net/noridon/falconjs-share-15692006

AS3 Physics Engine


Box2D
http://www.box2dflash.org/

Box2D Editor
https://www.iforce2d.net/rube/


Nape
http://napephys.com/

ladeng6666 Nape 教學
http://www.ladeng6666.com/blog/category/nape/



Jiglib
http://www.jiglibflash.com/blog/


APE
http://www.cove.org/ape/


Flash IDE "Color Effect" 和程式的關係

FlashIDE色彩效果面板的秘密 http://www.litefeel.com/color-transform/

AS3 3D framework


Away3D
license : https://github.com/away3d/away3d-core-fp11/blob/master/README.txt  ( Apache 2.0  )
link : http://away3d.com/

Flare3D

license : http://www.flare3d.com/buy/
link : http://www.flare3d.com/


Minko

license : https://github.com/aerys/minko ( MIT )
link : http://minko.io/


Alternative3D

license : http://alternativaplatform.com/en/support/ ( free for any project )
link : http://alternativaplatform.com/



以 Starling 開發的橫向捲軸小遊戲 Hungry Hero 開源了

http://gamua.com/blog/2012/11/hungry-hero-goes-open-source/

療癒系小遊戲

http://abowman.com/google-modules/

Get HTML code in StageWebView

StageWebView 沒有屬性可以得到該頁的 HTML,但是可以抓到該頁的 title,於是怪招出現了....

http://forums.adobe.com/message/3995612

browser_swv.addEventListener(flash.events.Event.COMPLETE, onPageLoaded) ;
browser_swv.loadURL("http://www.twitter.com");

protected function onPageLoaded(ev:Event):void{
     browser_swv.loadURL('javascript:document.title=document.documentElement.innerHTML;');
     var html_str:String = browser_swv.title;
    
     /* HERE THE CODE TO FIND SOME TAG IN THE HTML */
}

Save Login in Flash and Flex

http://www.judahfrangipane.com/blog/2012/10/12/auto-login-in-flash-and-flex/

透過 HTML Form 讓瀏覽器記住密碼,並讓 flash 也能自動登入

原理是在 HTML 放置隱藏的表單,例如 帳號/密碼

當使用者在 Flash 內的表單送出帳/密,其實是將值送給 JS 同時送出 HTML 的 Form

這樣瀏覽器才會跳出提示,問要不要記憶帳號/密碼

下次使用者來,若瀏覽器有記憶帳密,則原本隱藏的 HTML Form 會自動填上 帳號/密碼,

這時可以透過 JS 捕捉 Form 內的值,並傳回 Flash。

AS3 Game Framework 遊戲框架


Flixel
http://flixel.org/
Stage3D:no
physics:Box2D, Nape...
license:http://flixel.org/download.html

Flixel Power Tools
http://www.photonstorm.com/flixel-power-tools

Flash Game Dojo
http://flashgamedojo.com/

How to Learn Flixel
http://gamedev.tutsplus.com/articles/how-to-learn/how-to-learn-flixel/


PushButton
https://github.com/PushButtonLabs/PushButtonEngine
Stage3D:no
physics:built-in
license:MIT


FlashPunk
https://github.com/ChevyRay/FlashPunk
Stage3D:no
physics:built-in
license:https://github.com/ChevyRay/FlashPunk/blob/master/license.txt


Citrus Engine
http://citrusengine.com/
Stage3D:yes
physics:Box2D, Nape...
license:MIT



Anthill
http://anthill.ant-karlov.ru/
Stage3D:no
physics:??
license:http://anthill.ant-karlov.ru/wiki/license


Saturday, March 23, 2013

在IE下,嵌入html的 YouTube 影片,總是在最上層...

在IE下,嵌入html的 YouTube 影片,總是在最上層,其他元件無法蓋過去,
google後發現,嵌入影片時可以餵參數進去!Respect !

How can I make iframe respect z-index in IE?

Flash Player and Adobe AIR feature list 版本與功能對照

從 flash player 11 / AIR 3 開始,各版本功能列表;
方便查Stage3D哪個版本開始支援?原生JSON?全螢幕下輸入文字?

http://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html


AS3 Library 好用類別

3D:

AS3 3D framework
http://rhinolu.blogspot.tw/2013/03/as3-3d-framework.html


Set:

Grant Skinner
https://github.com/gskinner/AS3Libs

CASA Lib
http://casalib.org/


Game:

AS3 Game Framework 遊戲框架
http://rhinolu.blogspot.tw/2013/03/as3-game-framework.html



Security:

flash-anticheat-engine 防竄改參數值
https://code.google.com/p/flash-anticheat-engine/

flaptcha 驗證碼工具 ( 不適用於表單 )
https://code.google.com/p/flaptcha/


UI:

KeyMapper 鍵盤事件小工具
http://www.plugin.io/2012/10/introducing-the-keymapper-class/


Tween:

Green Sock
http://www.greensock.com/



Transform:

TransformTool
http://www.senocular.com/demo/TransformToolAS3/TransformTool.html

Free Transform Manager
http://blog.ryantan.net/2012/07/free-transform-manager-as3-v1-5-1/
https://github.com/ryantan/free-transform-manager-as3


Utils:

Tracking memory leaks 查找記憶體洩漏小工具
http://divillysausages.com/blog/tracking_memory_leaks_in_as3
XML可以透過 System.disposeXML(xml) 釋放記憶體
加了buttonMode的Sprite,若被點了就無法回收
new Dictionary 時有 weakKeys 參數可以下



Effect:

Lighting 閃電特效
http://blog.oaxoa.com/2009/07/27/actionscript-3-as3-lightning-thunderbolt-electric-discharge-class/



Facebook:

Adobe facebook-actionscript-api
https://code.google.com/p/facebook-actionscript-api/

Temple Library Facebook Module
http://templelibrary.googlecode.com/svn/trunk/modules/facebook/readme.html