Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HW image version of this little stupid thing
#22
(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!
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply


Messages In This Thread
RE: HW image version of this little stupid thing - by grymmjack - 09-12-2023, 11:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is ther a version 4.2.2 still available? astrovidiot 1 231 01-15-2026, 09:07 AM
Last Post: SMcNeill
  A funny thing happened on the way to the Forum... PhilOfPerth 4 504 10-22-2025, 12:11 AM
Last Post: madscijr
  error doing image collision detection with _MemGet madscijr 55 4,684 10-01-2025, 03:25 PM
Last Post: bplus
Photo from png tile, create symmetrical screen image hsiangch_ong 11 941 08-23-2025, 01:23 AM
Last Post: bplus
  need help printing a scaled string in a custom font to a 32-bit image madscijr 9 1,150 07-03-2025, 04:48 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)