Added optional end of game cut scene. Make sure to specify utf-8 encoding for python files to work with pyinstaller.

This commit is contained in:
Storm Dragon
2025-02-17 20:09:46 -05:00
parent 1cd636b8f4
commit f5ea9dd278
15 changed files with 40 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from libstormgames import *
from src.object import Object
import random
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import random
from libstormgames import *
from src.item_types import ItemProperties
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from libstormgames import *
from src.object import Object
from src.powerup import PowerUp
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import os
import time
import pygame
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from libstormgames import *
from src.object import Object
from src.powerup import PowerUp
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import random
from enum import Enum, auto
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import pygame
import random
from libstormgames import *
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from libstormgames import *
class Object:
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
import pygame
from libstormgames import *
from src.stat_tracker import StatTracker
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from libstormgames import *
from src.object import Object
from src.weapon import Weapon
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
class Projectile:
def __init__(self, projectile_type, start_x, direction):
self.type = projectile_type
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from libstormgames import *
from src.object import Object
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
class StatTracker:
def __init__(self):
# Base dictionary for tracking stats
+2
View File
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
class Weapon:
def __init__(self, name, damage, range, attackSound, hitSound, cooldown=500, attackDuration=200):
self.name = name