main
justuser31 2 years ago
parent b0db41c11a
commit 44a6990a4c

@ -12,8 +12,8 @@ canvas.pack()
root.geometry("1024x800") root.geometry("1024x800")
root.tk.call('wm', 'iconphoto', root._w, tk.PhotoImage(file='map.png')) root.tk.call('wm', 'iconphoto', root._w, tk.PhotoImage(file='map.png'))
ttext = tk.Canvas(root, width=80, height=20, bg="black") ttext = tk.Canvas(root, width=90, height=20, bg="black")
ttext.place(x=950, y=0) ttext.place(x=940, y=0)
text = ttext.create_text(40, 10, text="X: 1, Y: 1", fill="white") text = ttext.create_text(40, 10, text="X: 1, Y: 1", fill="white")
while True: while True:

Loading…
Cancel
Save