Skip to content

Releases: ExStefenGR/SpaceRocks

1.2

02 Feb 16:32
Compare
Choose a tag to compare

Overview

This update brings several refinements and bug fixes to SpaceRocks, a project originally developed during my University days. It was a pleasure to revisit and refine the code, and while many issues have been addressed, please note that not all known issues have been fixed. The project is open source on Github – contributions and feedback are very welcome!

Improvements and Changes

  • Enemy Respawn and Collision:

    • Improved enemy respawn logic by generating a new random vertical position for each enemy upon respawn. This adjustment has reduced instances where respawned enemies lost their collision detection after being damaged or colliding with the player.
  • OAM Management:

    • Introduced a helper function to clear unused OAM entries, ensuring that only the intended sprite objects are displayed and preventing ghost sprites from appearing on screen.
  • Collision Detection:

    • Refined collision routines for both player–enemy and bullet–enemy interactions. Although collision issues still occur on occasion, these changes have improved consistency in detecting and responding to impacts.
  • Explosion Animations:

    • Enhanced the enemy explosion sequence to better visualise when an enemy is destroyed before it respawns.
  • Code Refactoring:

    • Undertaken a series of code clean-ups and refactoring measures for better readability and maintainability. Many functions and macros have been updated to streamline the code.

Known Issues

  • Some collision detection inconsistencies still persist, particularly when the player collides with an enemy or when an enemy is damaged by a bullet.
  • A few minor glitches in enemy behaviour may still occur under certain circumstances.

Full Changelog: 1...1.2

Final version

15 Jun 23:55
517a3ca
Compare
Choose a tag to compare

This version could also be compatible with an actual writeable GBA cartridge.

Many thanks to Csaba and Isaac for the help they provided with this project.