Here is my game. The first level works great. When the second level starts. The blocks will not get destroyed. Like the collisions won’t restart, only the tilemap. What am I doing wrong?
Hi, hope this can help:
- These creating sprite from tiles block should be done again when new level, so I moved them into your “StartLevel” funciton.
- The logic for check next level should only once for each level, so moved into “on projectile overlap enemy” from “on game update”.
- And BTW, changed checking the enemy total count instead of the score, so diff level can have diff enemy count without change code again.
Thank you SO MUCH!