mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
A C++ Mini Engine. Based on SDL2.
|
||
---|---|---|
MiniEngine | ||
.gitignore | ||
App.cpp | ||
App.h | ||
basic_config.cpp | ||
basic_config.h | ||
config.cpp | ||
config.h | ||
InitManager.cpp | ||
InitManager.h | ||
main.cpp | ||
makefile | ||
mini_engine.cpp | ||
mini_engine.h | ||
MusicManager.cpp | ||
MusicManager.h | ||
README.md | ||
sdl_engine_font.hpp | ||
sdl_engine_rect.hpp | ||
sdl_engine_renderer.hpp | ||
sdl_engine_rgba.hpp | ||
sdl_engine_surface.hpp | ||
sdl_engine_texture.hpp | ||
sdl_engine_window.hpp | ||
sdl_engine.cpp | ||
sdl_engine.h |
MiniEngine
A C++ Mini Engine. Based on SDL2.
C++编写的SDL2引擎.
编译说明
Windows: 请使用Codeblocks 16.01(推荐)载入所有.cpp文件.接下来Codeblocks会完成其余的工作.
依赖库
SDL2 (SDL2.lib, SDL2main.lib, SDL2test.lib)
SDL2 Image (SDL2_image.lib)
SDL2 Mixer (SDL2_mixer.lib)
SDL2 TTF (SDL2_ttf.lib)
C4droid: 长按编译键选择编译模式为Makefile. 选择编译目标为SDL2 Application. 修改程序名称为program_name(此处与makefile对应即可)
依赖库
C4droid本体
GCC Plugin For C4droid
SDL2 Plugin For C4droid
前往SDL2官网下载最新版本
C4droid on GooglePlay
类说明
class Window 窗口类
class Renderer 渲染器类
class Texture 纹理类
class Surface 图层类
class Font 字体渲染类
class RGBA 颜色包
class Rect 矩形类