wip
0
creeper_adventure/assets/bee/idle/1.png
Executable file → Normal file
|
Before Width: | Height: | Size: 630 B After Width: | Height: | Size: 630 B |
0
creeper_adventure/assets/creeper/idle/1.png
Executable file → Normal file
|
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 769 B |
0
creeper_adventure/assets/creeper/idle/2.png
Executable file → Normal file
|
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 769 B |
0
creeper_adventure/assets/creeper/idle/3.png
Executable file → Normal file
|
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 769 B |
0
creeper_adventure/assets/creeper/idle/4.png
Executable file → Normal file
|
Before Width: | Height: | Size: 769 B After Width: | Height: | Size: 769 B |
0
creeper_adventure/assets/creeper/idle/5.png
Executable file → Normal file
|
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 776 B |
0
creeper_adventure/assets/leaf.png
Executable file → Normal file
|
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 599 B |
0
creeper_adventure/assets/oak_trees/1.png
Executable file → Normal file
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
0
creeper_adventure/assets/oak_trees/2.png
Executable file → Normal file
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
0
creeper_adventure/assets/oak_trees/4.png
Executable file → Normal file
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
0
creeper_adventure/assets/oak_trees/5.png
Executable file → Normal file
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
0
creeper_adventure/assets/spotlight.png
Executable file → Normal file
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
7
creeper_adventure/creeper.py
Executable file → Normal file
|
|
@ -1,10 +1,12 @@
|
|||
import random
|
||||
from copy import copy
|
||||
from itertools import cycle, repeat
|
||||
from pathlib import Path
|
||||
import random
|
||||
from typing import List, Optional
|
||||
|
||||
import pygame
|
||||
from more_itertools import flatten
|
||||
from pydantic import BaseModel
|
||||
import pygame
|
||||
|
||||
from creeper_adventure.game import Game
|
||||
|
||||
|
|
@ -348,7 +350,6 @@ class MainMenu(Menu):
|
|||
h = 50
|
||||
x = self.game.screen.get_size()[0] / 2 - w / 2
|
||||
y = 300
|
||||
print(self.game.frames)
|
||||
return Button(self.game, self.surf, self.button_text, x, y, w, h, self.toggle)
|
||||
|
||||
def set_button_text(self):
|
||||
|
|
|
|||