下载hge引擎:http://hge.relishgames.com/downloads.html
貌似引擎好久没更新过了。
我看着前辈的blog按部就班:http://blog.csdn.net/wenzhoufeng22/article/details/2311300
首先按照博客的步骤,对项目的环境进行配置然后把代码复制进去。
在运行的过程中,我出现了问题。有如下的问题:
1.首先是字符集的问题:
这个问题是因为字符集的原因。
具体的原因:http://bigtemple.blog.sohu.com/209557518.html
2.当我修改完字符集的设置之后,程序提示计算机中没有hge.dll
经过查找解决方法有两个: 将hge.dll放到和.exe在同一个目录下;或者把hge.dll放到C:WindowsSystem32
在这之前的过程中还有从别人的blog中复制的代码中有一句:
hge->System_ShutDown();//程序停止
在我下的1.81的版本中没有这个函数,我打开源代码下的hge.h,在其中搜索找到的是:hge->System_Shutdown();
在连接器中->"忽略特定的库",把这个库的名字输入。