summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-24 02:26:24 +0200
committerViljami Ilola <+@hix.fi>2024-03-24 02:26:24 +0200
commitc22159dfb5abda283d76248b474098cc2110935c (patch)
treed82124a99704efd2901999a477714d8410c626a5 /src
parentcd128f5bc4fae39fb7e77683758d437f64eb4203 (diff)
enemies from cp437
Diffstat (limited to 'src')
-rw-r--r--src/sliceitoff/assets/hack/0.pngbin4838 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/1.pngbin2712 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/2.pngbin3478 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/3.pngbin4395 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/4.pngbin3041 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/5.pngbin3493 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/6.pngbin5169 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/7.pngbin2097 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/8.pngbin5677 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/9.pngbin5069 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/A.pngbin3688 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/B.pngbin3730 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/C.pngbin4123 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/D.pngbin3472 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/E.pngbin1525 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/F.pngbin1518 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/G.pngbin4310 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/H.pngbin1623 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/I.pngbin1622 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/J.pngbin2673 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/K.pngbin4676 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/L.pngbin1518 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/M.pngbin2879 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/N.pngbin2974 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/O.pngbin4744 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/P.pngbin2852 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/Q.pngbin5242 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/R.pngbin3900 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/S.pngbin4851 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/T.pngbin4851 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/U.pngbin2898 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/V.pngbin3693 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/W.pngbin3788 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/X.pngbin5345 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/Y.pngbin3603 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/Z.pngbin2181 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/Ä.pngbin4022 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/Å.pngbin5170 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/hack/Ö.pngbin5035 -> 0 bytes
-rw-r--r--src/sliceitoff/assets/images.lst1
-rw-r--r--src/sliceitoff/enemies/enemies.py6
41 files changed, 4 insertions, 3 deletions
diff --git a/src/sliceitoff/assets/hack/0.png b/src/sliceitoff/assets/hack/0.png
deleted file mode 100644
index 67c3877..0000000
--- a/src/sliceitoff/assets/hack/0.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/1.png b/src/sliceitoff/assets/hack/1.png
deleted file mode 100644
index c7fdf86..0000000
--- a/src/sliceitoff/assets/hack/1.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/2.png b/src/sliceitoff/assets/hack/2.png
deleted file mode 100644
index bf27c68..0000000
--- a/src/sliceitoff/assets/hack/2.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/3.png b/src/sliceitoff/assets/hack/3.png
deleted file mode 100644
index a003b03..0000000
--- a/src/sliceitoff/assets/hack/3.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/4.png b/src/sliceitoff/assets/hack/4.png
deleted file mode 100644
index 6841587..0000000
--- a/src/sliceitoff/assets/hack/4.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/5.png b/src/sliceitoff/assets/hack/5.png
deleted file mode 100644
index a999722..0000000
--- a/src/sliceitoff/assets/hack/5.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/6.png b/src/sliceitoff/assets/hack/6.png
deleted file mode 100644
index 8de8e0c..0000000
--- a/src/sliceitoff/assets/hack/6.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/7.png b/src/sliceitoff/assets/hack/7.png
deleted file mode 100644
index 5984a91..0000000
--- a/src/sliceitoff/assets/hack/7.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/8.png b/src/sliceitoff/assets/hack/8.png
deleted file mode 100644
index 5d24fac..0000000
--- a/src/sliceitoff/assets/hack/8.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/9.png b/src/sliceitoff/assets/hack/9.png
deleted file mode 100644
index dcf9ea7..0000000
--- a/src/sliceitoff/assets/hack/9.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/A.png b/src/sliceitoff/assets/hack/A.png
deleted file mode 100644
index 7c8d5d9..0000000
--- a/src/sliceitoff/assets/hack/A.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/B.png b/src/sliceitoff/assets/hack/B.png
deleted file mode 100644
index 7736d5f..0000000
--- a/src/sliceitoff/assets/hack/B.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/C.png b/src/sliceitoff/assets/hack/C.png
deleted file mode 100644
index 2f3b14a..0000000
--- a/src/sliceitoff/assets/hack/C.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/D.png b/src/sliceitoff/assets/hack/D.png
deleted file mode 100644
index 7734b77..0000000
--- a/src/sliceitoff/assets/hack/D.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/E.png b/src/sliceitoff/assets/hack/E.png
deleted file mode 100644
index 50bf2fc..0000000
--- a/src/sliceitoff/assets/hack/E.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/F.png b/src/sliceitoff/assets/hack/F.png
deleted file mode 100644
index acbc252..0000000
--- a/src/sliceitoff/assets/hack/F.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/G.png b/src/sliceitoff/assets/hack/G.png
deleted file mode 100644
index 2a67982..0000000
--- a/src/sliceitoff/assets/hack/G.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/H.png b/src/sliceitoff/assets/hack/H.png
deleted file mode 100644
index b51df02..0000000
--- a/src/sliceitoff/assets/hack/H.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/I.png b/src/sliceitoff/assets/hack/I.png
deleted file mode 100644
index e856fee..0000000
--- a/src/sliceitoff/assets/hack/I.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/J.png b/src/sliceitoff/assets/hack/J.png
deleted file mode 100644
index 7803a3d..0000000
--- a/src/sliceitoff/assets/hack/J.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/K.png b/src/sliceitoff/assets/hack/K.png
deleted file mode 100644
index 1639dd2..0000000
--- a/src/sliceitoff/assets/hack/K.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/L.png b/src/sliceitoff/assets/hack/L.png
deleted file mode 100644
index e7b8e12..0000000
--- a/src/sliceitoff/assets/hack/L.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/M.png b/src/sliceitoff/assets/hack/M.png
deleted file mode 100644
index af0dbcb..0000000
--- a/src/sliceitoff/assets/hack/M.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/N.png b/src/sliceitoff/assets/hack/N.png
deleted file mode 100644
index 63d1fba..0000000
--- a/src/sliceitoff/assets/hack/N.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/O.png b/src/sliceitoff/assets/hack/O.png
deleted file mode 100644
index 3522877..0000000
--- a/src/sliceitoff/assets/hack/O.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/P.png b/src/sliceitoff/assets/hack/P.png
deleted file mode 100644
index d3c777e..0000000
--- a/src/sliceitoff/assets/hack/P.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/Q.png b/src/sliceitoff/assets/hack/Q.png
deleted file mode 100644
index a5c9c67..0000000
--- a/src/sliceitoff/assets/hack/Q.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/R.png b/src/sliceitoff/assets/hack/R.png
deleted file mode 100644
index e23b545..0000000
--- a/src/sliceitoff/assets/hack/R.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/S.png b/src/sliceitoff/assets/hack/S.png
deleted file mode 100644
index a1e75e2..0000000
--- a/src/sliceitoff/assets/hack/S.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/T.png b/src/sliceitoff/assets/hack/T.png
deleted file mode 100644
index a1e75e2..0000000
--- a/src/sliceitoff/assets/hack/T.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/U.png b/src/sliceitoff/assets/hack/U.png
deleted file mode 100644
index 8d46340..0000000
--- a/src/sliceitoff/assets/hack/U.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/V.png b/src/sliceitoff/assets/hack/V.png
deleted file mode 100644
index f88ee16..0000000
--- a/src/sliceitoff/assets/hack/V.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/W.png b/src/sliceitoff/assets/hack/W.png
deleted file mode 100644
index 672ab28..0000000
--- a/src/sliceitoff/assets/hack/W.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/X.png b/src/sliceitoff/assets/hack/X.png
deleted file mode 100644
index 49d1f87..0000000
--- a/src/sliceitoff/assets/hack/X.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/Y.png b/src/sliceitoff/assets/hack/Y.png
deleted file mode 100644
index 4386da7..0000000
--- a/src/sliceitoff/assets/hack/Y.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/Z.png b/src/sliceitoff/assets/hack/Z.png
deleted file mode 100644
index 88a3587..0000000
--- a/src/sliceitoff/assets/hack/Z.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/Ä.png b/src/sliceitoff/assets/hack/Ä.png
deleted file mode 100644
index 9f6772b..0000000
--- a/src/sliceitoff/assets/hack/Ä.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/Å.png b/src/sliceitoff/assets/hack/Å.png
deleted file mode 100644
index 706c37a..0000000
--- a/src/sliceitoff/assets/hack/Å.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/hack/Ö.png b/src/sliceitoff/assets/hack/Ö.png
deleted file mode 100644
index d5f08f7..0000000
--- a/src/sliceitoff/assets/hack/Ö.png
+++ /dev/null
Binary files differ
diff --git a/src/sliceitoff/assets/images.lst b/src/sliceitoff/assets/images.lst
index cf8107d..3637a65 100644
--- a/src/sliceitoff/assets/images.lst
+++ b/src/sliceitoff/assets/images.lst
@@ -1,2 +1 @@
player_00 assets player 00.png
-ball assets ball 00.png
diff --git a/src/sliceitoff/enemies/enemies.py b/src/sliceitoff/enemies/enemies.py
index 3f206c7..7bf5efa 100644
--- a/src/sliceitoff/enemies/enemies.py
+++ b/src/sliceitoff/enemies/enemies.py
@@ -2,7 +2,7 @@ import pygame
from random import randrange
from display import Scaling
-from images import Images
+from images import Fonts
from stats import Stats
class EnemySprite(pygame.sprite.Sprite):
@@ -42,7 +42,9 @@ class EnemySprite(pygame.sprite.Sprite):
class EnemyBall(EnemySprite):
def __init__(self):
super().__init__()
- self.image = Images.surfaces['ball']
+ letter = Fonts.fonts['8x8'].get(2).subsurface((0,0,8,8))
+ colored = letter.fill( "black", special_flags = pygame.BLEND_RGBA_MULT)
+ self.image = pygame.transform.scale_by(letter, 1_000 * Scaling.factor)
self.update()