My goodness, today was stressful. Due to a misunderstanding about the nature of displaying score in our assembly project, I was forced to ditch the hardware window and quickly come up with a way to actually draw score to the screen.
Solution? It may cover a bit of the screen, but I managed to draw a score rectangle (that would continuously re-draw itself) along with drawing lines for each of the bits present in the 7 segment display.
Downside? You bet. Table-accessing values really sped up my implementation in score display, but now the implementation has to take that number and test it 7 times with seven bits, due to the multiple of lines with separate x1, y1, x2, y2 coordinates involved. It's become a bit wayward, but with prototypes shuffling over the horizon I'll stick with the mess.
And now...a completed game!
I also added a quick "quit" key that halts the simulator and stops sounds, so it vaguely functions as a quit and allows me to take screenshots of the action.
No comments:
Post a Comment