fishanimation

所属分类:游戏引擎
开发工具:Visual C++
文件大小:6656KB
下载次数:77
上传日期:2011-07-03 12:00:25
上 传 者888058
说明:  以HGE为基础的模拟鱼游动时状态的动画,掩饰HGE精灵的使用方法,包含HGE开发包
(HGE-based animation of the fish, cover the use of features such as HGE Wizard)

文件列表:
OutPut\13.png (16288, 2001-09-30)
OutPut\bass.dll (93240, 2007-10-12)
OutPut\DemekinLeft2.png (5179, 2007-03-28)
OutPut\fish01_01.png (294501, 2008-01-20)
OutPut\fishmove.exe (1126400, 2008-01-22)
OutPut\fishmove.ilk (1647504, 2008-01-22)
OutPut\fishmove.pdb (2518016, 2008-01-22)
OutPut\font1.fnt (2514, 2007-03-28)
OutPut\font1.png (10134, 2007-03-28)
OutPut\font2.fnt (3734, 2007-03-28)
OutPut\hge.dll (166400, 2007-10-12)
OutPut\particles.png (12602, 2007-03-28)
OutPut\Thumbs.db (12800, 2008-01-22)
fishmove.ncb (7351296, 2008-01-22)
fishmove.sln (889, 2008-01-20)
fishmove.suo (23040, 2008-01-22)
fishmove\fishmove.aps (51176, 2008-01-20)
fishmove\fishmove.cpp (4924, 2008-01-22)
fishmove\fishmove.ico (23558, 2005-12-13)
fishmove\fishmove.rc (2842, 2008-01-20)
fishmove\fishmove.suo (11776, 2008-01-20)
fishmove\fishmove.vcproj (4934, 2008-01-21)
fishmove\fishmove.vcproj.7E9150EAB1E8471.Administrator.user (1427, 2008-01-22)
fishmove\fishmove.vcproj.WU111.Administrator.user (1407, 2008-01-22)
fishmove\HGE\doc\html\1.gif (43, 2007-03-28)
fishmove\HGE\doc\html\architecture.gif (13911, 2007-03-28)
fishmove\HGE\doc\html\bcbsetup1.gif (14004, 2007-03-28)
fishmove\HGE\doc\html\bcbsetup2.gif (10220, 2007-03-28)
fishmove\HGE\doc\html\bcbsetup3.gif (11231, 2007-03-28)
fishmove\HGE\doc\html\bcbsetup4.gif (8221, 2007-03-28)
fishmove\HGE\doc\html\bcbsetup5.gif (7918, 2007-03-28)
fishmove\HGE\doc\html\cnt_fbuilder.html (3841, 2007-10-12)
fishmove\HGE\doc\html\cnt_hgeanim.html (4651, 2007-10-12)
fishmove\HGE\doc\html\cnt_hgecolorhsv.html (3984, 2007-10-12)
fishmove\HGE\doc\html\cnt_hgecolorrgb.html (3984, 2007-10-12)
fishmove\HGE\doc\html\cnt_hgeconst.html (3803, 2007-10-12)
fishmove\HGE\doc\html\cnt_hgedata.html (4070, 2007-10-12)
fishmove\HGE\doc\html\cnt_hgedistort.html (5016, 2007-10-12)
fishmove\HGE\doc\html\cnt_hgefont.html (5633, 2007-10-12)
fishmove\HGE\doc\html\cnt_hgefunc.html (12264, 2007-10-12)
... ...

HGE 中文显示解决方案 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Author - 微妙的平衡(BOGY) Mail - bogy.cn@gmail.com Home - http://bogy.cn 文件与目录结构说明 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [FreeType] 矢量字体支持库(FreeType) GdiFont.cpp 像素字体实现定义文件 GdiFont.h 像素字体实现声明文件 TypeFont.cpp 矢量字体实现定义文件 TypeFont.h 矢量字体实现声明文件 Sprites.h 矢量字体实现定义文件 Readme.txt 本描述文档 简单介绍 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 本方案是为解决在HGE的项目中支持中文的显示。 目前支持两种方案: 一、像素字体的显示; 二、矢量字体的显示。 这两种字体的创建与显示由类 FontSprite 的派生类实现,所以使用时只需要使用 FontSprite 类中不同的创建函数即可创建像素字体或是矢量字体指针。 本解决方案不需要依赖任何图片字模,并支持丰富的显示方法。 使用方法很简单,只需如下几步即可: 一、包含字体精灵头文件,详细请参阅 目录下的 Readme.txt 文件。 二、创建字体指针: 像素字体: FontSprite* fontspr = FontSprite::Create(字体名,字体大小) 矢量字体: FontSprite* fontspr = FontSprite::CreateEx(字体文件名,字体大小) 三、渲染文本: fontspr->Printf(坐标x,坐标y,文本内容) 四、销毁字体:当程序结束时,使用 fontspr->Release() 来销毁字体。 声明与感谢 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 在这个方案支持,我一直都是用一种比较烂的方案来显示汉字,例如很久之前使用的静态字模的方式。 并且像素字体与矢量字体两种实现方式大相径庭,没有通用性。但看过 Kevin Lynx 推荐的一个矢量字体方案后,就将那个框架移植了过来,并做了一部分的改动。 最重要的是对像素字体与矢量字体做了通用性的修改,使两种字体的解决方案可以互相使用。 在这里感谢 Kevin Lynx 同学推荐的那个矢量字体方案。 若你在使用中还有疑问,请至邮:bogy.cn@gmail.com 我会尽快回复。 ____________________________________________________________ Copyright 2006-2007 BOGY.CN. All Rights Reserved.

近期下载者

相关文件


收藏者