Away3D Extension
https://github.com/awayjs/stagegl-renderer-ts
Away3D Extension is a framework enabling WebGL-accelerated 3D graphics for AwayJS.
Sunday, July 20, 2014
Sunday, November 17, 2013
要在 FlashPro IDE 看到 Android 裝置的流程
1. [ Android ] 成為裝置的開發人員 ( 設定 > 關於 >「版本號碼」按 7 下 )
2. [ Android ] 設定 > 開發人員選項 > 開啟 USB 偵錯
3. [ PC ] 控制台出現不明 Android 裝置
4. [ PC ] 對該裝置安裝 android_usb_driver
2. [ Android ] 設定 > 開發人員選項 > 開啟 USB 偵錯
3. [ PC ] 控制台出現不明 Android 裝置
4. [ PC ] 對該裝置安裝 android_usb_driver
Adobe air 開發經驗分享
Adobe air 開發經驗分享 from Rhino Lu
2013/10 結束在科碼兩個月的約聘後,恢復自由接案的身分。歡迎洽詢 Flash / Adobe AIR / Mobile APP 合作!
2013/10 結束在科碼兩個月的約聘後,恢復自由接案的身分。歡迎洽詢 Flash / Adobe AIR / Mobile APP 合作!
Saturday, November 16, 2013
SimpleButton 移除滑鼠事件時,會搶走 stage focus
Lamb Mei:
P.S 按鈕是MovieClip 若是物件被移除移(如 POPUP 畫面關閉後, 移除整個popup物件) focus 也會變成 null
保險的做法在移除的時候再次指派focus
P.S 按鈕是MovieClip 若是物件被移除移(如 POPUP 畫面關閉後, 移除整個popup物件) focus 也會變成 null
保險的做法在移除的時候再次指派focus
XRegExp AS3
https://github.com/Ticore/xregexp_as3
XRegExp AS3 是從 XRegExp 2.0.0 (create by Steven Levithan) 移植到 ActionScript 3.0 版本
盡量保留原本 Functional Style 寫法
僅針對 JS, AS3 語法特性上差異進行修正微調
移植項目包含全部的 Addons :
盡量保留原本 Functional Style 寫法
僅針對 JS, AS3 語法特性上差異進行修正微調
移植項目包含全部的 Addons :
- Unicode Base 1.0.0
- Unicode Categories 1.2.0
- Unicode Scripts 1.2.0
- Unicode Blocks 1.2.0
- Unicode Properties 1.0.0
- XRegExp.matchRecursive 0.2.0
- XRegExp.build 0.1.0
- Prototypes 1.0.0
[ 轉 ] Starling 官方多解析度螢幕的開發指引
http://qops.blogspot.tw/2013/05/starling.html
Starling 官方多解析度螢幕的開發指引簡單來說就是利用 viewPort 的尺寸和 starling.stage.stageWidth, starling.stage.stageHeight 大小來調整內容的縮放比 ( starling.contentScaleFactor )。
Starling 官方多解析度螢幕的開發指引簡單來說就是利用 viewPort 的尺寸和 starling.stage.stageWidth, starling.stage.stageHeight 大小來調整內容的縮放比 ( starling.contentScaleFactor )。
PathFindindJS
https://github.com/qiao/PathFinding.js
The aim of this project is to provide a path-finding library that can be easily incorporated into web games. It may run on Node.js or the browser.
The aim of this project is to provide a path-finding library that can be easily incorporated into web games. It may run on Node.js or the browser.
Javascript 地址輸入
奶綠茶:
https://github.com/milkmidi/taiwan_city_area_select_component
黑暗執行緒:
https://github.com/darkthread/twAddrHelper
https://github.com/milkmidi/taiwan_city_area_select_component
黑暗執行緒:
https://github.com/darkthread/twAddrHelper
AS3 按鈕 RollOver 問題
請教一個按鈕的問題,如果在偵聽按鈕事件前,滑鼠已經在按鈕上,就不會觸發 RollOver 事件;解法是偵聽按鈕事件後,馬上檢查滑鼠位置是否在滑鼠上。還有其他解法嗎?
Ticore Shin :
沒有監聽事件就 mouseEnabled = false
否則 mouseEnabled = true
Ticore Shin :
沒有監聽事件就 mouseEnabled = false
否則 mouseEnabled = true
有 x, y 的 getter setter 等 DisplayObject 既有的能力的 interface
http://code.google.com/p/templelibrary/source/browse/trunk/lib/temple/ui/IDisplayObject.as?r=9
TempleLibrary IDisplayObject.as
另外,GaiaFramework 也有 IDisplayObject
https://github.com/stevensacks/Gaia-Framework/blob/master/framework/as3/classes/com/gaiaframework/api/IDisplayObject.as
但是 IAsset 專用,所以有特別擴充過,僅適用於 GaiaFramework 。
TempleLibrary IDisplayObject.as
另外,GaiaFramework 也有 IDisplayObject
https://github.com/stevensacks/Gaia-Framework/blob/master/framework/as3/classes/com/gaiaframework/api/IDisplayObject.as
但是 IAsset 專用,所以有特別擴充過,僅適用於 GaiaFramework 。
SmartGit 解決中文亂碼
http://www.syntevo.com/smartgithg/howtos/5/show?page=trouble-shooting.change-encoding
If your files are displayed with invalid characters, you'll need to change the encoding scheme. To do so, open the Repository Settings dialog with Project|Repository Settings and select an appropriate encoding on the Text Encoding tab.
( 選 UTF-8 )
If your files are displayed with invalid characters, you'll need to change the encoding scheme. To do so, open the Repository Settings dialog with Project|Repository Settings and select an appropriate encoding on the Text Encoding tab.
( 選 UTF-8 )
AS3 To TypeScript Convertor
https://github.com/photonstorm/AS3toTypeScript
By Richard Davey, Photon Storm
I build a lot of HTML5 games in TypeScript which includes converting Flash AS3 games. I found that I was going through the same processes over and over again when converting the AS3 source code to TypeScript. Simple things like swapping "Boolean" for "bool" and many other tedious tasks. So I wrote a PHP script that would do it for me and I'm sharing it here with you.
為什麼用 PHP 而不是 Adobe AIR...
Phaser
https://github.com/photonstorm/phaser
Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses Pixi.js internally for fast 2D Canvas and WebGL rendering.
Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses Pixi.js internally for fast 2D Canvas and WebGL rendering.
ShoeBox
http://renderhjs.net/shoebox/
ShoeBox is a free Adobe Air based app for Windows and Mac OSX with game and ui related tools. Each tool uses a drag and drop - or clipbord interaction for a quick workflow.
ShoeBox is a free Adobe Air based app for Windows and Mac OSX with game and ui related tools. Each tool uses a drag and drop - or clipbord interaction for a quick workflow.
Feathers 小問題
http://stackoverflow.com/questions/14079070/how-do-i-make-normal-sized-components-in-starlings-feather-framework-when-wor
第一次使用 Feathers 一定會遇到的問題:手機上看起來正常,但在桌面上看起來超小.. . 。官方網頁上的 Sample 用桌機看是正常大小,下載範例檔回來輸出卻變小...
http://forum.starling-framework.org/topic/xscreendpi-and-web-applications-without-air
You should also override the screenPixelWidth and screenPixelHeight values. These will will be combined with the dpi value to determine if it's a phone or tablet.
As an example, the following code simulates an iPhone Retina (and will result in a scale value of 1.0):
DeviceCapabilities.dpi = 326;
DeviceCapabilities.screenPixelWidth = 960;
DeviceCapabilities.screenPixelHeight = 640;
第一次使用 Feathers 一定會遇到的問題:手機上看起來正常,但在桌面上看起來超小..
http://forum.starling-framework.org/topic/xscreendpi-and-web-applications-without-air
You should also override the screenPixelWidth and screenPixelHeight values. These will will be combined with the dpi value to determine if it's a phone or tablet.
As an example, the following code simulates an iPhone Retina (and will result in a scale value of 1.0):
DeviceCapabilities.dpi = 326;
DeviceCapabilities.screenPixelWidth = 960;
DeviceCapabilities.screenPixelHeight = 640;
Drawscript
http://drawscri.pt/
Illustrator 外掛,將向量圖形轉成程式,Supports: ObjC, C++, Processing, JavaScript, AS3, JSON
Monday, September 23, 2013
Android APP 大於 50MB 似乎有解了
http://pol2095.free.fr/Air_APKExpansionFiles
if your app exceeded 50MB, you can add one or two expansion files ("main" and "patch") on Google Play Developer Console, each file can be up to 2GB.
Monday, August 19, 2013
Wednesday, August 14, 2013
多人點對點連線遊戲
Building a Peer-to-Peer Multiplayer Networked Game
http://gamedevelopment.tutsplus.com/tutorials/building-a-peer-to-peer-multiplayer-networked-game--gamedev-10074
http://gamedevelopment.tutsplus.com/tutorials/building-a-peer-to-peer-multiplayer-networked-game--gamedev-10074
Monday, August 12, 2013
Subscribe to:
Comments (Atom)
