Python Forum
[PyGame] Chopper wash effect efficiency questions.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] Chopper wash effect efficiency questions.
#9
Using Vector2 math is low level math. Vector2 will cost less when moving any sprite.

Render text is costly. That why I render once every 100 ms. blit any image is fast. That why you save text to a surface. Loaded image must be converted to be fast.

Using set on a class objects won't work. All class object have separate id.

I can get pygame to move about 1000 sprites without any frame rate loss.
michael1789 likes this post
Reply


Messages In This Thread
RE: Chopper wash effect efficiency questions. - by Windspar - Jan-19-2021, 05:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGame] sound effect delay and program laggy xBlackHeartx 26 13,157 Oct-09-2019, 11:36 AM
Last Post: metulburr

Forum Jump:

User Panel Messages

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