Closed hemanthsavasere closed 7 years ago
@hemanthsavasere I was playing the game and noticed the same issue, but funnily enough I cannot find any file called thunder.svg in the obstacles folder, or in the layers folder. Do you have any ideas on how to fix this?
@niccokunzmann So after a lot of debugging effort :P this is what i found, while all other obstacles have multiple shapes(g tags) under the initial layer, thunder only has the layer and no other g tags defined under it. So no obstacles get pushed to the obstacle list and hence there is no obstacle box to check whether or not collision occurs. To fix this, I thing the thunder layer svg bit has to be changed, creating obstacles under the layer The thunder labelled shape Other obstacles like Gotham_obstacles(having more g tags under the layer g tag)
okay.
I am closing it.
collision not happening in island background, to end the game and get the score.