lbehr19 / hello-world

My code portfolio
0 stars 0 forks source link

Add 'console' to deliver messages to player #14

Closed lbehr19 closed 5 years ago

lbehr19 commented 5 years ago

Currently in progress!!

Add a FlowPane to the side of the screen where messages will be displayed for the user; i.e. 'You attack the Glitch!' 'Your attack missed!' 'You have been hit by a Glitch!' etc. This area will be managed by a separate class (Console) as a sort of wrapper, with convenience functions for adding/clearing messages. Could also be a good area to display score/timer/user health, etc. without covering up the game itself.

It's possible that using a FlowPane might actually cause issues with spacing/text wrapping. Will have to experiment; however, shouldn't have huge problems with having long message logs, as the FlowPane is already built into a ScrollPane, allowing for vertical growth.

lbehr19 commented 5 years ago

Completed and merged to the master branch