My Pygame Game Engine

Changed colors

Removed residue colors in colors.json and readjusted colors in engine to complementing blacks with a little blue in them which makes the engine look alot better

WillM 1993a8b3 c7b1cb15

Changed files
+7 -29
src
resources
main
assets
scripts
+2 -25
src/resources/main/assets/colors.json
··· 1 1 { 2 - "notification.border": "#495b66", 3 - "notification.fill": "#c5d4de", 4 - "notification.text": "#272a2e", 5 - 6 - "options.background": "#141517", 7 - "options.text": "#ebeff5", 8 - 9 - "main_menu.background": "#435560", 10 - "main_menu.marker": "#6e7c7c", 11 - "main_menu.text": "#c8c6a7", 12 - "main_menu.dark_text": "#92967d", 13 - "main_menu.bright_bg": "#576974", 14 - "main_menu.bright_bg_2": "#4d5f6a", 15 - 16 - "game.background": "#5f6169", 17 - 18 - "console.background": "#393a3d", 19 - "console.marker": "#f0f0f2", 20 - "console.text": "#f0f0f2", 21 - 22 - "enemy.health_bar": "#e28f83", 23 - "player.health_bar": "#8e9775", 24 - 25 - "switch.on": "#8e9775", 26 - "switch.off": "#e28f83" 2 + "engine.background": "#222831", 3 + "engine.background_alt": "#393e46" 27 4 }
src/scripts/screens/__pycache__/engine_main_screen.cpython-39.pyc

This is a binary file and will not be displayed.

+5 -4
src/scripts/screens/engine_main_screen.py
··· 9 9 self.right_panel = gui_rect(game) 10 10 self.right_panel.set_pos(percentage_constraint(0.78), pixel_constraint(25), 1) 11 11 self.right_panel.set_size(percentage_constraint(0.22), percentage_constraint(1), 1) 12 + self.right_panel.set_color(self.game.color_handler.get_rgb('engine.background'), 2) 12 13 13 14 self.left_panel = gui_rect(game) 14 15 self.left_panel.set_pos(percentage_constraint(0), pixel_constraint(25), 1) 15 16 self.left_panel.set_size(percentage_constraint(0.22), percentage_constraint(1), 1) 17 + self.left_panel.set_color(self.game.color_handler.get_rgb('engine.background'), 2) 16 18 17 19 self.top_panel = gui_rect(game) 18 20 self.top_panel.set_pos(pixel_constraint(0), pixel_constraint(0), 1) 19 21 self.top_panel.set_size(percentage_constraint(1), pixel_constraint(25), 1) 20 - self.top_panel.set_color((100, 100, 100), 2) 22 + self.top_panel.set_color(self.game.color_handler.get_rgb('engine.background_alt'), 2) 21 23 22 24 self.bottom_panel = gui_rect(game) 23 25 self.bottom_panel.set_pos(percentage_constraint(0.221), percentage_constraint(0.598), 1) 24 26 self.bottom_panel.set_size(percentage_constraint(0.56), percentage_constraint(0.4), 1) 25 - self.bottom_panel.set_color((100, 100, 100), 2) 27 + self.bottom_panel.set_color(self.game.color_handler.get_rgb('engine.background_alt'), 2) 26 28 27 29 self.screen_panel = gui_rect(game) 28 30 self.screen_panel.set_pos(percentage_constraint(0.221), pixel_constraint(26), 2) 29 31 self.screen_panel.set_size(aspect_constraint(1.7777), percentage_constraint(0.56), 2) 30 - self.screen_panel.set_color((200, 0, 0), 2) 32 + self.screen_panel.set_color((255, 0, 0), 2) 31 33 32 34 def update(self): 33 35 self.right_panel.update() ··· 37 39 self.screen_panel.update() 38 40 39 41 def render(self): 40 - self.game.renderer.screen.fill(self.game.color_handler.get_rgb('main_menu.background')) 41 42 self.right_panel.render() 42 43 self.left_panel.render() 43 44 self.top_panel.render()