2
« on: September 27, 2016, 02:56:39 pm »
I have 2 forms of enemies, one who just wanders back and forth, collision with the tile switches directions.
The other enemy stands idle and shoots a bullet every 3 seconds. I have a level set up with 1 of the wander enemies, and a few of the others.
So, First you see the wander enemy, then 2 of the shooters. Once you reach the third shooter the game crashes. Cant seem to find a resolution since I'm still pretty new and I keep bumping into unfinished forum post about dead enemies still accessing code. There is the shooter who has a "do after" block but wouldn't that end after a Kill Self command since I have tried destroying each enemy I encounter but still crashes once I reach the third? Even if I move the third enemy to the end of the level, no matter what, its always on the 3rd enemy.
Oh, the bullets also die once off-screen so I didnt think it was a performance issue. No lag, just crashing.
Can anyone help me there.
If I post code, what would I post, lots of behaviors happening here. Thanks in advance.