... key == pygame.K_SPACE: 무기 발사는 스페이스 weapon_x_pos = character_x_pos + (character_width / 2) - (weapon_width / 2) weapon_y_pos = character_y_pos...
... key == pygame.K_SPACE: 별 발사 starX = x + fighterWidth/2 starY = y - fighterHeight starXY.append([starX, starY]) if event.type in [pygame.KEYUP]: if event.key...
태그: 파이썬코딩
... key == pygame.K_SPACE: SB = 1 screen.fill(black) font = pygame.font.Font("C:/Users/admin/AppData/Local/Microsoft/Windows/Fonts/NotoSansKR-Light.otf", 15) text...
태그:
... key == pygame.K_SPACE: arrow_y -= 10 screen.fill((WHITE)) screen.blit(target_img, target_rect) screen.blit(arrow_img, (arrow_x, arrow_y)) pygame.display.update...
태그: 파이썬, 파이썬코딩, 파이썬프로그래밍, 파이게임, pygame, python, 프로그래밍, 프로그래밍기초
... key == pygame.K_SPACE: speed_input = input("공의 속도를 입력하세요: ") try: speed = float(speed_input) ball = Ball(speed) all_sprites.add(ball) except ValueError: print...
태그:
우주를 뜻하는 Space 앞에 관사 the 붙여도 되나용?ㅜㅜ 질문 영어 단어 Space 앞에 관사 the 우주를 뜻하는 Space 앞에 관사 the 붙여도 되나용?ㅜㅜ...
... key == pygame.K_SPACE and not jumping and not game_over: jumping = True player_y_velocity = jump_power elif event.key == pygame.K_LEFT: player_x_velocity = - 5 elif event....
태그:
... key == pygame.K_SPACE: speed_input = input("공의 속도를 입력하세요: ") try: speed = float(speed_input) ball = Ball(speed) all_sprites.add(ball) except ValueError: print...
태그:
... key == pygame.K_SPACE: weapon_x_pos = character_x_pos + (character_width / 2) - (weapon_width / 2) weapon_y_pos = character_y_pos weapons.append([weapon_x...
... 무기는 한 번에 2발만 발사됨 elif event.key == pygame.K_SPACE: if len(bullet_xy) < 3: bullet_x = x + fighter_width/2 bullet_y = y - fighter_height bullet...