my code:
import pygame, sys
from pygame.locals import QUIT
pygame.init()
WIDTH, HEIGHT = 400, 300
screen = pygame.display.set_mode((WIDTH, HEIGHT))
def main():
my code:
import pygame, sys
from pygame.locals import QUIT
pygame.init()
WIDTH, HEIGHT = 400, 300
screen = pygame.display.set_mode((WIDTH, HEIGHT))
def main():
my real full code:
import pygame, sys
from pygame.locals import QUIT
pygame.init()
WIDTH, HEIGHT = 400, 300
screen = pygame.dislay.set_mode((WIDTH, HEIGHT))
background = pygame.image.load(#my image)
def draw():
screen.blit(background, (0, 0,))
pygame.display.update()
def main():
while True:
for event in pygame.event.get():
if event.type == QUIT:
pygame.quit()
sys.exit()
pygame.display.update()
draw()
if __name__ == "__main__":
main()
Hi @FinnifyYT !
You can try entering this into the Shell:
mv path/to/old-folder/ path/to/new-folder/
Hope this helps!
@FinnifyYT just click the 3 dots next to Files
and click Upload File
and you can select your image from there. Hope this helps!