mirror of
https://github.com/csd4ni3l/aim-trainer.git
synced 2026-01-01 12:13:42 +01:00
Initial version
This commit is contained in:
38
utils/constants.py
Normal file
38
utils/constants.py
Normal file
@@ -0,0 +1,38 @@
|
||||
min_enemy_y = 9
|
||||
max_enemy_y = 16
|
||||
min_enemy_movement = 7
|
||||
max_enemy_movement = 10
|
||||
min_enemy_speed = 0.08
|
||||
max_enemy_speed = 0.12
|
||||
enemy_health = 100
|
||||
|
||||
weapons = {
|
||||
"assault_rifle": {"dmg": 20, "atk_speed": 0.2, "image": "assets/graphics/assaultrifle.png"},
|
||||
"smg": {"dmg": 10, "atk_speed": 0.1, "image": "assets/graphics/smg.png"},
|
||||
"pistol": {"dmg": 100 / 3, "atk_speed": 1 / 3, "image": "assets/graphics/pistol.png"},
|
||||
"revolver": {"dmg": 50, "atk_speed": 1 / 2, "image": "assets/graphics/revolver.png"},
|
||||
"sniper": {"dmg": 100, "atk_speed": 1, "image": "assets/graphics/sniper.png"},
|
||||
}
|
||||
|
||||
discord_presence_id = 1380237183352311838
|
||||
|
||||
settings = {
|
||||
"Graphics": {
|
||||
"Window Mode": {"type": "option", "options": ["Windowed", "Fullscreen", "Borderless"], "config_key": "window_mode", "default": "Windowed"},
|
||||
"Resolution": {"type": "option", "options": ["1366x768", "1440x900", "1600x900", "1920x1080", "2560x1440", "3840x2160"], "config_key": "resolution"},
|
||||
"Anti-Aliasing": {"type": "option", "options": ["None", "2x MSAA", "4x MSAA", "8x MSAA", "16x MSAA"], "config_key": "anti_aliasing", "default": "4x MSAA"},
|
||||
"VSync": {"type": "bool", "config_key": "vsync", "default": True},
|
||||
},
|
||||
"Sound": {
|
||||
"Music": {"type": "bool", "config_key": "music", "default": True},
|
||||
"SFX": {"type": "bool", "config_key": "sfx", "default": True},
|
||||
"Music Volume": {"type": "slider", "min": 0, "max": 100, "config_key": "music_volume", "default": 50},
|
||||
"SFX Volume": {"type": "slider", "min": 0, "max": 100, "config_key": "sfx_volume", "default": 50},
|
||||
},
|
||||
"Miscellaneous": {
|
||||
"Discord RPC": {"type": "bool", "config_key": "discord_rpc", "default": True},
|
||||
},
|
||||
"Credits": {}
|
||||
}
|
||||
|
||||
settings_start_category = "Graphics"
|
||||
Reference in New Issue
Block a user