Uploaded March 2023 | Updated September 2026, 2 weeks ago
I did a quick test with both ships firing and the asteroid collision and was met with scanline issues but for the most part it worked. There are a couple things that need tweaking but my mouse died in the middle of editing. I think I can save cycles by skipping the collision checks for the asteroids if there is no missile on the x-axis.
This test basically creates two new banks that kind of mirror the missile0 banks. At first I thought I wouldn't have enough space to contain both collision detections in the same bank but then I realized that I would not need to duplicate certain things, like the screen wrap code or the velocity changes. I think next I will play a little with this setup to see if I can get it down but I think I will most likely scrap this test and start a new test combining the 4 banks into 2 but overall this is great progress.
As a side note I think that some of the hits that don't appear to register movement are a result of me pushing and pulling to the stack frequently, and with the laser moving and being 8 pixels wide, if it happens to land on an asteroid on one frame and then continues into the next it may mess up the movement.
I did a quick test with both ships firing and the asteroid collision and was met with scanline issues but for the most part it worked. There are a couple things that need tweaking but my mouse died in the middle of editing. I think I can save cycles by skipping the collision checks for the asteroids if there is no missile on the x-axis.
This test basically creates two new banks that kind of mirror the missile0 banks. At first I thought I wouldn't have enough space to contain both collision detections in the same bank but then I realized that I would not need to duplicate certain things, like the screen wrap code or the velocity changes. I think next I will play a little with this setup to see if I can get it down but I think I will most likely scrap this test and start a new test combining the 4 banks into 2 but overall this is great progress.
As a side note I think that some of the hits that don't appear to register movement are a result of me pushing and pulling to the stack frequently, and with the laser moving and being 8 pixels wide, if it happens to land on an asteroid on one frame and then continues into the next it may mess up the movement.










