HOW TO MAKE AMONGUS CHARCTER USING PYTHON || TURTLE MODULE IN PYTHON
Автор: Nitesh Arts 🎨
Загружено: 2022-08-15
Просмотров: 591
Описание:
Python is a general-purpose programming language that can be used for a wide range of tasks, from web development to movie-making to being used as an extension language for scientific and mathematical applications.
—
You'll learn how to make a visually appealing and well-designed character using Python.
—
In this video, I'm going to show you how to create a character in the game Amongus using Python.
—
Python is a language that is used to create computer programs. In this tutorial, I'll show you how to make a character using Python.
__
------------PYTHON_CODE-----------
import turtle
Body_color = 'skyblue'
Body_Shadow = ''
Glass_color = '#9acedc'
glass_shadow = ''
s = turtle.getscreen()
t = turtle.Turtle()
def body():
#draws the body
t.pensize(20)
t.fillcolor(Body_color)
t.begin_fill()
t.right(90)
t.forward(50)
t.right(180)
t.circle(40,-180)
t.right(180)
t.forward(200)
#head curve
t.right(180)
t.circle(100, -180)
#left side
t.backward(20)
t.left(15)
t.circle(500, -20)
t.backward(20)
t.circle(40, -180)
t.left(7)
t.backward(50)
#hip
t.up()
t.left(90)
t.forward(10)
t.right(90)
t.down()
t.right(240)
t.circle(50, -70)
t.end_fill()
def glass():
t.up()
t.right(230)
t.forward(100)
t.left(90)
t.forward(20)
t.right(90)
t.down()
t.fillcolor(Glass_color)
t.begin_fill()
t.right(150)
t.circle(90, -55)
t.right(180)
t.forward(1)
t.right(180)
t.circle(10, -65)
t.right(180)
t.forward(110)
t.right(180)
t.circle(50, -190)
t.right(170)
t.forward(80)
t.right(180)
t.circle(45, -30)
t.end_fill()
def back_pack():
t.up()
t.right(60)
t.forward(100)
t.right(90)
t.forward(75)
t.fillcolor(Body_color)
t.begin_fill()
t.down()
t.forward(30)
t.right(255)
t.circle(300, -30)
t.right(260)
t.forward(30)
t.end_fill()
body()
glass()
back_pack()
t.screen.exitonclick()
#viral #pythonprogramming #python_code #amongus #amongusanimation
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: