diff --git a/README.md b/README.md index 2f85cc7496495134c4651b660b01f38cc5c0bb6f..d09eaed9074ac58417207722d7475827a14a5f47 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,12 @@ The sound effects in this game were created using [Sfxr](http://www.drpetter.se/ ## Project Status This project was developed as a university project and is currently considered finished. There are numerous issues with the implementation of the Entity Component System (ECS) that would require major refactoring to resolve. As such, further development has been halted. If you wish to fork this project or volunteer to maintain or own it, you are welcome to do so. + +## Dependencies + +This project uses the following Python libraries: + +- `os`: For operating system dependent functionality. +- `pathlib`: For object-oriented filesystem paths. +- `random`: For generating random numbers. +- `pygame`: For creating the game, including graphics and sound. \ No newline at end of file diff --git a/data/data.png b/data/data.png deleted file mode 100644 index af087751117087b6c797315bb33c3d10aa53c351..0000000000000000000000000000000000000000 Binary files a/data/data.png and /dev/null differ diff --git a/source/api/components/rigidbody.py b/source/api/components/rigidbody.py index 85cca26a431c9d935ad1077a17452e00602c3e38..44954aa1543cf5c0fa4dd005d400e2ee01dbad9b 100644 --- a/source/api/components/rigidbody.py +++ b/source/api/components/rigidbody.py @@ -1,6 +1,5 @@ import math from pygame import Vector2 -import pygame from source.api.components.collider import CircleCollider, Collider, PolygonCollider from source.api.components.component import Component from source.api.objects.game_object import GameObject diff --git a/source/api/management/background_manager.py b/source/api/management/background_manager.py index adc780c71fc6a582d36ff32b833519d64bf5bddb..f022ceab1b4564a7ccc8cc0ad7fe2da76261acfd 100644 --- a/source/api/management/background_manager.py +++ b/source/api/management/background_manager.py @@ -1,7 +1,6 @@ import os from pathlib import Path import pygame -import time class BackgroundManager: """ diff --git a/source/api/ui/button.py b/source/api/ui/button.py index 12095e44eae97e393534559a544a8b25a5479349..fb2333744f4b4af6cee8879934d3d0f92733dd6d 100644 --- a/source/api/ui/button.py +++ b/source/api/ui/button.py @@ -1,4 +1,3 @@ -from pathlib import Path from typing import Callable from pygame import Color, Surface import pygame diff --git a/source/api/ui/button_style.py b/source/api/ui/button_style.py index 5605428be4cb6338c6166f46801a39aa7f5a34e7..d35ea8cc998e59d23e5b2308f20809519873aaa6 100644 --- a/source/api/ui/button_style.py +++ b/source/api/ui/button_style.py @@ -1,9 +1,7 @@ import math import os -import numpy as np import pygame from pygame import Surface -import pygame.surfarray as surfarray from pathlib import Path from typing import Tuple diff --git a/source/api/ui/panel.py b/source/api/ui/panel.py index 00b29395f3664d8c09395e6c2e305431c725117e..89731ba2c9775e31a70a1803fd05e63fd048a003 100644 --- a/source/api/ui/panel.py +++ b/source/api/ui/panel.py @@ -1,5 +1,3 @@ -import math -from pathlib import Path from pygame import Surface import pygame from pygame.freetype import Font diff --git a/source/api/ui/slider.py b/source/api/ui/slider.py index 6efcf01e2151889d407c8fc1537dd1a9f90f3ff1..11ec584c1da8041a98a58fa0a84d4d3166f020e2 100644 --- a/source/api/ui/slider.py +++ b/source/api/ui/slider.py @@ -1,4 +1,3 @@ -from pathlib import Path from pygame import Surface import pygame from source.api.ui.button_style import ButtonStyle diff --git a/source/game/scenes/main_menu.py b/source/game/scenes/main_menu.py index e895d08843b57f664a4938d33db9987a73fbfff6..616c1673f22b2009b6f94f307a5c89048053e1f0 100644 --- a/source/game/scenes/main_menu.py +++ b/source/game/scenes/main_menu.py @@ -2,7 +2,7 @@ from pathlib import Path import sys from turtle import left from webbrowser import BackgroundBrowser -from pygame import Color, Surface, Vector2 +from pygame import Surface import pygame from source.api.management.background_manager import BackgroundManager from source.api.management.image_manager import ImageManager diff --git a/source/game/scenes/main_pinball.py b/source/game/scenes/main_pinball.py index cf2ced6964f3fffb03ccfb9c3c4022c12a47b7f0..a5d6850ff64759063812de49bb2583585744f092 100644 --- a/source/game/scenes/main_pinball.py +++ b/source/game/scenes/main_pinball.py @@ -1,4 +1,3 @@ -import math from pathlib import Path from pygame import Color, Surface from pygame import Vector2 as V2 diff --git a/source/game/scenes/submenus/end_menu.py b/source/game/scenes/submenus/end_menu.py index e1ab98e0a86b63941f80b744605fcdcda8e1b721..2d9af083a0ff9297f07d1ae4adbb9c929d156689 100644 --- a/source/game/scenes/submenus/end_menu.py +++ b/source/game/scenes/submenus/end_menu.py @@ -1,5 +1,4 @@ import sys -from typing import Callable from pygame import Surface import pygame from pygame.event import Event