A C++ Mini Engine. Based on SDL2.
Go to file
kiritow 6b53686383 Add support for Viewport and ClipRect setting.
New Method in class Renderer: setViewport/getViewport ,
setClipRect/getClipRect... , drawLine
class Rect can be initialized from SDL_Rect now.
2017-04-07 16:39:35 +08:00
rapidxml We Need RapidXML for XML Parsing (StringEngine) 2017-03-09 18:55:31 +08:00
SDLEngine Move old files to SDLEngine. 2017-03-02 12:25:11 +08:00
.gitignore Initial Commit. 2017-01-03 23:32:35 +08:00
MiniEngine_Android.cpp Android Platform APIs Supported. 2017-03-09 18:00:19 +08:00
MiniEngine_Event.cpp Remove Event Handling in main file 2017-04-04 09:49:18 +08:00
MiniEngine_Event.h Remove Event Handling in main file 2017-04-04 09:49:18 +08:00
MiniEngine_Widget.cpp Android Platform APIs Supported. 2017-03-09 18:00:19 +08:00
MiniEngine_Widget.h Android Platform APIs Supported. 2017-03-09 18:00:19 +08:00
MiniEngine_Windows.cpp Fix bugs in UTF8ToGBK and GBKToUTF8 2017-03-24 10:59:35 +08:00
MiniEngine.cpp Add support for Viewport and ClipRect setting. 2017-04-07 16:39:35 +08:00
MiniEngine.h Add support for Viewport and ClipRect setting. 2017-04-07 16:39:35 +08:00
README.md Update README.md 2017-03-10 08:11:04 +08:00

MiniEngine

A C++ Mini Engine. Based on SDL2.

C++编写的SDL2引擎.

可能存在的错误:由于Widget体系尚未构建完全使用时可能出现问题。若只使用MiniEngine主体则不会出现问题。

编译说明

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