Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What do you graphics gurus think?..
#6
(03-07-2024, 07:03 PM)Pete Wrote: If you just have a few small images, approx. 10, would it be better to load each at the top of the program and keep them in memory, or use the _LOAD statement each time they are needed? In my routine, these images overlay each other, so they get exchanged a lot; so the way I'm doing this now is to load them only when needed, and free them once loaded and displayed.

Here is the routine I'm working on: https://qb64phoenix.com/forum/showthread...8#pid23598

Thanks,

Pete
Load them all at the beginning. Many of the games I've written have well over 10 images (sometimes in the hundreds) loaded in memory ready for use. The combination of _LOADIMAGE and disk access over and over will slow things down for you.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
What do you graphics gurus think?.. - by Pete - 03-07-2024, 07:03 PM
RE: What do you graphics gurus think?.. - by Pete - 03-07-2024, 08:22 PM
RE: What do you graphics gurus think?.. - by Pete - 03-07-2024, 08:33 PM
RE: What do you graphics gurus think?.. - by TerryRitchie - 03-07-2024, 09:18 PM
RE: What do you graphics gurus think?.. - by Pete - 03-07-2024, 10:36 PM



Users browsing this thread: 4 Guest(s)