Timeline for How can i make a sprite appear middle of your cursor? Pygame
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2021 at 20:39 | comment | added | Zgn |
i don't know what do you mean by "Write the vector math out" but i did it like this screen.blit(hitmarker, pygame.mouse.get_pos() - hitmarker.get_size() / 2) and it still says the same thing
|
|
May 23, 2021 at 20:04 | comment | added | user35344 | Write the vector math out, like I said the code in the question is pseudo-code. | |
May 23, 2021 at 19:51 | comment | added | Zgn | I get this error, what do i do? TypeError: unsupported operand type(s) for /: 'tuple' and 'int' | |
May 23, 2021 at 19:45 | history | answered | user35344 | CC BY-SA 4.0 |