How to Make a Text Adventure Game with GUI in Java P5 - Handling player choice with switch
Channel:
Subscribers:
39,700
Published on ● Video Link: https://www.youtube.com/watch?v=LnDQTT3u0MQ
Playlist:
https://www.youtube.com/playlist?list=PL_QPQmz5C6WUMB0xEMZosWbyQo_Kil0Fb
Part 4: https://youtu.be/QTRaLkA-XBw
Part 6: https://youtu.be/AyB3LiF-XyA
In this video, we will start writing the story. Then we will add functions to 4 buttons and write the results for each button click.
Using:
JFrame
Container
JPanel
JLabel
JButton
JTextArea
ActionListener
ActionCommand
- setText
- setFocusPainted
#programming #gamedev #textadventure