# Einstellungen SCREEN_WIDTH = 1280 SCREEN_HEIGHT = 720 FPS = 60 DEBUG = True Mute = True START_POINT = "world" # world, menu BACKGROUND_IMG = "../assets/backgrounds/background_III.png" # Schriftarten class fonts: PressStart2P = '../assets/fonts/PressStart2P-Regular.ttf' class player: size = (110, 200) speed = 12 if DEBUG else 5 gravity = 0.8 jump_strength = -20 class fred: normal = "../assets/images/player/fred.png" olli = "../assets/images/player/fred_olli.png" left = "../assets/images/player/fred_back.png" class world: class ground: img = "../assets/world/ground_II.png" crop_top = 500 crop_height = 300 scale_height = 80 scale_width = 300 crop_scale_right = 1400 class obstacle: box = "../assets/obstacles/box.png" # Farben class MyColors: # Allgemein yellow = (240, 190, 60) brown = (122, 60, 19) darkviolet = (40, 20, 60) skyblue = (135, 206, 235) darkblue = (15, 20, 40) # Verwendung background = darkblue # Musik VOLUME = 0.5 if not Mute else 0 # APP SETTINGS MAX_LENGHT = 15