#dealing with stack frames
8 messages · Page 1 of 1 (latest)
try if collid is player or maybe if collid == player
crashes immediately when the bullet hit the player
ive realised the game doesnt crash randomly, it always crashes exactly at elapsed time 41 sec
i found out that if i remove the ".rotated(self.rotation)" in line 12, it doesnt crash anymore
but i have no idea why
Are you sure that bullet is removing? Maybe the screen_exited function is a deal.
if i comment the screen exited, the error happen even faster