Currently, implementing rather trivial GUIs for my games takes me absurd amounts of time compared to the rest of the app (estimation ~30% of dev time, it would be even worse if I had to make a GUI heavy game). While 30% of time may seem reasonable, it’s a lot of very menial work that doesn’t require brain power (manually trying to find right (x, y) for a display object for instance).
My current workflow is this when designing a screen (such as level selection):
- Draw GUI in vector graphics program
- Manually code display objects using exported images
- Ad-hoc program most GUI controls logic
- Connect GUI with game logic
Step 2 and 4 leaves most room for improvement here. What would basically benefit me greatly is if I could create and lay out Corona display objects visually, and then generate code (together with custom event handlers). Is there such a tool available somewhere? Otherwise I’m considering writing it myself.
I know step 3 is problematic and know what to do about it ;), I’m just lazy. Will need to compile a library of controls from all GUI code I wrote. [import]uid: 58849 topic_id: 17300 reply_id: 317300[/import]
Actually your method sounds superior if GUI doesn’t need to match a reference image (with varying padding between elements).