#dealing with stack frames

8 messages · Page 1 of 1 (latest)

silent root
#

im making a bullet hell game and sometimes the game would crash randomly with no errors, while the stack trace says invalid get index 'type' (on base: 'Timer').
i have no idea how to solve this.

neat light
#

try if collid is player or maybe if collid == player

silent root
silent root
#

ive realised the game doesnt crash randomly, it always crashes exactly at elapsed time 41 sec

silent root
#

i found out that if i remove the ".rotated(self.rotation)" in line 12, it doesnt crash anymore

#

but i have no idea why

neat light
#

Are you sure that bullet is removing? Maybe the screen_exited function is a deal.

silent root
#

if i comment the screen exited, the error happen even faster