Parchin
@Parchin
0
Film_alpha02This is animation with voice made in pygame. It uses Pyttsx3, Pygame, winsound, time. Language is Polish!
Zapraszam więc do oglądania i komentowania.
I wish you'll like it!
11
0
0
Full part 01 of my animation in Pygame. Beware (it use: "Pygame" "winsound" "pyttsx3" "time") If you have any problems with those libs, repl won't run
Pygame
I want to group some objects in Pygame, to move them as one.
(Chcę "zgrupować" kilka obiektów w Pygame, aby poruszać nimi jak jednym)
Or to make so be
lsikora Cześć! Czy ludzie w Polsce kodują? Kiedy pojechałem do Polski, nie widziałem, żeby ktokolwiek programował. Jestem w US btw2 years ago
TheBest156 To create a group you would do something like this:
`gems = pygame.sprite.Group()
Then to add a sprite:`
gems.add(gem)
Regarding the attributes for the group you'd like to edit it depends what they are. For example you could define something like this to indicate the direction of the group:
gems.direction = 'up'2 years ago
This is trird GameIdle. 4 is the highest rank. Fixed leveluping, tresures, and rankuping.
Write in comments what else I can do! ;)
Python
Official:
Sad thing is: Ive done it in Pycharm. It doesn't work on repl.it. If you have any other IDE, you can run it in it.
If you have any ideas, ho
Python
This is idle game, so at beggining this will be so hard... But do not fall back!
Earn points,
find tresures,
and rank up!
Write in comments, what els
Python
OscarSowerbutts Add some kind of intro to explain what to do
I am really confused what the point is2 years ago
When you click LCTR you can save your color, but it doesn't work.
I don't know why it doesn't work.
If you need to know full program write in comments
Python
DEMONul1234 Trochę niepotrzebnie zapisujesz cały program w jednej funkcji. Zazwyczaj (aby program łatwo można było edytować) tworzy się klasy, a główne pętle zostawia się w spokoju.2 years ago
catspython ok, please include the full program, a bunch of code is missing at the top, and I think that the indention error is because the code at the top is needed for this part to work, so including everything is needed.2 years ago
robowolf Everything is indented to many times. Do CTRL + A and then SHIFT + TAB until the elif statement is at the edge. Also you have and elif statement without an if statement.2 years ago
Input time like
1.5
2.0
0.5
it's better to don't take smaller than 0.3,
but if you really want...
Python
from tkinter import *
okno = Tk()
def pisz():
while True:
print("pisz")
pant = Checkbutton(text = "Test", command = pisz())
okno.mainloo
DEMONul1234 def pisz():
print("pisz")
Button(text = "Test", command = pisz).pack()
okno.mainloop()
Jeśli wyskoczy błąd usuń ".pack()"2 years ago
DEMONul1234 Witaj!
Nie wiem, czy chodzi ci o to , ale:
from tkinter import *
def pisz():
Nie wiem po co jest pętla while, która do śmierci będzie mówiła "pisz"
print("pisz")
pant = Button(text = "Test",command = pisz) # Tutaj nie dajemy nawiasu!
okno.mainloop()2 years ago
you still move WSAD, but:
n - blue, c - red, r - pink, p - purple, y - yellow, f - white, b - black, z - green, g - dark blue.
h - home
using 1--9 you
Python
Use WASD to move and paint.
WASD - move
H - home
try some numbers to change color!
you can't go out of paper.
If you have any ideas what should I giv
Python
Sorry. I made one repl (doesn't working one) and this one. It was working, but now not. I don't know what is wrong. Turtle window aren't opened. Could
Python (with Turtle)
sorry for last one. now it's working. Have a nice day!
Python (with Turtle)