Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HW image version of this little stupid thing
#30
(09-12-2023, 11:04 PM)grymmjack Wrote:
(09-12-2023, 07:11 PM)TerryRitchie Wrote: It's well worth learning to use hardware images. Here is a little demo I just wrote showing the power of hardware images. This program creates 8000 sprites and then let's the user switch between software and hardware mode to see the performance difference. I'm going to start creating demos for a lesson on hardware vs software images in the tutorial. It's long overdue.

Keys:
H     - hardware mode
S     - software mode
ESC - leave program

Note: You may need to decrease the amount of objects depending on your system's performance. Change the TOTAL = 8000 to a lower number that doesn't crash the program.

...and the day has come Big Grin

@TerryRitchie this is a FANTASTIC example and we should put this in the damned wiki.

I wish the forum had some way to mark posts as notable or something and then a way to just see them in a list.

Thanks Terry!
Yes, I agree, a demo showing the virtues of hardware images needs to be in the Wiki, be it this program or someone else's.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
RE: HW image version of this little stupid thing - by TerryRitchie - 09-13-2023, 01:24 AM



Users browsing this thread: 5 Guest(s)