Skip to content

Commit

Permalink
Prepare an initial version of level Five
Browse files Browse the repository at this point in the history
  • Loading branch information
DiddiLeija committed Aug 15, 2024
1 parent ff8ff9b commit 841d0ec
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/characters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===


Expand Down
23 changes: 23 additions & 0 deletions src/levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 841d0ec

Please sign in to comment.