Skip to content

version 0.2a

Choose a tag to compare

@Rexant-b2k Rexant-b2k released this 20 Sep 02:58
· 14 commits to main since this release

Improved OOP approach:

  • game_session unit is a base data storage of game session. All actions make changes with elements inside it.
  • Global hierarchy of classes: Space_object, Weapon_shell(Space_object), Laser(Weapon_shell), Ship(Space_object), Player(Ship), Enemy(Ship). Reduced code.
  • Lasers and other weapon shells do not belong ship object anymore. Now, if you defeat an enemy, his laser will still go on (previously - disappeared).
  • laser movement is calculated in dedicated block in main
  • version is updated to 0.2a