摘要: 1 /* 2 ** Haaf's Game Engine 1.8 3 ** Copyright (C) 2003-2007, Relish Games 4 ** hge.relishgames.com 5 ** 6 ** hge_tut08 - The Big Calm 7 */ 8 9 10 // 复制"font2.fnt","font2.png","objects.png" 11 12 13 // 本教程模拟了太阳和月亮的运转,以及天空和海面的情况 14 15 16 #include <math.h> 17 1 阅读全文
posted @ 2012-08-01 16:39 Kinel 阅读(8770) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(395) 评论(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 阅读(661) 评论(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 阅读(625) 评论(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 阅读(1221) 评论(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 阅读(797) 评论(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 阅读(462) 评论(0) 推荐(0) 编辑