From ed2f1355ff7e029ea72494f2b6c819af586b6e61 Mon Sep 17 00:00:00 2001 From: whyisthesheep <77189741+whyisthesheep@users.noreply.github.com> Date: Sat, 22 Oct 2022 23:27:26 +0100 Subject: [PATCH] Added new gameplay options Added: - minecraft-2 - multiversus - fall-guys - steep as options for background gameplay also CONSTANTS.py didn't seem to exist in the develop branch --- utils/CONSTANTS.py | 69 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 utils/CONSTANTS.py diff --git a/utils/CONSTANTS.py b/utils/CONSTANTS.py new file mode 100644 index 0000000..1575b91 --- /dev/null +++ b/utils/CONSTANTS.py @@ -0,0 +1,69 @@ +# Supported Background. Can add/remove background video here.... +# - : key -> used as keyword for TOML file. value -> background configuration +# Format (value): +# 1. Youtube URI +# 2. filename +# 3. Citation (owner of the video) +# 4. Position of image clips in the background. See moviepy reference for more information. (https://zulko.github.io/moviepy/ref/VideoClip/VideoClip.html#moviepy.video.VideoClip.VideoClip.set_position) +background_options = { + "motor-gta": ( # Motor-GTA Racing + "https://www.youtube.com/watch?v=vw5L4xCPy9Q", + "bike-parkour-gta.mp4", + "Achy Gaming", + lambda t: ("center", 480 + t), + ), + "rocket-league": ( # Rocket League + "https://www.youtube.com/watch?v=2X9QGY__0II", + "rocket_league.mp4", + "Orbital Gameplay", + lambda t: ("center", 200 + t), + ), + "minecraft": ( # Minecraft parkour + "https://www.youtube.com/watch?v=n_Dv4JMiwK8", + "parkour.mp4", + "bbswitzer", + "center", + ), + "gta": ( # GTA Stunt Race + "https://www.youtube.com/watch?v=qGa9kWREOnE", + "gta-stunt-race.mp4", + "Achy Gaming", + lambda t: ("center", 480 + t), + ), + "csgo-surf": ( # CSGO Surf + "https://www.youtube.com/watch?v=E-8JlyO59Io", + "csgo-surf.mp4", + "Aki", + "center", + ), + "cluster-truck": ( # Cluster Truck Gameplay + "https://www.youtube.com/watch?v=uVKxtdMgJVU", + "cluster_truck.mp4", + "No Copyright Gameplay", + lambda t: ("center", 480 + t), + ), + "minecraft-2": ( # Alternate minercraft parkour (hypixel) + "https://www.youtube.com/watch?v=Pt5_GSKIWQM", + "minecraft-2.mp4", + "Itslpsn", + "center", + ), + "multiversus": ( # Multiversus gameplay + "https://www.youtube.com/watch?v=LeDRf_L2lOY", + "multiversus.mp4", + "MKIceAndFire", + "center", + ), + "fall-guys": ( # Fall guys gameplay + "https://www.youtube.com/watch?v=No6RxV0fzPs", + "fall-guys.mp4", + "Throneful", + "center", + ), + "steep": ( # Steep gameplay + "https://www.youtube.com/watch?v=EnGiQrWBrko", + "steep.mp4", + "joel", + "center", + ), +}