Re: Dev Topic #4

#12
juanjpro wrote:If you want to optimize the game even more, you could replace CopyRect (used by security cameras) with render-to-texture (possible thanks to FastExt, the screen's texture flags need to be 1+256+FE_RENDER+FE_ZRENDER for it to work properly). Since changes are being made to the screens, you could add this in since you'll probably be editing the UpdateSecurityCams function anyway.
Thanks for the tip, this method seems to be about 4 times faster than CopyRect. Now I can make a room with multiple screens without killing the FPS. :)