[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bored at work....
On Monday, August 20, 2012 4:11:11 PM UTC-7, BLuRry wrote:
>That's a pretty cool effort! It will be a lot faster if you can avoid
>updating the whole screen.
I just got done with the code to update only changed blocks, as Antoine suggested above. The code waits to be tested. Once I post this.
Don't look at my code yet :-). This has been from mind to fingers so far, and I haven't optimized anything.
>Also, if you use two hires pages, you can use one page for the full
>blocks and the second page for the half-block scroll. This will allow
>you to lower the total number of updates you're doing significantly
>because you will benefit from retaining similar elements. The more you
> retain the less you have to redraw each time.
Interesting idea. I'll have to think about it for a few days before I
am willing to sit down and type it in.
> I can get it to work most of the time, but other times it just crashes when it is supposed to start the game. Not to say it's your bug, it could be my buggy emulator too. ;-)
It starts on my development hard drive, but I did notice that the "for website" version crashed a few times. I dunno why, but dev HD works fine without crashes.
There is a poke in test.suprmar basic program, near line 920. I changed it to put display in full screen hires mode. I think maybe I got the poke wrong, or the ActiveGS browser plugin didn't like that poke. I notice I can't get it to run in the browser with that new poke in the code.
Rich