add oldproject folder

This commit is contained in:
2026-03-27 15:34:24 +01:00
parent 92f19f853a
commit bfb1f31eec
69 changed files with 19655 additions and 21 deletions

BIN
assets/Image/arrow.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

BIN
assets/Image/bg.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

BIN
assets/Image/bread.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
assets/Image/crosshair.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

BIN
assets/Image/cursor-png-1127.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

BIN
assets/Image/cursor_pointer.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

BIN
assets/Image/heal.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

BIN
assets/Image/menu.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 B

BIN
assets/Image/menu_closed.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

BIN
assets/Image/nope_cursor.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

BIN
assets/Image/pointer.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

BIN
assets/Image/socle.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

BIN
assets/Image/weapon/bow.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

BIN
assets/Image/weapon/crossbow.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

BIN
assets/Image/weapon/knife.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

BIN
assets/Image/weapon/sword.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

BIN
assets/Music/boculezelta.mp3 Executable file

Binary file not shown.

BIN
assets/Music/musique_2019.mp3 Executable file

Binary file not shown.

BIN
assets/Music/phonk.mp3 Executable file

Binary file not shown.

BIN
assets/Music/phonk/phonk.ogg Executable file

Binary file not shown.

Binary file not shown.

BIN
assets/Music/phonk/phonk_fin.mp3 Executable file

Binary file not shown.

12
assets/Rect.py Executable file
View File

@@ -0,0 +1,12 @@
import pygame
from game.settings import*
class Page:
def __init__(self, top, left, width, height, rgb = (0, 0, 0)):
self.rgb = rgb
self.width = width
self.height = height
self.draw = pygame.draw.rect(SCREEN, self.rgb, pygame.Rect(top, left, self.width, self.height))
def collision(self, x, y):
return self.draw.collidepoint((x, y))

11
assets/image.py Executable file
View File

@@ -0,0 +1,11 @@
import pygame
import os
class Image(pygame.sprite.Sprite):
def __init__(self, image:str, size):
self.image_path = os.path.join(os.path.dirname(f"{os.path.realpath(__file__)}"), f"image/{image}") # entrer les noms d'images ( + extension) du sprite
self.load = pygame.transform.scale(pygame.image.load(self.image_path).convert_alpha(), size)
def get_collision(self, x, y):
return self.load.get_rect().collidepoint(x, y)

15
assets/music.py Executable file
View File

@@ -0,0 +1,15 @@
import pygame
import os
class Music:
def __init__(self, music:str, SOUND, replay = False):
self.music_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),f"Music/{music}") # entrer le nom de la musique ( + extension) de la musique
self.load = pygame.mixer.music.load(self.music_path)
self.load = pygame.mixer.music.set_volume(SOUND)
if replay: self.load = pygame.mixer.music.play(-1)
else: self.load = pygame.mixer.music.play(1)
def get_time(self):
return pygame.mixer.music.get_pos()