-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
65 lines (59 loc) · 1.96 KB
/
settings.py
File metadata and controls
65 lines (59 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import pygame
pygame.init()
# screen
screen_width = 1280
screen_height = 720
# button variables
cx = screen_width // 2
cy = screen_height // 2
thirds = screen_height // 3
button_width = 200
button_height = 60
cbutton_width = button_width // 2
cbutton_height = button_height // 2
bar_w = 50
bar_h = 5
#text
title = "adaptive ememy player analysis"
describe = "creating model human profiles to for machine learning enemies"
transparent = (0,0,0,180)
background = "black"
text_color = "white"
input_color = "yellow"
text_passive = "grey"
font_big = pygame.font.SysFont("consolas", 32)
font_small = pygame.font.SysFont("consolas", 12)
# player
player_projectile_color = "cyan"
warning_radius = 180
player_radius = 20
player_speed = 300
player_health = 100
player_damage = 10
player_next = 5
player_xpRate = 1.5
player_regen = 5
player_projectile_radius = 16
fire_rate = 0.8
min_cooldown = 50
max_cooldown = 1000
profile_name = "default_profile"
# enemy
enemy_projectile_color = "magenta"
enemies_count_rate = 1.2
margin = 50
spawn_decay_rate = 0.85
min_spawn_delay = 0.2
current_spawn_delay = 3
wall_penalty_margin = 80
detection_radius = 300
# game variables
color_health_bar = "green"
color_health_bg = "red"
fps = 60
projectile_speeds = 500
record = 0
volume = 50
color_options = ["red", "orange", "yellow", "green", "blue", "indigo", "violet"]
adapt_from_stage = 3
trace = False