This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyglet | |
from pyglet.gl import * | |
# Set up the window | |
window = pyglet.window.Window(800, 600) | |
# Define the level's dimensions | |
level_width = 4000 | |
level_height = 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Welcome to the Gyatt Viewer!") | |
level_input = input("Please enter the GD level you want to see: ") | |
if level_input.isdigit(): | |
level = int(level_input) | |
if level >= 1 and level <= 10: | |
print("Displaying Gyatt for GD level", level) | |
print(""" | |
_____ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def handle_game_crash(func): | |
""" | |
Decorator function to handle and gracefully handle game crashes. | |
This decorator function wraps a game-related function and catches any | |
exceptions that may occur during its execution. It then logs the error | |
and provides a friendly message to the user, preventing the game from | |
crashing. | |
Args: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import string | |
def generate_fake_gd_mod_id(): | |
""" | |
Generates a fake GD Mod ID that looks like a real one. | |
Returns: | |
str: The generated fake GD Mod ID. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import shutil | |
from PIL import Image | |
def create_texture_pack(pack_name, image_folder, output_folder): | |
""" | |
Create a Geometry Dash texture pack. | |
Parameters: | |
pack_name (str): The name of the texture pack. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyautogui | |
import time | |
print("Welcome to the Osu! Macro Creator!") | |
print("This script will help you create a custom macro for your Osu! gameplay.") | |
# Get user input for the key to be pressed | |
key_to_press = input("What key do you want to press? (e.g., 'z', 'x', 'space'): ") | |
# Get user input for the delay between key presses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def youtube_verified_badge(): | |
badge = [ | |
" ___ ", | |
" / ✓ \\ ", | |
"| _ |", | |
" \\_|_/ " | |
] | |
print("YouTube Verified Badge:") | |
for line in badge: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import json | |
import random | |
class RobloxDevHelper: | |
def __init__(self): | |
self.part_colors = { | |
"Red": (1, 0, 0), | |
"Green": (0, 1, 0), | |
"Blue": (0, 0, 1), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import psutil | |
import ctypes | |
import time | |
def find_osu_process(): | |
for proc in psutil.process_iter(['name']): | |
if proc.info['name'] == 'osu!.exe': | |
return proc | |
return None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyautogui | |
import keyboard | |
import time | |
import json | |
from datetime import datetime | |
# Store recorded events | |
macro = [] | |
# Record the current time for calculating time differences |
NewerOlder