Skip to content

should pygame.mixer.Channel.set_source_location() work with negative angle values ? #139

Open
@Robomarchello

Description

@Robomarchello

A really specific issue, but when calling pygame.mixer.Channel.set_source_location() with negative angle value, pygbag seems to ignore negative sign, so it plays in the right instead of the left

import pygame

pygame.init()
pygame.mixer.init()

sound = pygame.mixer.Sound("zombie.ogg")

angle = -90
channel = sound.play()
channel.set_source_location(angle, 100)

Metadata

Metadata

Assignees

Labels

pygame prebuiltissue may come from pygame-wasmquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions