From 841d0ec2cc2a39d2da3d5ecf4587fc38941027a5 Mon Sep 17 00:00:00 2001 From: Diego Ramirez Date: Wed, 14 Aug 2024 18:51:16 -0600 Subject: [PATCH] Prepare an initial version of level Five --- src/characters.py | 24 ++++++++++++++++++++++++ src/levels.py | 23 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/src/characters.py b/src/characters.py index bf0e222..e2c4041 100644 --- a/src/characters.py +++ b/src/characters.py @@ -417,6 +417,30 @@ class Slimehorn4(SlimehornBase): imgs = [(40, 56), (56, 56)] +# === The Scaler === + + +class Scaler: + """ + The Scaler, the game's final boss, is a + unique mob class with unique patterns. It is + intended to shoot bullets itself, jump, run around, + and have a better health bar than regular mobs. + """ + + def __init__(self, x, y): + self.x = x + self.y = y + + def update(self): + # TODO + pass + + def draw(self): + # TODO + pass + + # === Coins/bullets === diff --git a/src/levels.py b/src/levels.py index b83b8b1..b9fa192 100644 --- a/src/levels.py +++ b/src/levels.py @@ -361,3 +361,26 @@ class Four(BaseLevel): use_gradient = True gradient_color = 12 gradient_height = 129 + + +class Five(BaseLevel): + """ + Level Five: Bricklot Fortress + + The home fortress of the Scaler. Diddi and Eli + must face the monster before it fully begins with + his conquest plans. + + Mobs (): Robots (), Onions (). + """ + + draw_v = 512 + enemy_template = dict() + coin_template = [] + bgcolor = 0 # Using black just once + acceptable_clouds = [] # indeed, we don't want clouds here + finished_next = "final" + nextlevel = "final" + use_gradient = True + gradient_color = 13 + gradient_height = 30