D-Bug & Automation Forum
D-Bug & Automation Forum >> Coding >> Shadow of the Beast - your experienes!
http://d-bug.mooo.com/dbugforums/cgi-bin/yabb2/YaBB.pl?num=1221239045

Message started by ggn on 12.09.08 at 17:04:04

Title: Re: Shadow of the Beast - your experienes!
Post by Dbug on 29.03.09 at 12:03:57
I remember that you can speed up the code by a significant percentage by removing the protection related code.

Instead of simply drawing in a back-buffer and swapping the screen address, the code actually draws in a temporary buffer, and then draw it on the back-buffer. When the protection triggers, the copy is reversed so you have the screen mirrored.


D-Bug & Automation Forum » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.