Séparation en différents fichiers
- Il faut désormais lancer app.py - Nettoyage des fichiers inutiles
This commit is contained in:
parent
f0959596df
commit
246f65993e
11 changed files with 602 additions and 1146 deletions
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 9.1 KiB |
|
@ -1,19 +0,0 @@
|
|||
from tkinter import *
|
||||
|
||||
|
||||
|
||||
|
||||
##### Programme principal : ############
|
||||
taille=600
|
||||
fen = Tk()
|
||||
can = Canvas(fen, width =taille, height =taille, bg ='ivory')
|
||||
img = PhotoImage(file ='./../sprites/reineN.gif')
|
||||
can.pack(side =TOP, padx =5, pady =5)
|
||||
i = img.subsample(2,2)
|
||||
can.create_image(150 ,150, image =i)
|
||||
j = img.subsample(4,4)
|
||||
can.create_image(300 ,300, image =j)
|
||||
k = img.subsample(8,8)
|
||||
can.create_image(400 ,400, image =k)
|
||||
|
||||
fen.mainloop()
|
Reference in a new issue