XCoins
⚔ BETTING LEAGUE ⚔


ChatLog

First Previous 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 Next Last

time user name message
Dec 19, 2022 17:16:26

pythonista24x7

For file name type \"circle_demo.py\" it will autoformat it to python
Dec 19, 2022 17:16:10

fiveshot97

you should install git
Dec 19, 2022 17:15:53

pythonista24x7

Yup
Dec 19, 2022 17:15:22

pythonista24x7

Or goto gist.github.com
Dec 19, 2022 17:15:04

pythonista24x7

Click New
Dec 19, 2022 17:14:45

pythonista24x7

Goto github.com
Dec 19, 2022 17:14:26

pythonista24x7

Put it on a gist
Dec 19, 2022 17:13:36

pythonista24x7

git commit -m \"my change\"
Dec 19, 2022 17:13:28

pythonista24x7

git add .
Dec 19, 2022 17:13:23

007bionicalman

I see it
Dec 19, 2022 17:13:20

pythonista24x7

git checkout -b circle_demo
Dec 19, 2022 17:11:38

007bionicalman

So much help please put on my github
Dec 19, 2022 17:11:21

pythonista24x7

From documentation: Update the full display Surface to the screen
Dec 19, 2022 17:10:28

007bionicalman

I understood it like the how our eye lenses is flip images
Dec 19, 2022 17:07:59

pythonista24x7

print(f\"{x}, {y}\")
Dec 19, 2022 17:07:30

pythonista24x7

You need to have it start with f
Dec 19, 2022 17:06:49

007bionicalman

Ok
Dec 19, 2022 17:05:40

pythonista24x7

screen is just an object to draw something on, running is a boolean used to keep track of infinite for loop.
Dec 19, 2022 17:03:57

007bionicalman

Please elaborate on line 6-8
Dec 19, 2022 17:02:05

pythonista24x7

Magic! :)
Dec 19, 2022 17:01:47

007bionicalman

Why does that work
Dec 19, 2022 17:01:05

pythonista24x7

Just change y
Dec 19, 2022 17:01:03

pythonista24x7

Thats easy
Dec 19, 2022 17:01:02

007bionicalman

Whathow
Dec 19, 2022 17:00:42

pythonista24x7

https://pastebin.com/x2FQ1J7z
Dec 19, 2022 17:00:09

xcomreborn

https://pastebin.com/
Dec 19, 2022 16:59:45

pythonista24x7

https://gist.github.com/sidharthshah/590142561696f1e404762379394d851f
Dec 19, 2022 16:59:16

pythonista24x7

Twitch won't allow me to share links
Dec 19, 2022 16:58:53

007bionicalman

Ty so much
Dec 19, 2022 16:58:26

pythonista24x7

``` import pygame pygame.init() screen = pygame.display.set_mode([500, 500]) running = True x = 250 y = 250 while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False if event.type == pygame.KEYDOWN: if event.key == pygame.K_LEFT: x -=10 if event.key == pygame.K_RIGHT: x +=10 screen.fill((255, 255, 255)) pygame.draw.circle(screen, (0, 0, 255), (x, y), 75) ```

First Previous 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 Next Last