Self-hatred

[XNA] Flyatron 1.0!!

You can grab the source here, and if you are so interested in trying the game then shoot me an email or leave a comment here!

Changelog:

General:

  • New game icon!
  • Added new font size.

Game.cs:

  • Collected nukes now accumulate for later use (right-mouse click).
  • Tidied UpdatePlay(); some code was shuffled off to their correct
    methods.
  • Tidied collision detection.
  • Changed the soundtrack instance to a more appropriate name.

Player.cs:

  • Tidied and clarified movement code.
  • Slightly increased movement speed.

Scores.cs:

  • Quashed literally game-crashing bug in the generation of a blank/dummy
    score list.
  • Renamed Increment() to Update() to more accurately reflect the in-use
    convention.
  • Scores still do not collate corretly. I have identified the source for
    the behaviour, but a correction will have to wait.

Mines.cs:

  • Fixed insta-death collision bug.
  • Added a new state for being shot.
  • Added mine health.
  • Mines are slightly knocked back when shot.
  • When shot, mine health deceases inverse to velocity.
  • Mine changes colour to generally indicate remaining health.
  • Added debug information on the mine’s state.

Missiles.cs:

  • Renamed to Bullets.cs. Changed all mentions of “missile” to “bullet” as
    they had been equally mixed.

Music.cs:

  • Music files are now loaded and swapped internally. Drastically reduces
    front-end code.

Categorised as: programming, school


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>