add pokemon for enemy
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 9.6 KiB |
BIN
Data/img/fichiers_de_travail/Player.xcf
Normal file
BIN
Data/img/fichiers_de_travail/branche/allemand.xcf
Normal file
BIN
Data/img/fichiers_de_travail/branche/electricite.xcf
Normal file
BIN
Data/img/fichiers_de_travail/branche/informatique.xcf
Normal file
BIN
Data/img/fichiers_de_travail/branche/math.xcf
Normal file
BIN
Data/img/fichiers_de_travail/branche/mecanique.xcf
Normal file
BIN
Data/img/fichiers_de_travail/branche/physique.xcf
Normal file
31
Data/img/fichiers_de_travail/liste professeur.txt
Normal file
@ -0,0 +1,31 @@
|
||||
Informatique :
|
||||
|
||||
Mudry Pierre-André <--
|
||||
|
||||
Mathématique :
|
||||
|
||||
Epiney Jacques
|
||||
Evéquoz Gilles
|
||||
Nicollier Grégoire <--
|
||||
Savioz Christian
|
||||
|
||||
Physique :
|
||||
Ellert Christoph <--
|
||||
|
||||
Electricité :
|
||||
Bianchi Christophe <--
|
||||
Davide Pavanello
|
||||
|
||||
|
||||
Mécanique :
|
||||
Samuel Rey-Mermet
|
||||
Paciotti Gabriel <--
|
||||
Haifa Sallem
|
||||
Wittmann Christian
|
||||
Bezençon Cyrille
|
||||
Rapillard Laurent
|
||||
|
||||
|
||||
Langue :
|
||||
Gloeckner Caroline <--
|
||||
Laffargue-Rieder Laurence
|
BIN
Data/img/fichiers_de_travail/prof/Bezencon.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Bezençon Cyrille.jpg
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
Data/img/fichiers_de_travail/prof/Bianchi Christophe.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
Data/img/fichiers_de_travail/prof/Bianchi.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Collab5118197931.jpg
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
Data/img/fichiers_de_travail/prof/Davide Pavanello.jpg
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
Data/img/fichiers_de_travail/prof/Ellert Christoph.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
Data/img/fichiers_de_travail/prof/Ellert.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Epiney Jacques.jpg
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
Data/img/fichiers_de_travail/prof/Epiney.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Evequoz.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Evéquoz Gilles.jpg
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
Data/img/fichiers_de_travail/prof/Gloeckner Caroline.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
Data/img/fichiers_de_travail/prof/Gloeckner.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Haifa Sallem.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
Data/img/fichiers_de_travail/prof/Laffargue-Rieder Laurence.jpg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
Data/img/fichiers_de_travail/prof/Laffargue-Rieder.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Mudry Pierre-André.jpg
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
Data/img/fichiers_de_travail/prof/Mudry.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Nicollier Grégoire.jpg
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
Data/img/fichiers_de_travail/prof/Nicollier.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Paciotti Gabriel.jpg
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
Data/img/fichiers_de_travail/prof/Paciotti.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Pavanello.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Rapillard Laurent.jpg
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
Data/img/fichiers_de_travail/prof/Rapillard.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Rey-Mermet.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Sallem.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Samuel Rey-Mermet.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
Data/img/fichiers_de_travail/prof/Savioz Christian.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
Data/img/fichiers_de_travail/prof/Savioz.xcf
Normal file
BIN
Data/img/fichiers_de_travail/prof/Wittmann Christian.jpg
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
Data/img/fichiers_de_travail/prof/Wittmann.xcf
Normal file
BIN
Data/img/fichiers_de_travail/sacha.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
Data/img/fichiers_de_travail/sacha_sprite.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
26
Data/img/fichiers_de_travail/sprite_flipper.py
Normal file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
from PIL import Image
|
||||
import numpy as np
|
||||
import os
|
||||
|
||||
W, H = 32, 32
|
||||
|
||||
if __name__ == "__main__":
|
||||
path = input("Path: ")
|
||||
|
||||
img = Image.open(path).convert()
|
||||
a = np.array(img)
|
||||
b = np.zeros((a.shape[1], a.shape[0], *a.shape[2:]), dtype=a.dtype)
|
||||
|
||||
w, h = a.shape[1]//W, a.shape[0]//H
|
||||
|
||||
for y in range(h):
|
||||
for x in range(w):
|
||||
b[x*W:x*W+W,y*H:y*H+H] = a[y*H:y*H+H,x*W:x*W+W]
|
||||
|
||||
img.close()
|
||||
img = Image.fromarray(b)
|
||||
dirname, basename = os.path.dirname(path), os.path.basename(path)
|
||||
basename, ext = os.path.splitext(basename)
|
||||
img.save(os.path.join(dirname, basename+"_flipped"+ext))
|