Could you share the traceback / error that you are seeing?
On Sun, May 02, 2021 at 03:23:21PM -0400, Quentin Bock wrote:
Code:
#imports and variables for game
import pygame
from pygame import mixer
running = True
#initializes pygame
pygame.init()
#creates the pygame window
screen = pygame.dis
On Sunday, 2 May 2021 at 21:04:40 UTC+1, Michael Torrie wrote:
> On 5/2/21 1:23 PM, Quentin Bock wrote:
> > the error apparently comes from the first instructions variable saying
> > library not initialized not sure why, its worked before but not now :/
> I don't get that error on my Fedora 32 ma
code:
#imports and variable for loop
import pygame
running = True
#initializes pygame
pygame.init()
pygame.mixer.init()
pygame.font.init()
#creates the pygame window
screen = pygame.display.set_mode((1200, 800))
#Title and Icon of window
pygame.display.set_caption("3.02 Project")
icon = pygame.i
On 5/2/21 1:23 PM, Quentin Bock wrote:
> the error apparently comes from the first instructions variable saying
> library not initialized not sure why, its worked before but not now :/
I don't get that error on my Fedora 32 machine. The script ultimately
doesn't run because it can't find the icon
Code:
#imports and variables for game
import pygame
from pygame import mixer
running = True
#initializes pygame
pygame.init()
#creates the pygame window
screen = pygame.display.set_mode((1200, 800))
#Title and Icon of window
pygame.display.set_caption("3.02 Project")
icon = pygame.image.load('3.