天行健 君子当自强而不息

     摘要: To get things rolling, take a look at the following cTextWindow class definition:  阅读全文
posted @ 2007-11-14 19:00 lovedday 阅读(246) | 评论 (0)编辑 收藏
     摘要: 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.  阅读全文
posted @ 2007-11-14 17:12 lovedday 阅读(210) | 评论 (0)编辑 收藏
     摘要: 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.  阅读全文
posted @ 2007-11-14 15:56 lovedday 阅读(185) | 评论 (0)编辑 收藏
     摘要: 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:  阅读全文
posted @ 2007-11-14 15:37 lovedday 阅读(204) | 评论 (0)编辑 收藏
     摘要: 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.  阅读全文
posted @ 2007-11-14 15:05 lovedday 阅读(192) | 评论 (0)编辑 收藏



据统计,中国每天生产的一次性筷子可以铺满整个天安门广场。一次性筷子除了给中国本就稀缺的森林资源带来更大压力,其质量和卫生问题也令人堪忧,抵制一次性筷子,从现在做起!

“拯救森林筷行动”公众环保项目由国际绿色和平组织发起,联合魔时网、新浪网、饭桶网、点评网等多家合作伙伴,旨在倡导广大市民的积极行动、各大餐馆的自发响应,拒绝使用一次性筷子,共同保护中国的森林资源。

现在号召大家支持绿色和平的这个公益活动,为了您和地球的健康,立即承诺,从今天开始,以实际行动保护森林!

点击查看拯救森林筷行动

posted @ 2007-11-14 13:19 lovedday 阅读(122) | 评论 (0)编辑 收藏
看了几集《百家讲坛》姚淦铭对于《老子》的解读,感觉他对《老子》的理解实在肤浅,仅从字面上理解《老子》,没有自己的生活体会,比于丹差远了。



posted @ 2007-11-14 02:12 lovedday 阅读(213) | 评论 (0)编辑 收藏
     摘要: 我已经当了十多年学生,今后估计还要当几年学生。当了这么多年学生,我对中国教材最大的感想就是——第一,它是不科学的!第二,它是靠不住的。
    
    中国教材靠不住,首先在于它不想说真话,或者说不敢说真话。一些众所周知的例子我就不举了,今天我只举两个我印象最深刻的例子,是关于两位伟大的科学家、发明家的(他们与政治关系甚少,更没有反华嫌疑,但依然遭到篡改的命运)——一个叫爱迪生,一个叫爱因斯坦。当然,表面上看起来,中国的教材是很捧这两个人的,政治课本赞扬他们勤奋,物理课本夸奖他们的功绩,历史课本说他们是划时代的人物,连小学语文课本都有爱迪生的故事。可惜,这不是真正的尊重。所谓的尊重,首先要尊重对方的基本人权,也就是说话的权利;中国教材把他们的话胡乱修改以证明自己的论点,简直是一种莫大的侮辱。如果他们两个还活着,肯定会气的上诉联合国教科文组织的。  阅读全文
posted @ 2007-11-13 21:59 lovedday 阅读(309) | 评论 (1)编辑 收藏

小时候,课文上引用了一段,《庄子·养生主》的古文:
吾生也有涯,而知也无涯。
注解告诉我们,生命是有限的,知识是无限的。我们要把有限的生命,投入到对无限知识的追求。

昨天,我的一个朋友把她英国导师的一片投稿给中青报的文章全文和中青报的发表版对照着给我看,得!
人家要批判烟草商的文章,却配合禁毒日,成了英国人有良心,批判鸦片战争。

结果,有高人纷纷举出断章取义的例子。比如爱迪生的1%的天才加上99%的勤奋,被国人省略了后半句那1%最重要……
后半句是“但那1%的灵感是最重要的,甚至比那99%的汗水都要重要。”

又有高人提出了这句《庄子》的原文:

吾生也有涯,而知也无涯。以有涯随无涯,殆已!已而为知者,殆而已矣!
为善无近名,为恶无近刑,缘督以为经,可以保身,可以全生,可以养亲,可以尽年。

翻译过来,就是:

我们人啊,也就活那么几年,知识这东西嗷嗷多。用你那么两年的小命,学那么多干屁啊?早晚还不是一死?

posted @ 2007-11-13 21:41 lovedday 阅读(329) | 评论 (0)编辑 收藏
这几天看于丹老师讲解的《庄子心得》视频,不错,挺精彩的。




posted @ 2007-11-13 16:17 lovedday 阅读(131) | 评论 (0)编辑 收藏
仅列出标题
共136页: First 45 46 47 48 49 50 51 52 53 Last 

公告

导航

统计

常用链接

随笔分类(178)

3D游戏编程相关链接

搜索

最新评论