摘要: To get things rolling, take a look at the following cTextWindow class definition: 閱讀全文
摘要: Ever get the feeling you aren’t in control? With your role-playing game that just
might seem like the case. However, when scripting comes into play, you want to
control the PCs at times—for example, to advance the story in some way. This
involves automatic control. 閱讀全文
might seem like the case. However, when scripting comes into play, you want to
control the PCs at times—for example, to advance the story in some way. This
involves automatic control. 閱讀全文
摘要: Although following another character might seem complicated at first, don’t worry
too much. Remember that keeping it simple is the solution. Following a character
is as easy as walking a route. Because a character already knows its own coordinates
and the coordinates of the character it is following, you can use previously seen
functions to move the character toward another one. 閱讀全文
too much. Remember that keeping it simple is the solution. Following a character
is as easy as walking a route. Because a character already knows its own coordinates
and the coordinates of the character it is following, you can use previously seen
functions to move the character toward another one. 閱讀全文
摘要: To determine the distance away from a route point, you can use the standard
Pythagorean Theorem, but in order to speed things up, you can toss the sqrt
operation out the door and use the sum of the squares of the lengths instead.
To see what I mean, take a look at the following two lines of code: 閱讀全文
Pythagorean Theorem, but in order to speed things up, you can toss the sqrt
operation out the door and use the sum of the squares of the lengths instead.
To see what I mean, take a look at the following two lines of code: 閱讀全文
摘要: As you’ve been able to surmise from the past few sections, controlling the player is
relatively simple. Now comes the tough part—controlling the game’s NPCs. This
section shows you the various methods of navigating your game’s NPCs.
Although games might trick you into thinking some elaborate scheme is moving
the NPCs around the world, that just isn’t the case. 閱讀全文
relatively simple. Now comes the tough part—controlling the game’s NPCs. This
section shows you the various methods of navigating your game’s NPCs.
Although games might trick you into thinking some elaborate scheme is moving
the NPCs around the world, that just isn’t the case. 閱讀全文



據統計,中國每天生產的一次性筷子可以鋪滿整個天安門廣場。一次性筷子除了給中國本就稀缺的森林資源帶來更大壓力,其質量和衛生問題也令人堪憂,抵制一次性筷子,從現在做起!
“拯救森林筷行動”公眾環保項目由國際綠色和平組織發起,聯合魔時網、新浪網、飯桶網、點評網等多家合作伙伴,旨在倡導廣大市民的積極行動、各大餐館的自發響應,拒絕使用一次性筷子,共同保護中國的森林資源。
現在號召大家支持綠色和平的這個公益活動,為了您和地球的健康,立即承諾,從今天開始,以實際行動保護森林!
點擊查看拯救森林筷行動
看了幾集《百家講壇》姚淦銘對于《老子》的解讀,感覺他對《老子》的理解實在膚淺,僅從字面上理解《老子》,沒有自己的生活體會,比于丹差遠了。


摘要: 我已經當了十多年學生,今后估計還要當幾年學生。當了這么多年學生,我對中國教材最大的感想就是——第一,它是不科學的!第二,它是靠不住的。
中國教材靠不住,首先在于它不想說真話,或者說不敢說真話。一些眾所周知的例子我就不舉了,今天我只舉兩個我印象最深刻的例子,是關于兩位偉大的科學家、發明家的(他們與政治關系甚少,更沒有反華嫌疑,但依然遭到篡改的命運)——一個叫愛迪生,一個叫愛因斯坦。當然,表面上看起來,中國的教材是很捧這兩個人的,政治課本贊揚他們勤奮,物理課本夸獎他們的功績,歷史課本說他們是劃時代的人物,連小學語文課本都有愛迪生的故事。可惜,這不是真正的尊重。所謂的尊重,首先要尊重對方的基本人權,也就是說話的權利;中國教材把他們的話胡亂修改以證明自己的論點,簡直是一種莫大的侮辱。如果他們兩個還活著,肯定會氣的上訴聯合國教科文組織的。 閱讀全文
中國教材靠不住,首先在于它不想說真話,或者說不敢說真話。一些眾所周知的例子我就不舉了,今天我只舉兩個我印象最深刻的例子,是關于兩位偉大的科學家、發明家的(他們與政治關系甚少,更沒有反華嫌疑,但依然遭到篡改的命運)——一個叫愛迪生,一個叫愛因斯坦。當然,表面上看起來,中國的教材是很捧這兩個人的,政治課本贊揚他們勤奮,物理課本夸獎他們的功績,歷史課本說他們是劃時代的人物,連小學語文課本都有愛迪生的故事。可惜,這不是真正的尊重。所謂的尊重,首先要尊重對方的基本人權,也就是說話的權利;中國教材把他們的話胡亂修改以證明自己的論點,簡直是一種莫大的侮辱。如果他們兩個還活著,肯定會氣的上訴聯合國教科文組織的。 閱讀全文
小時候,課文上引用了一段,《莊子·養生主》的古文:
吾生也有涯,而知也無涯。
注解告訴我們,生命是有限的,知識是無限的。我們要把有限的生命,投入到對無限知識的追求。
昨天,我的一個朋友把她英國導師的一片投稿給中青報的文章全文和中青報的發表版對照著給我看,得!
人家要批判煙草商的文章,卻配合禁毒日,成了英國人有良心,批判鴉片戰爭。
結果,有高人紛紛舉出斷章取義的例子。比如愛迪生的1%的天才加上99%的勤奮,被國人省略了后半句那1%最重要……
后半句是“但那1%的靈感是最重要的,甚至比那99%的汗水都要重要。”
又有高人提出了這句《莊子》的原文:
吾生也有涯,而知也無涯。以有涯隨無涯,殆已!已而為知者,殆而已矣!
為善無近名,為惡無近刑,緣督以為經,可以保身,可以全生,可以養親,可以盡年。
翻譯過來,就是:
我們人啊,也就活那么幾年,知識這東西嗷嗷多。用你那么兩年的小命,學那么多干屁???早晚還不是一死?