Python Forum
[PyGame] Tiling large images
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Tiling large images
#1
Hello,

Is it faster for pygame to draw a huge image if it is chopped up into smaller tiles?

Currently they are just circles, but I would like to have star and planet images in my space game be large.. very large. Pygame hates large images, would it draw things faster if they are cut into a bunch of smaller images?

I'm sure I can get an image to draw out onto a grid of smaller surfaces, but is it worthy time, or is there another method for very big images? Similarly, would drawing enormous circles showing planet orbits or will I later have to figure out how to calculate the visible sections only (or does pygame do that itself)?

Many thanks.
Reply


Messages In This Thread
Tiling large images - by XavierPlatinum - Jul-12-2022, 11:20 PM
RE: Tiling large images - by metulburr - Jul-13-2022, 01:14 AM
RE: Tiling large images - by XavierPlatinum - Jul-14-2022, 05:00 AM
RE: Tiling large images - by Windspar - Jul-15-2022, 12:47 AM
RE: Tiling large images - by XavierPlatinum - Jul-17-2022, 03:50 AM
RE: Tiling large images - by Windspar - Jul-17-2022, 05:37 AM
RE: Tiling large images - by Windspar - Jul-18-2022, 09:02 AM
RE: Tiling large images - by XavierPlatinum - Jul-19-2022, 02:49 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020