game tag

43 questions


1 answers
72 views
0
I have a Python question. pygame.error: Couldn't set hardware audio parameters: Success

The original code that worked well suddenly appeared with pygame.error: Couldn't set hardware audio parameters: Success. Can you tell me why?

1 years ago

1 answers
62 views
0
SyntaxError: invalid syntax // basball game is being made, but I don't know if there is a problem with the main function.

def main(): print(Play Baseball)random_number = str(get_not_duplicated_three_digit_number())print(Random Number is : , random_number)user_input = '999'while(get_strikes_or_ball(user_input, random_numb...


1 answers
80 views
0
Resize pygame image

What is the code for resizing images in pygame? I've been adjusting the size and saving the image until now, but it's very cumbersome, so I'm uploading it.

1 years ago

1 answers
59 views
0
How to distinguish right-click from left-click in Pygame?

It's exactly what the title is.Is there a way to distinguish left-click or right-click in Pygame?if event.type == MOUSEBUTTONDOWN:If you use MOUSEBUTTONDOWN or MOUSEBUTTONUP like this,Turning the mous...

1 years ago

1 answers
66 views
0
I want to make the text disappear from pygame pie game

I'm making a pie game.If you get points while playing the game, you move on to the next game, and there's still a text about the score.I'm asking you a question because I can only see the text floatin...

2 years ago

2 answers
43 views
0
We're going to play rock-paper-scissors and cham-cham-cham

The problem is not that you play rock-paper-scissors first, but if you play Cham Cham Cham and look in the same direction, you win. I called the first round function as below, but when I chose somethi...

2 years ago

1 answers
77 views
0
pygame background image doesn't pop up

I'm a Python beginner. I'm making a game for club presentation using pygame, but the background image doesn't come up and only the black screen appears. I don't know where to start.Part of the problem...

2 years ago

1 answers
86 views
0
pygame error: NameError: name 'Block' is not defined

I made it by referring to https://m.blog.naver.com/cheonwb/222156028857 but there is an error. Traceback (most recent call last): File /Users/user/Desktop/BrickBreak.py, line 9, in <module> clas...

2 years ago


1 answers
53 views
0
I'm worried about my career as a developer

Hi, everyone. This time, I am studying new programming while thinking about my career in web and games. It's only been 3 weeks since I studied Java and C++, but I have a lot of worries Even if you fol...

2 years ago
« - 4 - »

© 2024 OneMinuteCode. All rights reserved.