February 2012
5 posts
1 tag
imagination
// (){} is a function f = (){ // put private things here // {} is an inner hash/set, with its own method like isExist() and operator[], // which doesn't implement by this language. vars = {}; return (){ // shared variables here, shared = nil; // then return a new instance return { get: (key){ return vars[key]; }, set: (key, value){ vars[key] = value; } ...
Feb 25th
2 tags
Fun with JavaScript Singleton
var Normal = function() { //initialize here this.x = 1; this.y = 2; }; var Singleton = function() { var shared = function() { //initialize here this.x = 10; this.y = 20; }; shared.meow = function() { console.log("meow!"); }; return function() { return shared; }; }(); /* show time! */ var a0 = new Normal(); var a1...
Feb 25th
“viewDidLoad …This method is called regardless of whether the view...”
– Scumbag UIViewController Class Reference
Feb 21st
Cocoa Design Patterns Errata > creating the... →
跟 Objective-C還有 Cocoa很不熟, Cocoa Design Patterns還真是開了我的眼界。 可是 Singleton的 code不能用了。 原來是因為 [super alloc]會叫到 [self allocWithZone:]。文中提到的辦法是改叫 [super allocWithZone:nil]來閃過,總覺得不是那麼直觀,不過也只好將就用用先。 P.s. 還好沒看中文版,那句 One pattern to rule them all的味道沒了XD。
Feb 19th
3 tags
prototype的聯想
去年中開始看 Douglas Crockford的 “JavaScript: The Good Parts”,才知道 JavaScript這幾年不是無緣無故翻身。而 prototype-based OOP與 class-based OOP的比較,讓我對 OOP有了不同的認識。 先看看 prototype繼承的用法, Crockford的作法是: function beget(o) { function F() {}; F.prototype = o; return new F(); } 之所以不能簡單的先隨便弄個新的 instance n再讓 n.prototype = o,是因為 ECMAScript不云許隨便抽換 instance的 prototype,真正的 prototype是存在一個內部變數, Dmitry Soshnikov稱它為...
Feb 15th
January 2012
7 posts
From NeXTSTEP to Cocoa: Erik Buck on the... →
What are asynchronous graphics?
Jan 29th
The Word of Notch: Coding skill and the decline of... →
notch: The more I learn, the more I realize how little I know. I hope some day I can call myself a game programmer. The interesting part is that the more platform I work with, the more things I learned. Different languages and different paradigms open up my mind.
Jan 13th
629 notes
Android Design →
Jan 13th
p01 →
Jan 7th
ECMA-262 →
為什麼人家可以有一堂叫做"Essentials of interpretation"的課XD
Jan 4th
JSMentors關於 Dmitry A. Soshnikov的介紹 →
Jan 4th
另外幾個想法: 和巴貝奇(Charles Babbage)交換生命最後幾天的遊戲 一個視覺化的 brainfuck直譯器
Jan 4th
November 2011
2 posts
獨立遊戲競賽贊助 →
Nov 28th
今天又被女友做了簡短的人生商談。 想了想,其實核心跟主題很簡單:世界。 所以好玩的 open world遊戲都很吸引我。 有興趣的題材: Steering Behavior Real-Time Cloud Rendering Ambient Occlusion Design Patterns 另外還有些是因為生活上會用到而感興趣的題材: Unicode Console Input Method CJKV BBS 但也僅止於有興趣罷了,這是個大問題。
Nov 28th
October 2011
6 posts
Node
Today, I tried to build node from scratch on Cygwin. I chose v0.5.9, so I can also use npm. Actually, I can’t build v0.5.8 by gcc4 4.5.3-3. Enviroment Cygwin: 1.7.9-1 devel->gcc4-g++: 4.5.3-3 devel->git: 1.7.5.1-1 devel->make: 3.81-2 devel->pkg-config: 0.23b-10 devel->zlib-devel: 1.2.5-1 libs->openssl-devel: 0.9.8r-2 net->openssl: 0.9.8r-2 ...
Oct 30th
如何在 Windows 作業系統安裝 Node.js 執行環境 (Cygwin) →
為了避開一個小問題,決定把 node.js裝起來。
Oct 27th
Hong Kong Indie Game Development Blog →
思齊…。
Oct 19th
Vampire Katana 歐美MMO情報誌 →
因為他的介紹還有以前韋勳的推薦,我對 GW2的印象越來越好了,觀察中。
Oct 16th
FLARToolKit →
Oct 14th
Linux UVC driver and tools →
Oct 14th
June 2011
1 post
Things a Computer Scientist Rarely Talks About →
Jun 22nd
May 2011
8 posts
雖然...
雖然在 Cloud9開了帳號,雖然還有想寫的東西,但是在這最後的一小時,還是不想寫程式,只想好好放鬆,好好看看文章跟影片。 我不是一個很有熱情的人,可是當能寫程式的時間被限制時,焦慮跟痛苦還是不會少的。 真不知道該怎麼過下去?希望十月快點到。
May 22nd
Eddy紫 试玩版v0.60 →
短評一下 Eddy紫。 我喜歡: 非戰鬥時的對話系統 深紫這顆球 倒是教學如果能更互動些就更好了,現在有些教學是刻在背景上的,另外技能的教學好像也還沒實作。另外第一個小王後變成彈幕遊戲了,不知道作者考不考慮把 Eddy的命中區域做得小一點?再來現在還沒有射擊遊戲的爽快感XD 剛玩時我就想到經典的射擊遊戲 Abuse或是最近的 Capsized。 技術方面,我覺得粒子系統跟慮鏡可以讓整個遊戲的質感大大向上提升,可是像粒子系統,連我自己都還沒有好好寫過用過,實在沒什麼資格說人家XD 期待未來的版本!
May 22nd
ROME - "3 DREAMS OF BLACK" →
好吧, Google你又嚇到我一次XD
May 22nd
May 22nd
1 note
DIVE INTO HTML5 →
May 22nd
HTML5 教程(W3school) →
May 22nd
Cloud9 IDE →
因它意外發現 node.js,看來雖然短期只能在雲端 coding,但是能做的事情還是很多。
May 19th
Prototype Javascript framework →
在某個獨立網路中,我唯一可用的 Javascript framework。
May 6th
April 2011
8 posts
陳星漢 →
很久以前玩過他的雲(Cloud), 沒機會玩花(Flower), 沒想到他有在 Maxis做過
Apr 18th
Air Pressure →
最後一刻才在 Indepla看到介紹XD 似乎是個有多重結局的遊戲 需要一些英文能力
Apr 18th
Fetris: A Tetris Clone →
目前的進度。 kerrot建議下一個出來前至少要多幾個 tick。接著還有很多細節要弄,計分板也還沒出來XD
Apr 18th
TrntH →
cwhistle作者的 blog,文章中也有 cwhistle的 demo可以下載。
Apr 16th
世界臉 →
不是很好讀就是了
Apr 6th
adeathjohn的頻道 →
值得注意這個 john! 他的新作 Cwhistle不管是標題畫面還是遊戲本身很有感覺 希望能看到他完成這個 project
Apr 6th
獨立遊戲製作的驕傲,革命性的作品,Minecraft →
Apr 6th
懶人的憂愁
我很懶,當了兵就幾乎沒在 coding。 警覺到這點的自己,有天在網路上查了查現在華文 Indie Games的發展。 先來看看兩個網站: 獨立星球(Indepla) 獨立星球(MyOnlyStar) 兩個站都叫獨立星球,我不知道被後有沒有關係,但是很明顯是兩個不同的站。可能前者是指獨立遊戲的星球,後者則是延自某個遊戲強者的 id。 Indepla讓我驚訝的是,已經有像是 TIGSource那樣的討論區,而且也有厲害的強者在裡面開 project子版做遊戲。而 MyOnlyStar看得出來蒐集新聞不遺餘力。 相較之下,某個快要荒廢的討論區請振作啊。另外我還要在這邊對半路前輩喊話:「除了想看你的文章外,也想看到你新的遊戲作品!」 ...
Apr 6th
March 2011
2 posts
其實台灣不只做不出百萬銷量的iOS遊戲 →
那時要收假,不然應該是要對這篇文章還有半路前輩的文章做出一點評論的。 我覺得,真的有心想做 iOS遊戲的人,從一開始就不會把眼光侷限在華文市場。再來,想做自己遊戲的開發者,上頭根本不會有老闆。承上,想做自己遊戲的人,也不會去抄別人的遊戲,最多就是受到啟發。 另外,有能力有想法的開發者,不可能不注意細節,不管是畫面上操作的回饋還是介面用起來的感覺都好。 所以我相信台灣那麼多強者,總有一天會有個傢伙做出百萬銷量的遊戲的。
Mar 10th
ActionScript 多人互動遊戲與虛擬世界製作 →
順便記一下,天瓏換了新網站。
Mar 8th
February 2011
4 posts
List of Flash Gaming Engines →
留個對 Flixel還有 FlashPunk的印象。
Feb 26th
IdeaPaint →
我的公司要用這個!
Feb 9th
C 語言之修煉與實踐 →
簡記一下,對 C還是有怨念,還記得學別人寫 ACM UVa的大學時光。
Feb 9th
Electro Server 5 →
Feb 9th
January 2011
4 posts
Pushing the Limits of Windows: Physical Memory →
想起消失已久的斌斌小站。
Jan 26th
d.CAT - the RIA blog →
幾年前瘋 Flash時常看的 blog,去年短暫復活了一陣子。那時覺得 RIA很屌,現在則對開發實務比較有興趣,對技術潮流反而不那麼興奮。
Jan 25th
《軟體構築美學》譯者對書的介紹 →
相見恨晚啊,在當兵前就出了。
Jan 14th
Game Development - Stack Exchange →
Jan 14th
October 2010
2 posts
Oct 8th
Oct 8th
July 2010
1 post
Jul 15th