Sky Finder: Developer Diary | Making the Shield Work and Scraping Walls With a Beam (August 27, 2025)

Views: 8

Wednesday, August 27, 2025


Sky Finder app icon
Get Sky Finder on Google Play

Shield collisions

At 9:25 a.m. I got back home, came into the garage with the coffee and resumed work on the Star Finder game. There were still issues with the shield. I wanted a bullet or an enemy aircraft not to collide with the outer shield but still collide with the core player aircraft, which would cost the shield one hit point. At that point, if a bullet hit the shield it killed the bullet. I also wanted wall collisions to kill the player, not damage the shield, which was what they did.

By 11:40 a.m. I made the collision detection work with the shield. The shield has two circumferences. The wider one, 45 pixels around the player, damages an enemy aircraft that bumps into it and pushes it away, and puts the shield on a two second cooldown. The inner one, 25 pixels, is where bullets are blocked. At one point I asked Claude for two alternative options for what happens when an enemy bullet hits the shield, so I could test both.

The 5 star beam

Later I coded the 5 star super power so that the beam, which came out 200 pixels in front of the player aircraft, would only punch through the walls it touched. Before that, using it destroyed every wall in front of you. This took some fiddling, and Claude made it difficult by creating an interactive artifact when I wanted inline code with instructions on where to paste it. It also went into my project knowledge once and borrowed old code requests to rewrite.

When I found a solution, I changed a few lines so the blue beam destroyed the entire length of a wall it hit. At 11:15 p.m. I wanted it to destroy only the part of the wall that it touched, and what happened next was really cool. I could fly up a wall with the beam touching it, and it would scrape the wall, with blue sparks as the wall smoldered, like rock crushed in an earthquake. By 11:35 p.m. I had that fix.

A phantom bullet

By 1:10 a.m. I had maxed out on Claude, but I made a lot of changes to the code. I fixed a bug where shooting an enemy directly in front of a bullet destroyed the enemy behind it too. Claude found the bullet was not being destroyed quickly enough, so a phantom bullet hit whatever was in the line of fire. I also added a pop up that shows the level name during the three second immunity period before the game starts, so I know which level I am up to.

Game Rules Log: August 27, 2025

  • Shield with two circles: a 45 pixel bump and damage circle and a 25 pixel bullet blocking circle
  • Wall collisions kill the player instead of damaging the shield
  • 5 star beam only breaks the part of a wall it touches, with blue sparks
  • Phantom bullet bug fixed so one shot kills only one enemy
  • Level name pop up during the three second immunity period

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

Next Post
Thursday, August 28, 2025 Get Sky Finder on Google Play…