https://i.ibb.co/hx9TJ455/image-1768299931917.png
FUCK YOU MEAN THE CLASS ISNT DEFINED?!
(changing the class name does nothing)
edit:
I was just stupid
https://i.ibb.co/hx9TJ455/image-1768299931917.png
FUCK YOU MEAN THE CLASS ISNT DEFINED?!
(changing the class name does nothing)
edit:
I was just stupid
def init (self): with 2 underscores BOTH SIDES but vlr is fucked
self.screen = t.Screen()
you have to use self for every function inside a class as the first argument
im using that function to make turtle function how i want it to
renaming it does nothing and i dont think making that will do anything as i dont know what to put inside it
underscoreunderscoreINITunderscoreunderscore(self):
self.screen = t.Screen()
I mean from my somewhat limited experience this is how I would write it and we can't really see the full code which makes it a bit harder to diagnose but you could always just ask chatgpt if this doesn't work:
import turtle as t
class Game:
def __init__(self): #There are two underscores on each side of init
self.screen = t.Screen()
self.screen.tracer(0) I figured out the issue, The turtle function i was using doesnt allow to call other Non-Turtle functions