This site requires JavaScript, please enable it in your browser!
Greenfoot back
SAMAD101
SAMAD101 wrote ...

2014/11/18

make a menu

SAMAD101 SAMAD101

2014/11/18

#
can someone help me make a menu plz
danpost danpost

2014/11/18

#
Create an array of Actor objects for the buttons and check each one for a click to do whatever is to occur. Many of my more recent scenarios have open source and uses buttons to open and display different textfiles. The TextFileViewer class even has instructions for creating the buttons and getting them to work. I did not actually create a specific Actor subclass for the buttons; but, you can if you wish -- it will work the same.
You need to login to post a reply.