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
zekken_is_a_baller [#2]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
zekken_is_a_baller [#2]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
tried it,
still results in the same error
Foxym [#3]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
it works for me dawg idk what youre doing
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) Foxym [#4]tried it,
still results in the same error
underscoreunderscoreINITunderscoreunderscore(self):
self.screen = t.Screen()
I figured out the issue, The turtle function i was using doesnt allow to call other Non-Turtle functions
Foxym [#9]I figured out the issue, The turtle function i was using doesnt allow to call other Non-Turtle functions
you were using the init method wrong anyways