Sky Finder: Developer Diary | Why Enemy Aircraft Died Together and a Frozen Level Complete (April 23, 2026)

Views: 7

Thursday, April 23, 2026


Sky Finder app icon
Get Sky Finder on Google Play

One shot, three dead enemies

At 11:38 p.m. on April 23 I came back to a bug I had documented before.

There will be 2 or more enemy aircraft on the screen. I will shoot one aircraft and the other one or two will automatically also explode and die.

I asked Claude to write console logs for how many enemy aircraft were generated and on the screen, and a console log strategy to find out why some of them died in a sequence. After the first run I told it there were a lot of bugs in the console log, but the last shot to kill the enemy had killed an extra one.

I then pasted the part of the bullet code that goes through the enemies, because I had found a few places that looked wrong, and for the second bug I asked it to find the error even if some lines had moved up or down by a few. By just before midnight I asked whether all of it was working and whether it had noticed any enemy dead bugs. Then I opened a new chat named for that question.

A problem with the animation frame

After midnight I noticed something else. I asked what was going on with the animation frame, since the game only has one html page. When I paused the game, the problem happened. Then I changed my mind: I think it was happening on the level complete splash screen.

I pasted the pause key code, the game loop, and the part that checks the win condition and sets the game state to win. I also pasted a bit of code to add to the key handler for the win state, so that space would go to the next level. I think that win state is the same place the end of level dead end fix came from in October, but I only have the code to go on.

Game Rules Log: April 23, 2026

  • Console logging added to find why one dead enemy kills the others
  • Bullet code for the enemies checked in several places
  • Pause and level complete screens checked for a frame problem
  • Win state key handling added so space goes to the next level

Read what happens next in the dev diary: the next entry.

Next Post
Tuesday, April 28, 2026; approx. 4:00 p.m. to 2:00 a.m.…