Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Most Efficient Sprites Question
#9
It's all just a matter of doing the least possible amount of work inside a loop.

Put this sprite here.  One command, rather simple.
Put this sprite here, but make it 10% taller.   A little more complex and slower.
Put it here, 10% taller, 22% wider.  Even more junk to do.
Put it here, 10% taller, 22% wider, at 212 degrees rotation.   Now the CPU is starting to sweat a little...

Oh, and do this for all 60000 parts which I have on the screen -- even if 90% of them haven't changed shape or position at all!!

....  and this, my friends, is how you make your computer imitate an airplane with the fans inside it's enclosure.   VVVVVVVRRRRRRRRRRRRRRRRRRRRRRRRRRRUUUUHHHHHHHRRRRRRRRRRRRRRRR!!!!!!!!!!!
Reply


Messages In This Thread
Most Efficient Sprites Question - by NakedApe - 02-09-2024, 06:24 PM
RE: Most Efficient Sprites Question - by NakedApe - 02-09-2024, 06:31 PM
RE: Most Efficient Sprites Question - by bplus - 02-09-2024, 08:55 PM
RE: Most Efficient Sprites Question - by NakedApe - 02-10-2024, 12:36 AM
RE: Most Efficient Sprites Question - by bplus - 02-10-2024, 01:39 AM
RE: Most Efficient Sprites Question - by NakedApe - 02-10-2024, 04:25 PM
RE: Most Efficient Sprites Question - by Cobalt - 02-10-2024, 04:38 PM
RE: Most Efficient Sprites Question - by SMcNeill - 02-10-2024, 09:44 PM
RE: Most Efficient Sprites Question - by SMcNeill - 02-10-2024, 05:04 PM
RE: Most Efficient Sprites Question - by bplus - 02-10-2024, 07:24 PM
RE: Most Efficient Sprites Question - by SMcNeill - 02-10-2024, 11:52 PM



Users browsing this thread: 6 Guest(s)