![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SDL
Emiyasstar__
这个作者很懒,什么都没留下…
展开
-
SDL-第一课“hello world”
参照一个著名的教程,写着玩玩吧,希望整几个游戏出来 http://www.lazyfoo.net/SDL_tutorials/lesson01/index2.php #include "SDL.h" int main( int argc, char* args[] ) { SDL_Surface* hello = NULL; SDL_Surface* screen原创 2013-06-27 21:11:01 · 2149 阅读 · 0 评论 -
SDL-一个简单的弹幕demo
#include"SDL_EX.h" #include #include #define PI 3.1415926 //The surfaces const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; //The frame rate const int FRAMES_PER_SECOND = 20; //The dimen原创 2013-06-28 21:49:57 · 3175 阅读 · 0 评论