I don't like to be obligated to open source my server side project of doufu sample game, though it is just a 'prove of concept'.

So rather than GoogleCode, I decided to use Beanstalk (http://www.beanstalkapp.com/) which is a cool svn hoster allow me to use 20mb svn space without charge, and it also allowe me to integrate my project with the other web2.0 service, such as twitter or basecamp.

Tags: svn, doufu server

No Comments 2008-10-06 13:54:24 by Homyu.Shinn

1. 没有属性构造器.

2. this不仅仅指当前对象,还有多重意思,居然还可以指父类构造函数或直接指父类.

3. super不是变量, 只是一个keyword

4. 没有严格区分override 和hide, 属性就叫hide,方法就叫override

5. 成员对象不加modifier时会自动隐藏,也就是private的访问范围.
    而"属性"不加modifier时会自动public?
    这也tm太混乱了吧?

其他还好,第二点觉得真是晕.没C#中来得严谨.

http://www.javaeye.com/topic/15400

Tags: java

No Comments 2008-09-27 11:50:59 by Homyu.Shinn

http://fordana.com/

The graphics is suck, however the game play and gaming experience is relatively good since it is a javascript based mmo rpg.

The game didn't use ajax for transfering data between client and server. So player may feel a little bit laggy and the character moving can be more smooth if more client side optimizations were made.

I was called norm in that game. meet you there!

http://www.margonem.pl/

A polish ajax mmo rpg which offered a great graphics and smooth sprite movement. however, the collision detection is still cell-based, and due to the game engine, you cannot hide the sprite behind any other object such as houses and trees.

This game is apparently more playable than the first one. But what sad is I cannot read polish...

http://www.vanthia.com/

I don't have much information about this project, it is still under development. Seem to be open beta next month and I heard that the developer is now wasting his time on war hammer's new online game.

Tags: mmorpg

No Comments 2008-09-26 12:07:02 by Homyu.Shinn

占位以后写

主要是理解

1. 任何对象都可以用来作为hastable使用.

2. hashtable的key接受任何类型.

3. 但不意味着任何类型都可以作为key,事实上 hashtable的key的类型只有string型, 接受的其他类型最终会被转换为string. 

 

 

No Comments 2008-09-25 04:41:30 by Homyu.Shinn

 

记录一下需要做的事情,免得过后忘了.

1. EventTrigger 只需要根据x y来判断是否触发,而不要使用rectangle collision.减少计算量 (half done, 有bug, 任何sprite移出触发范围都会导致reactivate)

2. Camera要支持 smooth scroll (done)

3. Polygon collsion要加上一个移动向量,避免不必要的多边行碰撞测试. (done,改用了direction)

4. RPG游戏中,角色与地图polygon做collsion时,角色不要用rectangle,改用点. 点取rectangle中心. (done)

5. 强类型BUFFER类

6. 改进移动,每次1PX.但是collision 提前.减少collsion的计算次数.

 

Tags: doufu

No Comments 2008-09-20 15:38:57 by Homyu.Shinn

Using FSUtil rathar than FileStream, that utility helps chock up you 80 Giga bytes disk space within 1 sec.

Link: GarbageGenerator.cs

No Comments 2008-09-05 18:31:30 by Homyu.Shinn

Some native js function do not have an "apply" member. But this should not affect the code which checked if the apply is null before use it:

if (document.body.appendChild.apply != null)
{
     // find the other way...
}

However above code doesn't work in ie8, it will cause code error and block subsequent execution.

The temporary (I guess this is a bug, there is no unknown type in ecma) workaround is to check typeof (document.body.appendChild.apply) != "unknown".

No Comments 2008-08-28 14:37:01 by Homyu.Shinn

I am working on this new small internal project which helps to building our source code on source code server. As you can imagine, a formal project usually with large size of source code which consuming all dev's cpu time while compiling it, dev usually can do nothing but just wait for hours for compiling. This project just comes for solving that problem. It save cpu time for devs and also host source code, in consequence dev can free their disk space and cpu resource and promote their productivity.

Thanks to ExtJS, this project can come with a full ajax based client side which enables a excellent users experiece. All the controls and ui components was implemented by extjs, however it doesn't mean it is all ExtJS, I also included my own OOP helper -- doufu, for doing oop jobs just because i am more familliar with it and it also provided some cute functionalities which ExtJs doesn't.

The current/future features are:

1. Remote Building.
2. Save/load building configuration.
3. Batch Building.
4. Scheduled Building.(so we can do a nightly build on dev's check out)
5. Helps send test file to test machine.

 

Tags: frbs

1 Comment 2008-08-27 22:21:00 by Homyu.Shinn

Appjet, 一个很有意思的网站, 能够host你的代码,而且是javascript的,任何web开发人员只要会js就能很容易上手. 10MB的空件,但是写小app够用了. 而且数据持久层很有特色, 数据库就是一个js对象,只要对他进行付值操作数据就存起来了.brilliant!

下面是我写的一个wiki liked的app, 自己用来放些小说, 在路上手机可以打开看.
http://crapbox.g33ks.cn

No Comments 2008-08-11 04:08:13 by Homyu.Shinn

A garbage generator I wrote for project, just helps to chock up your disk.

Source:
http://eroman.org/blog/upload/agVkb3VmdXIQCxIKVXBsb2FkRmlsZRh5DA.cs

Tags: helpers

No Comments 2008-08-11 03:59:47 by Homyu.Shinn