HGE学习笔记,显示图像与播放声音

#include "hge.h"#include "hgesprite.h"const int screen_width = 535;const int screen_height = 656;HGE *hge = NULL;hgeSprite *spr;//声明一个精灵类指针;HTEXTURE tex;//定义一个纹理对象;HEFFECT snd;//声音;//逻辑函数;bool FrameFunc(){ hge->Effect_PlayEx(snd,50); return false;}//绘制和渲染函数;bool RenderFunc(){ hge->Gfx_Be...
2012-04-07 12:26 | 阅读 1662 次 | 评论 0 条
浏览5686次
最新评论