python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Pygame sprite rotation changes its collision
I'm making RPG game on pygame and one of the skills animation requires rotation on its center, the thing is when it collide with other sprites the collision area changes because of the rotation.
Here ...
Hawanity
Votes: 0
Answers: 0
Why is my collision function not working in pygame?
I am currently struggling to create a code which drops bombs and if it hits the player the game will end. Everything runs fine apart from the collisions, I have tried many different methods to try and...

LongPython
Votes: 0
Answers: 1
How would you implement collision detection of circles using only vanilla JavaScript and HTML canvas?
I am new to programming, so i might mess something up, but I would think you would make a class to draw circles and/or squares and just keep calling new instances of that class. But I can't figure out...
DJEveridge
Votes: 0
Answers: 1
Pygame special collision
I'm trying to code some breakout game with Pygame, but I thought i'd need to define some special kind of collisions between the ball and the block, but it doesn't really work :
class Block:
def _...

user16774307
Votes: 0
Answers: 0