Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter platformer game
#2
Since def change_image is causing a slow down.
You might consider creating images at load time and storing them in a list.
Instead of recreating them during main loop.
More code the main loop handles the slower it will run.

Learning Python Profilers would let you know. What code is using the most time.
99 percent of computer problems exists between chair and keyboard.
Reply


Messages In This Thread
Tkinter platformer game - by Linch1 - Mar-09-2019, 09:56 PM
RE: Tkinter platformer game - by Windspar - Mar-10-2019, 03:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGame] platformer enemy animation Yegor123 3 2,075 May-03-2023, 08:42 AM
Last Post: Windspar
  Napkin Platformer abscorpy 3 2,853 Jan-26-2019, 03:20 PM
Last Post: Windspar
  platformer problem abscorpy 1 2,449 Dec-11-2018, 11:08 PM
Last Post: Windspar
  platformer problem abscorpy 4 3,682 Nov-27-2018, 08:46 PM
Last Post: nilamo
  Pygame vs TKinter for a Quiz Game? SteampunkMaverick12 1 4,768 May-21-2018, 05:31 PM
Last Post: j.crater
  Help On Platformer Spectroxis 2 12,004 Apr-27-2017, 09:56 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