摘要: 1 /* 2 ** Haaf's Game Engine 1.8 3 ** Copyright (C) 2003-2007, Relish Games 4 ** hge.relishgames.com 5 ** 6 ** hge_tut07 - Thousand of Hares 7 */ 8 9 10 // 复制"font2.fnt", "font2.png","bg2.png","zazaka.png" 11 12 13 #include <hge.h> 14 #include <hg 阅读全文
posted @ 2012-08-01 16:11 Kinel 阅读(435) 评论(0) 推荐(0)
摘要: 1 /* 2 ** Haaf's Game Engine 1.7 3 ** Copyright (C) 2003-2007, Relish Games 4 ** hge.relishgames.com 5 ** 6 ** Tutorial 06 - Creating menus 7 */ 8 9 // 文件名:menuitem.h,自定义控件类的声明10 11 #include <hge.h>12 #include <hgegui.h>13 #include <hgefont.h>14 #include <hgecolor.h>15 #p 阅读全文
posted @ 2012-08-01 15:52 Kinel 阅读(700) 评论(0) 推荐(0)
摘要: 1 /* 2 ** Haaf's Game Engine 1.8 3 ** Copyright (C) 2003-2007, Relish Games 4 ** hge.relishgames.com 5 ** 6 ** hge_tut05 - Using distortion mesh 7 */ 8 9 10 // 复制"particles.png","menu.wav","font1.fnt","font1.png","trail.psi" 11 12 13 14 #include 阅读全文
posted @ 2012-08-01 14:23 Kinel 阅读(648) 评论(0) 推荐(0)
摘要: 1 /* 2 ** Haaf's Game Engine 1.8 3 ** Copyright (C) 2003-2007, Relish Games 4 ** hge.relishgames.com 5 ** 6 ** hge_tut04 - Using render targets 7 */ 8 9 10 // 复制"particles.png","menu.wav","font1.fnt","font1.png"以及"trail.psi" 11 12 13 #include < 阅读全文
posted @ 2012-08-01 12:25 Kinel 阅读(1288) 评论(0) 推荐(0)
摘要: 1 /* 2 ** Haaf's Game Engine 1.8 3 ** Copyright (C) 2003-2007, Relish Games 4 ** hge.relishgames.com 5 ** 6 ** hge_tut03 - Using helper classes 7 */ 8 9 10 // 从"precompiled"目录下复制"particles.png","menu.wav","font1.fnt" 11 // "font1.png"以及"trai 阅读全文
posted @ 2012-08-01 01:49 Kinel 阅读(841) 评论(0) 推荐(0)
摘要: 1 /* 2 ** Haaf's Game Engine 1.8 3 ** Copyright (C) 2003-2007, Relish Games 4 ** hge.relishgames.com 5 ** 6 ** hge_tut02 - Using input, sound and rendering 7 */ 8 9 10 // 请从 "precompiled"文件夹下复制"particles.png"和"menu.wav" 11 // 到程序文件夹下.当然hge.dll和bass.dll也是需要复制的. 12 13 阅读全文
posted @ 2012-08-01 00:46 Kinel 阅读(495) 评论(0) 推荐(0)
摘要: 以下内容翻译自HGE自带的tutorial中的tutorial01. 1 /* 2 ** Haaf’s Game Engine 1.8 3 ** Copyright (C) 2003-2007, Relish Games 4 ** hge.relishgames.com 5 ** 6 ** hge_tut01 – Minimal HGE application 7 */ 8 #include <hge.h> 9 #pragma comment(lib,"hge.lib")10 HGE *hge = 0;11 12 // 这个函数作为HGE引擎的回调函数,每帧会被 阅读全文
posted @ 2012-07-31 18:34 Kinel 阅读(589) 评论(0) 推荐(0)