From 498da4cc472e85f0c16020d281da7d8714e65960 Mon Sep 17 00:00:00 2001 From: Chateauvision <89737965+Chateauvisionn@users.noreply.github.com> Date: Mon, 2 May 2022 18:03:38 +0200 Subject: [PATCH 1/3] changed anticheat speeds list --- vitrix/lib/classes/anticheat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitrix/lib/classes/anticheat.py b/vitrix/lib/classes/anticheat.py index 093c7da..50512f4 100644 --- a/vitrix/lib/classes/anticheat.py +++ b/vitrix/lib/classes/anticheat.py @@ -15,7 +15,7 @@ def check_jump_height(jump_height: int, valid_jump_height: int): perform_quit() def check_speed(speed: int): - if speed not in [3, 5, 7]: + if speed not in [3, 7]: perform_quit() def check_health(health: int): From d50179abfe966b65f674686a2caa4a3219a36e65 Mon Sep 17 00:00:00 2001 From: Chateauvision <89737965+Chateauvisionn@users.noreply.github.com> Date: Mon, 2 May 2022 18:12:47 +0200 Subject: [PATCH 2/3] Game is in fullscreen by default --- vitrix/menu.py | 2 +- vitrix/multiplayer.py | 1 + vitrix/singleplayer.py | 5 ++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vitrix/menu.py b/vitrix/menu.py index 562cb0c..beb2f20 100644 --- a/vitrix/menu.py +++ b/vitrix/menu.py @@ -181,7 +181,7 @@ def animate_in_menu(menu=menu): default_width = 600 # would be migrated to settings.json default_height = 600 window.size = (default_width, default_height) - +window.fullscreen = True loading_screen.enabled = True try: diff --git a/vitrix/multiplayer.py b/vitrix/multiplayer.py index 3f28043..7f6d2b8 100644 --- a/vitrix/multiplayer.py +++ b/vitrix/multiplayer.py @@ -78,6 +78,7 @@ ursina.window.borderless = False ursina.window.title = "Vitrix - Multiplayer" ursina.window.exit_button.visible = False +window.fullscreen = True floor = Floor() diff --git a/vitrix/singleplayer.py b/vitrix/singleplayer.py index 90e8dfb..a8bd449 100644 --- a/vitrix/singleplayer.py +++ b/vitrix/singleplayer.py @@ -15,13 +15,12 @@ from lib.UI.inventory import * ursina.window.borderless = False -ursina.window.title = "Vitrix - Singleplayer" ursina.window.exit_button.visible = False paused = False - +ursina.window.title = "Vitrix - Singleplayer" ursina.Entity.default_shader = basic_lighting_shader - +window.fullscreen = True floor = Floor() map = Map() From 8a6e4a391d5b5865c7f58b080e13a2942f846b4d Mon Sep 17 00:00:00 2001 From: Chateauvision <89737965+Chateauvisionn@users.noreply.github.com> Date: Mon, 2 May 2022 18:13:26 +0200 Subject: [PATCH 3/3] fixed a bug --- vitrix/multiplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitrix/multiplayer.py b/vitrix/multiplayer.py index 7f6d2b8..bb57ac9 100644 --- a/vitrix/multiplayer.py +++ b/vitrix/multiplayer.py @@ -78,7 +78,7 @@ ursina.window.borderless = False ursina.window.title = "Vitrix - Multiplayer" ursina.window.exit_button.visible = False -window.fullscreen = True +ursina.window.fullscreen = True floor = Floor()