Initial Commit

This commit is contained in:
Cutieguwu
2025-02-26 14:40:25 -05:00
commit d9dc0e390c
129 changed files with 4106 additions and 0 deletions

15
.vscode2/launch.json Normal file
View File

@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File with Arguments",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/main.py",
"console": "integratedTerminal"
}
]
}

27
TESTING/Time.py Normal file
View File

@@ -0,0 +1,27 @@
import pygame
from icecream import ic
from time import sleep
CLOCK = pygame.time.Clock()
testOn = True
timeStart = pygame.time.get_ticks()
while testOn: # Pretend game loop.
if ic(pygame.time.get_ticks() - timeStart) >= 2000: # Once 2000 ms has elapsed.
ic("Time has elapsed.")
testOn = False
del testOn, timeStart
# ---------------------------------------------------------
sleep(2)
# ---------------------------------------------------------
timeStart = pygame.time.get_ticks()
while ic(pygame.time.get_ticks() - timeStart) < 2000:
pass
ic("Time has elapsed.")

21
TESTING/Xlib_utilization.py Executable file
View File

@@ -0,0 +1,21 @@
# Taken from Glyph, Eevee on https://stackoverflow.com/questions/1225057/how-can-i-determine-the-monitor-refresh-rate
# Deconstruction, Commenting and Renaming by Cutieguwu.
from Xlib import display
from Xlib.ext import randr
displayGlobal = display.Display() # Get every display thing. Maybe a WM object?
default_screen = displayGlobal.get_default_screen() # Find default display for some reason.
info = displayGlobal.screen(default_screen) # Use this as a point to get information about all screens.
displayConfigs = randr.get_screen_resources(info.root) # Get every screen's possible configurations.
ConfigsActive = set() # Create an empty set to add configurations to.
for config in displayConfigs.crtcs: # For every display configuration, determine if it's active and add its identifier to the configurations in use.
crtc_info = randr.get_crtc_info(info.root, config, displayConfigs.config_timestamp)
if crtc_info.mode:
ConfigsActive.add(crtc_info.mode)
for config in displayConfigs.modes:
if config.id in ConfigsActive: # For every active display mode, figure out its framerate.
print(config.dot_clock / (config.h_total * config.v_total))

View File

@@ -0,0 +1,31 @@
from sys import version
versionStr = ""
for c in version:
if c == " ":
break
else:
versionStr = versionStr + c
versionTuple = tuple(versionStr.split("."))
print(versionTuple)
# GCC CLEANUP
versionStr = ""
startFlag = False
for c in version:
if startFlag:
if c not in ["G", "C", "]"]:
versionStr = versionStr + c
elif c == "[":
startFlag = True
print(versionStr)
versionTuple = tuple(versionStr.split())
print(versionTuple)

View File

@@ -0,0 +1,15 @@
myList = ["A", "A", "A", "D"]
for i in myList:
if i == "A":
myList.append("A")
else:
myList[2] = "C"
print(myList)
for button in buttonList:
if button.name in ["Start", "Back"]:
button.remove()

View File

@@ -0,0 +1,39 @@
import pygame
from os import path
class Guy():
def __init__(self, mouseCoords):
self.coords = mouseCoords
self.image = pygame.image.load(path.dirname(__file__) + "/../data/image/ui/icons/settings_neutral.png")
def draw(self):
"""
Draws character.
"""
WINDOW.blit(self.image, (self.coords))
WINDOW = pygame.display.set_mode((720, 480))
CLOCK = pygame.time.Clock()
gameOn = True
guys = []
while gameOn:
CLOCK.tick(30)
WINDOW.fill((150, 150, 150))
for guy in guys:
guy.draw()
pygame.display.flip()
for event in pygame.event.get():
if event.type == pygame.QUIT:
gameOn = False
pygame.quit()
elif event.type == pygame.MOUSEBUTTONDOWN:
if 0 in pygame.mouse.get_pressed():
# Left button pressed
guys.append(Guy(pygame.mouse.get_pos()))

Binary file not shown.

37
config/features.json Normal file
View File

@@ -0,0 +1,37 @@
{
"fullscreen": {
"libs": {
"pygame": {
"ver_implemented": [2, 0, 0]
}
},
"is_active": false
},
"vsync": {
"libs": {
"pygame": {
"ver_implemented": [2, 0, 0]
}
},
"is_active": false
},
"matchcase": {
"libs": {
"python": {
"ver_implemented": [3, 10, 0]
}
},
"is_active": false
},
"resizeable": {
"libs": {
"pygame": {
"ver_implemented": [2, 0, 0]
}
},
"is_active": false
}
}

View File

@@ -0,0 +1,9 @@
{
"window": {
"framerate": 30,
"size": {
"width": 1440,
"height": 720
}
}
}

26
config/settings/user.json Normal file
View File

@@ -0,0 +1,26 @@
{
"window": {
"framerate": 165,
"size": {
"width": 2280,
"height": 1440
}
},
"controls": {
"keyboard": {
"move_left": "K_LEFT",
"move_right": "K_RIGHT",
"move_up": "K_UP",
"move_down": "K_DOWN"
},
"mouse": {
"is_inverted":
false
}
},
"active_features": [
"fullscreen"
]
}

58
data/credits.txt Normal file
View File

@@ -0,0 +1,58 @@
Coding:
- Olivia Brooks (Cutieguwu)
StackOverflow Thanks:
https://stackoverflow.com/questions/1225057/how-can-i-determine-the-monitor-refresh-rate
- Glyph (StackOverflow)
- Eevee (StackOverflow)
- Anurag Uniyal (StackOverflow)
https://stackoverflow.com/questions/46419607/how-to-automatically-install-required-packages-from-a-python-script-as-necessary
- Serge Stroobandt (StackOverflow)
Conceptualisation:
- Olivia Brooks
- Jayde Paquette
Artwork:
- Jayde Paquette (Lead)
- Olivia Brooks (Development Images)
- Mojang (Development Images)
Open Libraries:
Used in the Making
- Pygame
- IceCream
- Python built-ins and packaged libs
Sounds and Effects:
Soundbible.com
- WEL
- Jim Rogers
- Mark DiAngelo
- GoodSoundForYou
- Marcel
- Mike Koenig
- FreqMan
- thecheeseman
- Vladimir
Voiceover
- Jayde Paquette (Commencing Slaughter)
- Jenna Allen (Death Cough)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 931 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
data/image/game/icon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 796 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More