A performance test about RPG::Image and sf::Sprite with sf::Texture
rpg_draw() and sf_draw() calls many functions to display a picture to test the performance. These functions alloc memory at first, and free the memories at end.
The test is running with system_opengl plugin. TestResult.jpg shows RPG::Image is faster than SFML at the first time. Btw, SFML ignored plugin's FX (Because SFML is drawing above the window)
- Create a RPG Maker 2003 project
- Patch RPG_RT.exe with dynrpg_patcher.exe
- Copy this directory to DynPlugins in RM2K3 project directory.
- Create a event, insert comments and type a comment:
@TestWin
(To call Test) - Copy RM2K3_RTP/System/system1.png to System in RM2K3 project directory.
- Watch the console.
- Extrace SFML-2.5.0-TDM-GCC-32.7z to C:\SFML-2.5.0-TDM-GCC-32\
- The linker and search directories for SFML should be setup already.
- Build.
- If troubles occured, SFML Tutorial and DynRPG Tutorial may be helped.
I wrote these code for test performance, and I copied many code by others to achieve it. So I didn't have any copyright to these code.