摘要: from https://gamedev.stackexchange.com/questions/44319/what-animation-technique-is-used-in-dont-starve Q While playing a few games in my personal time 阅读全文
posted @ 2017-04-24 14:28 fndefbwefsowpvqfx 阅读(277) 评论(0) 推荐(0) 编辑
摘要: #include “sdl.h” #include SDL_Window* sdlwindow=NULL; const int SCREEN_WIDTH=640; const int SCREEN_HEIGHT=480; SDL_Surface* g_pDisplaySurface = NULL; SDL_Event g_Event; SDL_Rect g_Rect; Uint8 g_Red... 阅读全文
posted @ 2017-04-24 12:01 fndefbwefsowpvqfx 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 制作任意形状的窗口。 阅读全文
posted @ 2017-04-24 11:46 fndefbwefsowpvqfx 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 转:http://blog.csdn.net/wangpingfang/article/details/8141635 对于大多数Qt应用,我们在QWidget的paintEvent方法中创建和构造一个QPainter画图,或者在QGLWidget中的paintGL使用OpenGL函数画图,这是最常 阅读全文
posted @ 2017-04-24 11:38 fndefbwefsowpvqfx 阅读(228) 评论(0) 推荐(0) 编辑