Python Forum
[PyGame] I found a way to generate sprites without .blit. Is it effecient?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyGame] I found a way to generate sprites without .blit. Is it effecient?
#3
Honestly, I'm now wondering if I really should be worried about this when I'm making such primitive games mainly for practice. The only reason I'm considering the system requirements of my games at all is because my snake game takes up a third of my RAM, on a $1,000 gaming computer that I purchased only a couple of years ago. Before I saw how much of my processing power my snake clone took up (and how earlier builds of it lagged really badly), the thought that I would have to worry about whether or not my computer could handle any of my games simply never crossed my mind. And as I mentioned, the problem may just be that my program isn't compiled, so my computer is having to interpret the code while the program is running. Wish I had a way to compile my programs so I could see what difference it makes. Ironnically, I have Code Blocks, which is SUPPOSED to be able to compile programs you type into it, but I could never get that function to work for me, and even my professor couldn't figure out why. Either way, it doesn't appear code blocks supports python code. And the default editor for python doesn't seem to have this function anywhere. And from what I can see, neither does notepad++. At least my computer realizes that I can open .pyw files with notepad++ (even if that doesn't really do me any good).
Reply


Messages In This Thread
RE: I found a way to generate sprites without .blit. Is it effecient? - by xBlackHeartx - Dec-05-2019, 03:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pygame, sprites, and rects menator01 12 2,525 Dec-07-2023, 02:37 AM
Last Post: Benixon
  [PyGame] Sprites just randomly appear and dissapear in my pygame.sprite.GoupeSingle trueShadoWrr 2 2,203 Feb-13-2023, 09:34 AM
Last Post: Vadanane
  [PyGame] pygame blit() method syafiq14 1 5,108 Oct-30-2020, 04:46 PM
Last Post: Russ_CW
  index error when using lists to blit rotated images codefun45 7 3,786 Sep-03-2020, 11:11 PM
Last Post: codefun45
  moving image with blit rwahdan 2 3,163 Jul-10-2019, 06:24 PM
Last Post: nilamo
  [PyGame] Having 4 players(Sprites) all being able to jump ElijahCastle 5 4,220 May-07-2019, 05:04 PM
Last Post: SheeppOSU
  Sprites and Actor error ajlconsulting 6 9,701 Jan-30-2019, 12:50 AM
Last Post: metulburr
  draw not showing all sprites ethanstrominger 0 2,729 Jan-25-2019, 10:10 PM
Last Post: ethanstrominger
  error with survace.blit joemcsk1 3 4,637 Aug-06-2018, 12:23 AM
Last Post: metulburr
  [PyGame] move randomly sprites reutB 4 8,471 Mar-29-2017, 01:12 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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