Pages

Monday, May 18, 2015

Integrated Shatter (Direct2D) into Fragile (Direct3D)!

Shatter (Direct2D) is now integrated into Fragile (Direct3D)! For now, this means that text can be drawn on top of all of the blocks. This also means that in the future, a GUI (Graphical User Interface) can easily be drawn on top of everything as well.

Also, I added a screenshot taking feature with the Print Screen key that saves to a file name based on the date, time, and in-game time. Two things that are nice about it are:
  1. it doesn't capture the window frame,
  2. but it does capture the entire D2D and D3D frame.
I used it to take the screenshot shown below. Twenty second step complete:

Next step: add Durable (client/server networking) code to Fragile.

No comments:

Post a Comment