1、Choose a development engine
I found that CGE had 2D rendering performance problems a long time ago,I did not report this problem at the time, and transferred to the test of other engines. I tried almost all pascal engines
As we all know, there is not much choice for pascal game. I think there are only two options at present - SDL2 and CGE, other choices are not reliable.
If you choose SDL2 , it means to make all wheels yourself.
2、Use CGE’s distress
First ,I develop it in accordance with the official recommendation. Soon, I found that there is still a problem of rendering performance.
But, This time I took the initiative to report the problem. Get officially active feedback
I generally understand the problem now.
If you develop a simple 2D game, you can use the official recommendation method. The problem of poor rendering performance is not fully exposed.
If a complex 2D 'game is developed, Only the second way to use the official recommendation for the time being - Render using TDrawableImage by yourself
The 2D game I want to develop has three layers of Tile maps, there are a large number of small tiles need real -time rendering(Map similar to Diablo)
After simple testing, using TDrawableImage should be roughly satisfied.
But I found that almost all official cases did not use this method, There are very few descriptions in this way of official document.
Use TDrawableImage can meet the performance requirements, but how to combine other other UI, fonts(International text), etc. No example, no document(Disclaimer the way to give up).I want to use Label and other designed modules in the case of using TDrawableImage’s own rendering