below is my code of a simple program where you can control a circle with buttons WASD. my question is, how do I add a background image? Please help me. :)
Code:
from Tkinter import *
import time, math, random
def timerFired(previousTime):
currentTime = time.time()
dt = currentTime - previousTime
canvasWidth = int(canvas.cget("width"))
canvas.after(40, timerFired, currentTime)