SDL教程
IcebergKevin
The riskiest thing is to take no risks.
展开
-
SDL教程-002.wav音频文件播放以及混音测试
SDL教程-002.wav音频文件播放单文音频文件播放#include <iostream>#include <SDL.h>#include<stdlib.h>#include<stdio.h>#include <SDL_image.h>#include<SDL_config.h>static SDL_Au...原创 2020-03-27 00:29:15 · 789 阅读 · 0 评论 -
SDL教程-003.SDL使用OpenGL渲染图形
SDL教程-003.SDL使用OpenGL渲染图形SDL 集成OpenGL入门Demo#include <iostream> #include <SDL/SDL.h> #include <GL/freeglut.h>using namespace std;const int SCREEN_WIDTH = 800;const int SCR...原创 2020-03-27 00:28:25 · 1424 阅读 · 0 评论 -
SDL教程-001.创建窗体& 显示bmp图片
SDL教程-创建窗体& 显示bmp图片note1. hello,world#include <iostream>#include <SDL.h>int main(int argc, char* argv[]){ if (SDL_Init(SDL_INIT_EVERYTHING) == -1) return(1); SDL_Delay(2000);...原创 2020-03-25 23:59:24 · 400 阅读 · 0 评论