Read: Tables for Enemies in Tower Defense
Hello! I just bought a TD template. The template (which I do not want to mention) seems to be using tables for calculating enemy positions. This is good since then the towers, which are spawned when bought from the side menu, can target specific enemies to shoot and though they share the same radius actor, do not shoot at the same target. However, the problem is:
IT LAGS SO MUCH ON MOBILE
There are numerous tower defenses done already with Gamesalad, but I've spent the last week trying to figure out an alternative to this problem. I know this has been posted so much already but...
How do I make it so that the second tower (same actor as first) doesnt shoot when the enemy is inside the first tower's range? Are there alternatives to the table solutions? I'm really bummed about this.
iTunes Developer Profile: https://itunes.apple.com/us/developer/darius-immanuel-guerrero/id1090694564
Google Play Developer Profile: https://play.google.com/store/apps/dev?id=7456293756408686489