diff --git a/.gitignore b/.gitignore index dcee4cf..4617ab1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,9 @@ vitrix/__pycache__/ vitrix/lib/__pycache__/ vitrix/lib/weapons/__pycache__/ vitrix/lib/items/__pycache__/ +vitrix/lib/UI/__pycache__/ +vitrix/lib/entities/__pycache__/ vitrix/test.py -*/*/*/__pycache__/ venvs-config/ data.txt build/ diff --git a/vitrix/lib/UI/__pycache__/inventory.cpython-39.pyc b/vitrix/lib/UI/__pycache__/inventory.cpython-39.pyc deleted file mode 100644 index 2c746f1..0000000 Binary files a/vitrix/lib/UI/__pycache__/inventory.cpython-39.pyc and /dev/null differ diff --git a/vitrix/lib/UI/inventory.py b/vitrix/lib/UI/inventory.py index 88cb24f..4716243 100644 --- a/vitrix/lib/UI/inventory.py +++ b/vitrix/lib/UI/inventory.py @@ -3,7 +3,7 @@ -# inventory hotbar/ +# inventory hotbar def inventory(): hotbar = Entity( model='quad', diff --git a/vitrix/lib/UI/notification.py b/vitrix/lib/UI/notification.py index e9ebe59..28d2885 100644 --- a/vitrix/lib/UI/notification.py +++ b/vitrix/lib/UI/notification.py @@ -19,6 +19,3 @@ def notify(title: str, msg: str,): B1.pack(pady=10) popup.protocol("WM_DELETE_WINDOW", on_closing) popup.mainloop() - -if __name__ == '__main__': - notify("hello", "this is a test.") \ No newline at end of file diff --git a/vitrix/lib/entities/__pycache__/bullet.cpython-39.pyc b/vitrix/lib/entities/__pycache__/bullet.cpython-39.pyc deleted file mode 100644 index 901c546..0000000 Binary files a/vitrix/lib/entities/__pycache__/bullet.cpython-39.pyc and /dev/null differ diff --git a/vitrix/lib/entities/__pycache__/crate.cpython-39.pyc b/vitrix/lib/entities/__pycache__/crate.cpython-39.pyc deleted file mode 100644 index 0bafd48..0000000 Binary files a/vitrix/lib/entities/__pycache__/crate.cpython-39.pyc and /dev/null differ diff --git a/vitrix/lib/entities/__pycache__/enemy.cpython-39.pyc b/vitrix/lib/entities/__pycache__/enemy.cpython-39.pyc deleted file mode 100644 index 4c23b2d..0000000 Binary files a/vitrix/lib/entities/__pycache__/enemy.cpython-39.pyc and /dev/null differ diff --git a/vitrix/lib/entities/__pycache__/floor.cpython-39.pyc b/vitrix/lib/entities/__pycache__/floor.cpython-39.pyc deleted file mode 100644 index d25dc97..0000000 Binary files a/vitrix/lib/entities/__pycache__/floor.cpython-39.pyc and /dev/null differ diff --git a/vitrix/lib/entities/__pycache__/map.cpython-39.pyc b/vitrix/lib/entities/__pycache__/map.cpython-39.pyc deleted file mode 100644 index 2b67efb..0000000 Binary files a/vitrix/lib/entities/__pycache__/map.cpython-39.pyc and /dev/null differ diff --git a/vitrix/lib/entities/__pycache__/player.cpython-39.pyc b/vitrix/lib/entities/__pycache__/player.cpython-39.pyc deleted file mode 100644 index d54d323..0000000 Binary files a/vitrix/lib/entities/__pycache__/player.cpython-39.pyc and /dev/null differ diff --git a/vitrix/lib/entities/player.py b/vitrix/lib/entities/player.py index c57235e..0b6b0b9 100644 --- a/vitrix/lib/entities/player.py +++ b/vitrix/lib/entities/player.py @@ -29,7 +29,7 @@ def __init__(self, position: ursina.Vec3): self.thirdperson = False - self.cursor.color = ursina.color.rgb(255, 0, 0, 255) + self.cursor.color = ursina.color.rgb(255, 0, 0) self.pew = ursina.Audio("pew", autoplay=False) self.pew.volume = 0.2