General Game Structure: Part 2

BlitzMax Forums/BlitzMax Beginners Area/General Game Structure: Part 2

The speed seems OK for me.
You've duplicated some code in the QGI_TButton
draw() method but that shouldn't matter.
The other thing you need to do is store off mousex() and mousey() values to check against.
You might want to consider images which can be checked using a collision layer for all the buttons.