Quantcast
Channel: C++博客-青岛本地游戏开发
Browsing all 5 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Eclipse+sdl2.0环境配置

好久没有写代码了,VS太大不想去费时下载,就下载了eclipse-cpp-luna-SR1-win32-x86_64,系统win7 64bitEclipse IDE for C/C++ Developers,...

View Article



Image may be NSFW.
Clik here to view.

SDL2贴图初探1

SDL2改动比较大,随便玩玩高手勿喷。此代码是官方wiki给出的。 地址:http://wiki.libsdl.org/SDL_CreateRenderer #include "SDL.h" int main(int argc, char *argv[]) {     SDL_Window *win = NULL;     SDL_Renderer *renderer = NULL;...

View Article

Image may be NSFW.
Clik here to view.

SDL2精灵动画

关于SDL2的贴图上篇已经介绍过了。哪怎么让他动起来呢。我们可以使用SDL_Image也可以使用SDL_LoadBMP来载入图片.     SDL_Surface* pTempSurface = SDL_LoadBMP("image/animate.bmp");     //SDL_Surface* pTempSurface = IMG_Load("image/animate.png");...

View Article

Image may be NSFW.
Clik here to view.

TextureManager管理

 1 /*  2  * TextureManager.h  3  *  4  *  Created on: 2014年12月13日  5  *      Author: wgzll  6  */  7   8 #ifndef SRC_TEXTUREMANAGER_H_  9 #define SRC_TEXTUREMANAGER_H_ 10  11 #include <iostream>...

View Article

Image may be NSFW.
Clik here to view.

Hello World

     摘要: Hello World  阅读全文断杆破枪头 2015-09-03 21:04 发表评论

View Article

Browsing all 5 articles
Browse latest View live




Latest Images