Hello, I’m interested in a bit of help on UI programming. You see, most of my UI code is very messy and hard to read. It’s a stark contrast to my other code which tends to be neat. My UI code usually ends up like this because of cleaning up disconnections, among other things.
However I recently played Acceleration Flight Simulator and found their UI to be incredibly advanced. After asking someone, their UI only took 1 day and then I knew I had to be doing something wrong with my UI code.
Does anyone know of something I might be doing wrong? Or perhaps a better methodology towards UI programming then creating function after function for mousing over, clicking, etc. It gets exponentially harder as each menu opens new buttons that need to be connected and disconnected as needed.