python-turtle Questions
3
I have encountered an issue with the turtle graphics code. Despite trying various methods to hide the turtle, such as using bob.hideturtle() at different points in the code, the arrow remains visib...
Erasion asked 18/9, 2024 at 10:17
6
I have tried to make functions for turtle to make it extremely easy to draw shapes. The code looks like this:
import turtle as t
def square():
tw = t.Screen()
for i in range(4):
t.forward(100)
...
Wartburg asked 6/8, 2017 at 17:2
6
Solved
I made a small tkinter game that uses turtle for graphics. It's a simulation of the Triangle Peg Game from Cracker Barrel that is able to tell the player the next best move to make at any point in ...
Browse asked 15/5, 2017 at 5:52
1
Solved
I'm new to Python and trying out Turtle through Tutorials. This question turned out to be verbose, my bad.
I have designed 2 Games handled by 2 Functions (in a separate module) which are called fro...
Substitute asked 21/5, 2024 at 23:10
1
Is there a way to export a python turtle drawing to a video?
The video should contain the real-time drawing process.
In particular I'm not interested in a screen-recording workaround, but a solutio...
Seigel asked 13/8, 2021 at 10:12
3
I have an assignment which is asked to set two turtles in a race track (same size but separate track). I am able to make them move, but the second one moves only when the first one moved a half of ...
Firstfoot asked 14/10, 2016 at 19:9
2
I hide all turtles that are supposed to be hidden. I am wondering why there is always a little arrow in the middle of the screen (see screen shot below code).
import time
from turtle import Screen
...
Damper asked 23/9, 2023 at 21:48
2
Solved
I tried to make a pong game on the turtle extension on Python and everything went smoothly.
I wanted to restart the game when a player reached an certain amount of points.
The game restarts proper...
Aforetime asked 19/4, 2020 at 19:15
3
I'm trying to make a connect-the-dot python game. I want the game to register 2 button presses. Example: if the user presses Up and Right arrow key, the turtle goes 45 degrees north east.
here is ...
Ahumada asked 19/12, 2017 at 3:27
7
Solved
Is there a way to use two turtles at the same time to draw two circles at the same time in one window? I tried this code but two turtles draw in separated windows
from multiprocessing import Proce...
Hersey asked 21/10, 2013 at 15:19
1
Solved
I'm trying to do a Pong game using turtle to practice a little OOP. My objective here is to make the paddles and set their places.
There's two different files:
the main>
from turtle import Scree...
Gripe asked 18/9, 2023 at 2:54
1
Main.py:
from turtle import Screen
from Paddle import Paddle
#creating screen
screen = Screen()
screen.screensize(1000, 600)
screen.bgcolor('black')
screen.title('Pong')
screen.tracer(0)
#paddle ...
Eudosia asked 23/8, 2023 at 23:36
1
Solved
I made this program, when trying to make a chase game, but I stumbled along something really strange. I created a clone of the turtle, but at the middle of the map a third one appeared.
Does anybod...
Edwinedwina asked 24/2, 2023 at 17:17
2
I'm making a chat program, but I have run across a problem: the screen only updates after input. I'm using turtle to show the chat (I know, turtle isn't really that good for this purpose, but it's ...
Charlean asked 13/5, 2014 at 0:20
1
I am trying to make a simple galaga type game where the ship moves back and forth along the bottom of the screen and shoots automatically. It runs as expected at first but slows down drastically pr...
Kwok asked 6/8, 2022 at 17:26
1
I'm using Turtle, trying to learn the basics of GameDev.
As I'm following the video, I got an error that the tutor didn't get.
My code is basically the same, the only diference is that I'm using mo...
Macronucleus asked 13/10, 2021 at 20:3
1
Solved
I am using Python 3.9 with tkinter and tcl version 8.6, so according to an answer here on stackoverflow from the year 2010, I should be able to draw rotated texts. And actually I am able to draw ro...
Holton asked 24/6, 2022 at 22:14
4
I think my code is nothing wrong. Because it's very simple, it worked very well on my Windows PC, and shows no error message at all.
from turtle import Turtle, Screen
turtle = Turtle()
screen = Sc...
Ramin asked 12/11, 2021 at 7:32
3
Solved
So, i'm trying to learn python and every time i post a question here it feels like giving in...
I'm trying to make my own class of turtle.Turtle.
import turtle
class TurtleGTX(turtle.Turtle):
...
Munitions asked 25/2, 2012 at 4:48
2
I am trying to get the coordinates of a mouse click in the turtle screen, but my code isn't working. I guess this is related to time but I tried to add a 5 seconds delay but it didn't help.
Here i...
Reunionist asked 18/3, 2017 at 19:2
2
When i am using turtle module to draw a circle with this simple function:
def draw_shape(self):
canvas = Screen()
t = Turtle()
t.circle(self.r)
canvas.exitonclick()
For the first time ...
Bayonet asked 17/10, 2017 at 18:27
5
Solved
I am using python turtle for a project where I need turtle to draw characters. However, when I try to use the RGB value for a color, I keep getting an error message. The input is:
turtle.color((151...
Citizenship asked 27/5, 2013 at 17:58
3
Solved
I am learning turtle graphics in python and for some reason there is a second turtle on the screen and I haven't even created a second turtle. How can I get rid of the second turtle?
import turtle...
Feeding asked 8/6, 2020 at 13:41
4
I am looking at the Python document for turtle graphics, it has an example on drawing the turtle star. the program is as follow:
from turtle import *
color('red', 'yellow')
begin_fill()
while True...
Occlusion asked 23/1, 2018 at 5:49
1
Solved
When I try to import the python 3 graphical library, turtle, on my m1 MacBook, I get an error message:
david@Davids-MacBook-Air Python Coding Files % /opt/homebrew/bin/python3 "/Users/david/D...
Goldiegoldilocks asked 21/8, 2021 at 2:19
1 Next >
© 2022 - 2025 — McMap. All rights reserved.